Resource: Job
Defines a job to be run by the Cloud Dataflow service.
JSON representation | |
---|---|
{ "id": string, "projectId": string, "name": string, "type": enum( |
Fields | |
---|---|
id |
The unique ID of this job. This field is set by the Cloud Dataflow service when the Job is created, and is immutable for the life of the job. |
projectId |
The ID of the Cloud Platform project that the job belongs to. |
name |
The user-specified Cloud Dataflow job name. Only one Job with a given name may exist in a project at any given time. If a caller attempts to create a Job with the same name as an already-existing Job, the attempt returns the existing Job. The name must match the regular expression |
type |
The type of Cloud Dataflow job. |
environment |
The environment for the job. |
steps[] |
The top-level steps that constitute the entire job. |
currentState |
The current state of the job. Jobs are created in the A job in the This field may be mutated by the Cloud Dataflow service; callers cannot mutate it. |
currentStateTime |
The timestamp associated with the current state. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: |
requestedState |
The job's requested state.
|
executionInfo |
Deprecated. |
createTime |
The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: |
replaceJobId |
If this job is an update of an existing job, this field is the job ID of the job it replaced. When sending a |
transformNameMapping |
The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job. An object containing a list of |
clientRequestId |
The client's unique identifier of the job, re-used across retried attempts. If this field is set, the service will ensure its uniqueness. The request to create a job will fail if the service has knowledge of a previously submitted job with the same client's ID and job name. The caller may use this field to ensure idempotence of job creation across retried attempts to create a job. By default, the field is empty and, in that case, the service ignores it. |
replacedByJobId |
If another job is an update of this job (and thus, this job is in |
tempFiles[] |
A set of files the system should be aware of that are used for temporary storage. These temporary files will be removed on job completion. No duplicates are allowed. No file patterns are supported. The supported files are: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object} |
labels |
User-defined labels for this job. The labels map can contain no more than 64 entries. Entries of the labels map are UTF8 strings that comply with the following restrictions:
An object containing a list of |
location |
The regional endpoint that contains this job. |
pipelineDescription |
Preliminary field: The format of this data may change at any time. A description of the user pipeline and stages through which it is executed. Created by Cloud Dataflow service. Only retrieved with JOB_VIEW_DESCRIPTION or JOB_VIEW_ALL. |
stageStates[] |
This field may be mutated by the Cloud Dataflow service; callers cannot mutate it. |
jobMetadata |
This field is populated by the Dataflow service to support filtering jobs by the metadata values provided here. Populated for jobs.list and all jobs.get views SUMMARY and higher. |
startTime |
The timestamp when the job was started (transitioned to JOB_STATE_PENDING). Flexible resource scheduling jobs are started with some delay after job creation, so startTime is unset before start and is updated when the job is started by the Cloud Dataflow service. For other jobs, startTime always equals to createTime and is immutable and set by the Cloud Dataflow service. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: |
Methods |
|
---|---|
|
Creates a Cloud Dataflow job. |
|
Gets the state of the specified Cloud Dataflow job. |
|
Request the job status. |
|
List the jobs of a project. |
|
Updates the state of an existing Cloud Dataflow job. |