GetJobResult constructor

const GetJobResult({
  1. required AllocationPolicyResponse allocationPolicy,
  2. required String createTime,
  3. required Map<String, String> labels,
  4. required LogsPolicyResponse logsPolicy,
  5. required String name,
  6. required List<JobNotificationResponse> notifications,
  7. required String priority,
  8. required JobStatusResponse status,
  9. required List<TaskGroupResponse> taskGroups,
  10. required String uid,
  11. required String updateTime,
})

Creates a new GetJobResult. allocationPolicy Compute resource allocation for all TaskGroups in the Job. createTime When the Job was created. labels Labels for the Job. Labels could be user provided or system generated. For example, "labels": { "department": "finance", "environment": "test" } You can assign up to 64 labels. Google Compute Engine label restrictions apply. Label names that start with "goog-" or "google-" are reserved. logsPolicy Log preservation policy for the Job. name Job name. For example: "projects/123456/locations/us-central1/jobs/job01". notifications Notification configurations. priority Priority of the Job. The valid value range is [0, 100). Default value is 0. Higher value indicates higher priority. A job with higher priority value is more likely to run earlier if all other requirements are satisfied. status Job status. It is read only for users. taskGroups TaskGroups in the Job. Only one TaskGroup is supported now. uid A system generated unique ID (in UUID4 format) for the Job. updateTime The last time the Job was updated.

Implementation

const GetJobResult({
  required this.allocationPolicy,
  required this.createTime,
  required this.labels,
  required this.logsPolicy,
  required this.name,
  required this.notifications,
  required this.priority,
  required this.status,
  required this.taskGroups,
  required this.uid,
  required this.updateTime,
});