Resource: CustomJob
Represents a job that runs custom workloads such as a Docker container or a Python package. A CustomJob can have multiple worker pools and each worker pool can have its own machine and input spec. A CustomJob will be cleaned up once the job enters terminal state (failed or succeeded).
JSON representation |
---|
{ "name": string, "displayName": string, "jobSpec": { object ( |
Fields | |
---|---|
name |
Output only. Resource name of a CustomJob. |
displayName |
Required. The display name of the CustomJob. The name can be up to 128 characters long and can consist of any UTF-8 characters. |
jobSpec |
Required. Job spec. |
state |
Output only. The detailed state of the job. |
createTime |
Output only. time when the CustomJob was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
startTime |
Output only. time when the CustomJob for the first time entered the A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
endTime |
Output only. time when the CustomJob entered any of the following states: A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. time when the CustomJob was most recently updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
error |
Output only. Only populated when job's state is |
labels |
The labels with user-defined metadata to organize CustomJobs. label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. |
encryptionSpec |
Customer-managed encryption key options for a CustomJob. If this is set, then all resources created by the CustomJob will be encrypted with the provided encryption key. |
webAccessUris |
Output only. URIs for accessing interactive shells (one URI for each training node). Only available if The keys are names of each node in the training job; for example, The values are the URIs for each node's interactive shell. |
Methods |
|
---|---|
|
Cancels a CustomJob. |
|
Creates a CustomJob. |
|
Deletes a CustomJob. |
|
Gets a CustomJob. |
|
Lists CustomJobs in a Location. |