GetJobResult class

Result data returned by getJob.

Constructors

GetJobResult({required AllocationPolicyResponse allocationPolicy, required String createTime, required Map<String, String> labels, required LogsPolicyResponse logsPolicy, required String name, required List<JobNotificationResponse> notifications, required String priority, required JobStatusResponse status, required List<TaskGroupResponse> taskGroups, required String uid, 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.
const
GetJobResult.fromMap(Map<String, dynamic> map)
factory

Properties

allocationPolicy → AllocationPolicyResponse
Compute resource allocation for all TaskGroups in the Job.
final
createTime → String
When the Job was created.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Map<String, String>
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.
final
logsPolicy → LogsPolicyResponse
Log preservation policy for the Job.
final
name → String
Job name. For example: "projects/123456/locations/us-central1/jobs/job01".
final
notifications → List<JobNotificationResponse>
Notification configurations.
final
priority → String
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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → JobStatusResponse
Job status. It is read only for users.
final
taskGroups → List<TaskGroupResponse>
TaskGroups in the Job. Only one TaskGroup is supported now.
final
uid → String
A system generated unique ID (in UUID4 format) for the Job.
final
updateTime → String
The last time the Job was updated.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited