GetJobResult

data class GetJobResult(val allocationPolicy: AllocationPolicyResponse, val createTime: String, val labels: Map<String, String>, val logsPolicy: LogsPolicyResponse, val name: String, val notifications: List<JobNotificationResponse>, val priority: String, val status: JobStatusResponse, val taskGroups: List<TaskGroupResponse>, val uid: String, val updateTime: String)

Constructors

Link copied to clipboard
fun GetJobResult(allocationPolicy: AllocationPolicyResponse, createTime: String, labels: Map<String, String>, logsPolicy: LogsPolicyResponse, name: String, notifications: List<JobNotificationResponse>, priority: String, status: JobStatusResponse, taskGroups: List<TaskGroupResponse>, uid: String, updateTime: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Compute resource allocation for all TaskGroups in the Job.

Link copied to clipboard

When the Job was created.

Link copied to clipboard

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.

Link copied to clipboard

Log preservation policy for the Job.

Link copied to clipboard

Job name. For example: "projects/123456/locations/us-central1/jobs/job01".

Link copied to clipboard

Notification configurations.

Link copied to clipboard

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.

Link copied to clipboard

Job status. It is read only for users.

Link copied to clipboard

TaskGroups in the Job. Only one TaskGroup is supported now.

Link copied to clipboard
val uid: String

A system generated unique ID (in UUID4 format) for the Job.

Link copied to clipboard

The last time the Job was updated.