blob: 5123edec45a6d859ec123583dcb9e8955a126e27 [file] [log] [blame]
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070075<h1><a href="dataflow_v1b3.html">Dataflow API</a> . <a href="dataflow_v1b3.projects.html">projects</a> . <a href="dataflow_v1b3.projects.jobs.html">jobs</a></h1>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000076<h2>Instance Methods</h2>
77<p class="toc_element">
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -070078 <code><a href="dataflow_v1b3.projects.jobs.debug.html">debug()</a></code>
79</p>
80<p class="firstline">Returns the debug Resource.</p>
81
82<p class="toc_element">
Nathaniel Manista4f877e52015-06-15 16:44:50 +000083 <code><a href="dataflow_v1b3.projects.jobs.messages.html">messages()</a></code>
84</p>
85<p class="firstline">Returns the messages Resource.</p>
86
87<p class="toc_element">
88 <code><a href="dataflow_v1b3.projects.jobs.workItems.html">workItems()</a></code>
89</p>
90<p class="firstline">Returns the workItems Resource.</p>
91
92<p class="toc_element">
Yoshi Automation Botc2228be2020-11-24 15:48:03 -080093 <code><a href="#aggregated">aggregated(projectId, pageToken=None, location=None, pageSize=None, view=None, filter=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070094<p class="firstline">List the jobs of a project across all regions.</p>
95<p class="toc_element">
96 <code><a href="#aggregated_next">aggregated_next(previous_request, previous_response)</a></code></p>
97<p class="firstline">Retrieves the next page of results.</p>
98<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070099 <code><a href="#close">close()</a></code></p>
100<p class="firstline">Close httplib2 connections.</p>
101<p class="toc_element">
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800102 <code><a href="#create">create(projectId, body=None, location=None, replaceJobId=None, view=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700103<p class="firstline">Creates a Cloud Dataflow job. To create a job, we recommend using `projects.locations.jobs.create` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.create` is not recommended, as your job will always start in `us-central1`.</p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000104<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700105 <code><a href="#get">get(projectId, jobId, location=None, view=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700106<p class="firstline">Gets the state of the specified Cloud Dataflow job. To get the state of a job, we recommend using `projects.locations.jobs.get` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.get` is not recommended, as you can only get the state of jobs that are running in `us-central1`.</p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000107<p class="toc_element">
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800108 <code><a href="#getMetrics">getMetrics(projectId, jobId, startTime=None, location=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700109<p class="firstline">Request the job status. To request the status of a job, we recommend using `projects.locations.jobs.getMetrics` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.getMetrics` is not recommended, as you can only request the status of jobs that are running in `us-central1`.</p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000110<p class="toc_element">
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800111 <code><a href="#list">list(projectId, location=None, pageSize=None, filter=None, view=None, pageToken=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700112<p class="firstline">List the jobs of a project. To list the jobs of a project in a region, we recommend using `projects.locations.jobs.list` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). To list the all jobs across all regions, use `projects.jobs.aggregated`. Using `projects.jobs.list` is not recommended, as you can only get the list of jobs that are running in `us-central1`.</p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000113<p class="toc_element">
114 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
115<p class="firstline">Retrieves the next page of results.</p>
116<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700117 <code><a href="#snapshot">snapshot(projectId, jobId, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700118<p class="firstline">Snapshot the state of a streaming job.</p>
119<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700120 <code><a href="#update">update(projectId, jobId, body=None, location=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700121<p class="firstline">Updates the state of an existing Cloud Dataflow job. To update the state of an existing job, we recommend using `projects.locations.jobs.update` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.update` is not recommended, as you can only update the state of jobs that are running in `us-central1`.</p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000122<h3>Method Details</h3>
123<div class="method">
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800124 <code class="details" id="aggregated">aggregated(projectId, pageToken=None, location=None, pageSize=None, view=None, filter=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700125 <pre>List the jobs of a project across all regions.
126
127Args:
128 projectId: string, The project which owns the jobs. (required)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800129 pageToken: string, Set this to the &#x27;next_page_token&#x27; field of a previous response to request additional results in a long list.
130 location: string, The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700131 pageSize: integer, If there are many jobs, limit response to at most this many. The actual number of jobs returned will be the lesser of max_responses and an unspecified server-defined limit.
Bu Sun Kim65020912020-05-20 12:08:20 -0700132 view: string, Level of information requested in response. Default is `JOB_VIEW_SUMMARY`.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700133 Allowed values
134 JOB_VIEW_UNKNOWN - The job view to return isn&#x27;t specified, or is unknown. Responses will contain at least the `JOB_VIEW_SUMMARY` information, and may contain additional information.
135 JOB_VIEW_SUMMARY - Request summary information only: Project ID, Job ID, job name, job type, job status, start/end time, and Cloud SDK version details.
136 JOB_VIEW_ALL - Request all information available for this job.
137 JOB_VIEW_DESCRIPTION - Request summary info and limited job description data for steps, labels and environment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700138 filter: string, The kind of filter to use.
139 Allowed values
140 UNKNOWN - The filter isn&#x27;t specified, or is unknown. This returns all jobs ordered on descending `JobUuid`.
141 ALL - Returns all running jobs first ordered on creation timestamp, then returns all terminated jobs ordered on the termination timestamp.
142 TERMINATED - Filters the jobs that have a terminated state, ordered on the termination timestamp. Example terminated states: `JOB_STATE_STOPPED`, `JOB_STATE_UPDATED`, `JOB_STATE_DRAINED`, etc.
143 ACTIVE - Filters the jobs that are running ordered on the creation timestamp.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700144 x__xgafv: string, V1 error format.
145 Allowed values
146 1 - v1 error format
147 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700148
149Returns:
150 An object of the form:
151
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700152 { # Response to a request to list Cloud Dataflow jobs in a project. This might be a partial response, depending on the page size in the ListJobsRequest. However, if the project does not have any jobs, an instance of ListJobsResponse is not returned and the requests&#x27;s response body is empty {}.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700153 &quot;nextPageToken&quot;: &quot;A String&quot;, # Set if there may be more results than fit in this response.
154 &quot;failedLocation&quot;: [ # Zero or more messages describing the [regional endpoints] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that failed to respond.
155 { # Indicates which [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) failed to respond to a request for data.
156 &quot;name&quot;: &quot;A String&quot;, # The name of the [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that failed to respond.
157 },
158 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700159 &quot;jobs&quot;: [ # A subset of the requested job information.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700160 { # Defines a job to be run by the Cloud Dataflow service.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800161 &quot;startTime&quot;: &quot;A String&quot;, # 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 start_time is unset before start and is updated when the job is started by the Cloud Dataflow service. For other jobs, start_time always equals to create_time and is immutable and set by the Cloud Dataflow service.
162 &quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
163 &quot;clientRequestId&quot;: &quot;A String&quot;, # The client&#x27;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&#x27;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.
164 &quot;jobMetadata&quot;: { # Metadata available primarily for filtering jobs. Will be included in the ListJob response and Job SUMMARY view. # This field is populated by the Dataflow service to support filtering jobs by the metadata values provided here. Populated for ListJobs and all GetJob views SUMMARY and higher.
165 &quot;datastoreDetails&quot;: [ # Identification of a Datastore source used in the Dataflow job.
166 { # Metadata for a Datastore connector used by the job.
167 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
168 &quot;namespace&quot;: &quot;A String&quot;, # Namespace used in the connection.
169 },
170 ],
171 &quot;bigqueryDetails&quot;: [ # Identification of a BigQuery source used in the Dataflow job.
172 { # Metadata for a BigQuery connector used by the job.
173 &quot;projectId&quot;: &quot;A String&quot;, # Project accessed in the connection.
174 &quot;table&quot;: &quot;A String&quot;, # Table accessed in the connection.
175 &quot;dataset&quot;: &quot;A String&quot;, # Dataset accessed in the connection.
176 &quot;query&quot;: &quot;A String&quot;, # Query used to access data in the connection.
177 },
178 ],
179 &quot;sdkVersion&quot;: { # The version of the SDK used to run the job. # The SDK version used to run the job.
180 &quot;version&quot;: &quot;A String&quot;, # The version of the SDK used to run the job.
181 &quot;versionDisplayName&quot;: &quot;A String&quot;, # A readable string describing the version of the SDK.
182 &quot;sdkSupportStatus&quot;: &quot;A String&quot;, # The support status for this SDK version.
183 },
184 &quot;pubsubDetails&quot;: [ # Identification of a PubSub source used in the Dataflow job.
185 { # Metadata for a PubSub connector used by the job.
186 &quot;topic&quot;: &quot;A String&quot;, # Topic accessed in the connection.
187 &quot;subscription&quot;: &quot;A String&quot;, # Subscription used in the connection.
188 },
189 ],
190 &quot;fileDetails&quot;: [ # Identification of a File source used in the Dataflow job.
191 { # Metadata for a File connector used by the job.
192 &quot;filePattern&quot;: &quot;A String&quot;, # File Pattern used to access files by the connector.
193 },
194 ],
195 &quot;bigTableDetails&quot;: [ # Identification of a BigTable source used in the Dataflow job.
196 { # Metadata for a BigTable connector used by the job.
197 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
198 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
199 &quot;tableId&quot;: &quot;A String&quot;, # TableId accessed in the connection.
200 },
201 ],
202 &quot;spannerDetails&quot;: [ # Identification of a Spanner source used in the Dataflow job.
203 { # Metadata for a Spanner connector used by the job.
204 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
205 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
206 &quot;databaseId&quot;: &quot;A String&quot;, # DatabaseId accessed in the connection.
207 },
208 ],
209 },
210 &quot;stepsLocation&quot;: &quot;A String&quot;, # The GCS location where the steps are stored.
211 &quot;labels&quot;: { # 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: * Keys must conform to regexp: \p{Ll}\p{Lo}{0,62} * Values must conform to regexp: [\p{Ll}\p{Lo}\p{N}_-]{0,63} * Both keys and values are additionally constrained to be &lt;= 128 bytes in size.
212 &quot;a_key&quot;: &quot;A String&quot;,
213 },
214 &quot;replacedByJobId&quot;: &quot;A String&quot;, # If another job is an update of this job (and thus, this job is in `JOB_STATE_UPDATED`), this field contains the ID of that job.
215 &quot;stageStates&quot;: [ # This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
216 { # A message describing the state of a particular execution stage.
217 &quot;currentStateTime&quot;: &quot;A String&quot;, # The time at which the stage transitioned to this state.
218 &quot;executionStageName&quot;: &quot;A String&quot;, # The name of the execution stage.
219 &quot;executionStageState&quot;: &quot;A String&quot;, # Executions stage states allow the same set of values as JobState.
220 },
221 ],
222 &quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
223 &quot;a_key&quot;: &quot;A String&quot;,
224 },
225 &quot;steps&quot;: [ # Exactly one of step or steps_location should be specified. The top-level steps that constitute the entire job. Only retrieved with JOB_VIEW_ALL.
226 { # Defines a particular step within a Cloud Dataflow job. A job consists of multiple steps, each of which performs some specific operation as part of the overall job. Data is typically passed from one step to another as part of the job. Here&#x27;s an example of a sequence of steps which together implement a Map-Reduce job: * Read a collection of data from some source, parsing the collection&#x27;s elements. * Validate the elements. * Apply a user-defined function to map each element to some value and extract an element-specific key value. * Group elements with the same key into a single element with that key, transforming a multiply-keyed collection into a uniquely-keyed collection. * Write the elements out to some data sink. Note that the Cloud Dataflow service may be used to run many different types of jobs, not just Map-Reduce.
227 &quot;name&quot;: &quot;A String&quot;, # The name that identifies the step. This must be unique for each step with respect to all other steps in the Cloud Dataflow job.
228 &quot;properties&quot;: { # Named properties associated with the step. Each kind of predefined step has its own required set of properties. Must be provided on Create. Only retrieved with JOB_VIEW_ALL.
229 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
230 },
231 &quot;kind&quot;: &quot;A String&quot;, # The kind of step in the Cloud Dataflow job.
232 },
233 ],
234 &quot;id&quot;: &quot;A String&quot;, # 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.
235 &quot;name&quot;: &quot;A String&quot;, # 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 `[a-z]([-a-z0-9]{0,38}[a-z0-9])?`
236 &quot;currentState&quot;: &quot;A String&quot;, # The current state of the job. Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise specified. A job in the `JOB_STATE_RUNNING` state may asynchronously enter a terminal state. After a job has reached a terminal state, no further state updates may be made. This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
237 &quot;replaceJobId&quot;: &quot;A String&quot;, # If this job is an update of an existing job, this field is the job ID of the job it replaced. When sending a `CreateJobRequest`, you can update a job by specifying it here. The job named here is stopped, and its intermediate state is transferred to this job.
238 &quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
239 &quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
240 &quot;userAgent&quot;: { # A description of the process that generated the request.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700241 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
242 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800243 &quot;clusterManagerApiService&quot;: &quot;A String&quot;, # The type of cluster manager API to use. If unknown or unspecified, the service will attempt to choose a reasonable default. This should be in the form of the API service name, e.g. &quot;compute.googleapis.com&quot;.
244 &quot;tempStoragePrefix&quot;: &quot;A String&quot;, # The prefix of the resources the system should use for temporary storage. The system will append the suffix &quot;/temp-{JOBNAME} to this resource prefix, where {JOBNAME} is the value of the job_name field. The resulting bucket and object prefix is used as the prefix of the resources used to store temporary data needed during the job execution. NOTE: This will override the value in taskrunner_settings. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
245 &quot;version&quot;: { # A structure describing which components and their versions of the service are required in order to run the job.
246 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700247 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800248 &quot;internalExperiments&quot;: { # Experimental settings.
249 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700250 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800251 &quot;sdkPipelineOptions&quot;: { # The Cloud Dataflow SDK pipeline options specified by the user. These options are passed through the service and are used to recreate the SDK pipeline options on the worker in a language agnostic and platform independent way.
252 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700253 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800254 &quot;workerPools&quot;: [ # The worker pools. At least one &quot;harness&quot; worker pool must be specified in order for the job to have workers.
255 { # Describes one particular pool of Cloud Dataflow workers to be instantiated by the Cloud Dataflow service in order to perform the computations required by a job. Note that a workflow job may use multiple pools, in order to match the various computational requirements of the various stages of the job.
256 &quot;diskSizeGb&quot;: 42, # Size of root disk for VMs, in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
257 &quot;machineType&quot;: &quot;A String&quot;, # Machine type (e.g. &quot;n1-standard-1&quot;). If empty or unspecified, the service will attempt to choose a reasonable default.
258 &quot;zone&quot;: &quot;A String&quot;, # Zone to run the worker pools in. If empty or unspecified, the service will attempt to choose a reasonable default.
259 &quot;ipConfiguration&quot;: &quot;A String&quot;, # Configuration for VM IPs.
260 &quot;metadata&quot;: { # Metadata to set on the Google Compute Engine VMs.
261 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700262 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800263 &quot;teardownPolicy&quot;: &quot;A String&quot;, # Sets the policy for determining when to turndown worker pool. Allowed values are: `TEARDOWN_ALWAYS`, `TEARDOWN_ON_SUCCESS`, and `TEARDOWN_NEVER`. `TEARDOWN_ALWAYS` means workers are always torn down regardless of whether the job succeeds. `TEARDOWN_ON_SUCCESS` means workers are torn down if the job succeeds. `TEARDOWN_NEVER` means the workers are never torn down. If the workers are not torn down by the service, they will continue to run and use Google Compute Engine VM resources in the user&#x27;s project until they are explicitly terminated by the user. Because of this, Google recommends using the `TEARDOWN_ALWAYS` policy except for small, manually supervised test jobs. If unknown or unspecified, the service will attempt to choose a reasonable default.
264 &quot;kind&quot;: &quot;A String&quot;, # The kind of the worker pool; currently only `harness` and `shuffle` are supported.
265 &quot;numWorkers&quot;: 42, # Number of Google Compute Engine workers in this pool needed to execute the job. If zero or unspecified, the service will attempt to choose a reasonable default.
266 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # The action to take on host maintenance, as defined by the Google Compute Engine API.
267 &quot;workerHarnessContainerImage&quot;: &quot;A String&quot;, # Required. Docker container image that executes the Cloud Dataflow worker harness, residing in Google Container Registry. Deprecated for the Fn API path. Use sdk_harness_container_images instead.
268 &quot;numThreadsPerWorker&quot;: 42, # The number of threads per worker harness. If empty or unspecified, the service will choose a number of threads (according to the number of cores on the selected machine type for batch, or 1 by convention for streaming).
269 &quot;dataDisks&quot;: [ # Data disks that are used by a VM in this workflow.
270 { # Describes the data disk used by a workflow job.
271 &quot;sizeGb&quot;: 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
272 &quot;mountPoint&quot;: &quot;A String&quot;, # Directory in a VM where disk is mounted.
273 &quot;diskType&quot;: &quot;A String&quot;, # Disk storage type, as defined by Google Compute Engine. This must be a disk type appropriate to the project and zone in which the workers will run. If unknown or unspecified, the service will attempt to choose a reasonable default. For example, the standard persistent disk type is a resource name typically ending in &quot;pd-standard&quot;. If SSD persistent disks are available, the resource name typically ends with &quot;pd-ssd&quot;. The actual valid values are defined the Google Compute Engine API, not by the Cloud Dataflow API; consult the Google Compute Engine documentation for more information about determining the set of available disk types for a particular project and zone. Google Compute Engine Disk types are local to a particular project in a particular zone, and so the resource name will typically look something like this: compute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard
274 },
275 ],
276 &quot;network&quot;: &quot;A String&quot;, # Network to which VMs will be assigned. If empty or unspecified, the service will use the network &quot;default&quot;.
277 &quot;poolArgs&quot;: { # Extra arguments for this worker pool.
278 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
279 },
280 &quot;diskType&quot;: &quot;A String&quot;, # Type of root disk for VMs. If empty or unspecified, the service will attempt to choose a reasonable default.
281 &quot;defaultPackageSet&quot;: &quot;A String&quot;, # The default package set to install. This allows the service to select a default set of packages which are useful to worker harnesses written in a particular language.
282 &quot;sdkHarnessContainerImages&quot;: [ # Set of SDK harness containers needed to execute this pipeline. This will only be set in the Fn API path. For non-cross-language pipelines this should have only one entry. Cross-language pipelines will have two or more entries.
283 { # Defines a SDK harness container for executing Dataflow pipelines.
284 &quot;useSingleCorePerContainer&quot;: True or False, # If true, recommends the Dataflow service to use only one core per SDK container instance with this image. If false (or unset) recommends using more than one core per SDK container instance with this image for efficiency. Note that Dataflow service may choose to override this property if needed.
285 &quot;containerImage&quot;: &quot;A String&quot;, # A docker container image that resides in Google Container Registry.
286 },
287 ],
288 &quot;packages&quot;: [ # Packages to be installed on workers.
289 { # The packages that must be installed in order for a worker to run the steps of the Cloud Dataflow job that will be assigned to its worker pool. This is the mechanism by which the Cloud Dataflow SDK causes code to be loaded onto the workers. For example, the Cloud Dataflow Java SDK might use this to install jars containing the user&#x27;s code and all of the various dependencies (libraries, data files, etc.) required in order for that code to run.
290 &quot;location&quot;: &quot;A String&quot;, # The resource to read the package from. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket} bucket.storage.googleapis.com/
291 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
292 },
293 ],
294 &quot;subnetwork&quot;: &quot;A String&quot;, # Subnetwork to which VMs will be assigned, if desired. Expected to be of the form &quot;regions/REGION/subnetworks/SUBNETWORK&quot;.
295 &quot;taskrunnerSettings&quot;: { # Taskrunner configuration settings. # Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner. Users should ignore this field.
296 &quot;vmId&quot;: &quot;A String&quot;, # The ID string of the VM.
297 &quot;languageHint&quot;: &quot;A String&quot;, # The suggested backend language.
298 &quot;alsologtostderr&quot;: True or False, # Whether to also send taskrunner log info to stderr.
299 &quot;baseTaskDir&quot;: &quot;A String&quot;, # The location on the worker for task-specific subdirectories.
300 &quot;workflowFileName&quot;: &quot;A String&quot;, # The file to store the workflow in.
301 &quot;taskGroup&quot;: &quot;A String&quot;, # The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g. &quot;wheel&quot;.
302 &quot;logDir&quot;: &quot;A String&quot;, # The directory on the VM to store logs.
303 &quot;parallelWorkerSettings&quot;: { # Provides data to pass through to the worker harness. # The settings to pass to the parallel worker harness.
304 &quot;shuffleServicePath&quot;: &quot;A String&quot;, # The Shuffle service path relative to the root URL, for example, &quot;shuffle/v1beta1&quot;.
305 &quot;reportingEnabled&quot;: True or False, # Whether to send work progress updates to the service.
306 &quot;servicePath&quot;: &quot;A String&quot;, # The Cloud Dataflow service path relative to the root URL, for example, &quot;dataflow/v1b3/projects&quot;.
307 &quot;workerId&quot;: &quot;A String&quot;, # The ID of the worker running this pipeline.
308 &quot;tempStoragePrefix&quot;: &quot;A String&quot;, # The prefix of the resources the system should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
309 &quot;baseUrl&quot;: &quot;A String&quot;, # The base URL for accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, &quot;Relative Uniform Resource Locators&quot;. If not specified, the default value is &quot;http://www.googleapis.com/&quot;
310 },
311 &quot;commandlinesFileName&quot;: &quot;A String&quot;, # The file to store preprocessing commands in.
312 &quot;baseUrl&quot;: &quot;A String&quot;, # The base URL for the taskrunner to use when accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, &quot;Relative Uniform Resource Locators&quot;. If not specified, the default value is &quot;http://www.googleapis.com/&quot;
313 &quot;oauthScopes&quot;: [ # The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
314 &quot;A String&quot;,
315 ],
316 &quot;tempStoragePrefix&quot;: &quot;A String&quot;, # The prefix of the resources the taskrunner should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
317 &quot;dataflowApiVersion&quot;: &quot;A String&quot;, # The API version of endpoint, e.g. &quot;v1b3&quot;
318 &quot;taskUser&quot;: &quot;A String&quot;, # The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g. &quot;root&quot;.
319 &quot;harnessCommand&quot;: &quot;A String&quot;, # The command to launch the worker harness.
320 &quot;continueOnException&quot;: True or False, # Whether to continue taskrunner if an exception is hit.
321 &quot;streamingWorkerMainClass&quot;: &quot;A String&quot;, # The streaming worker main class name.
322 &quot;logToSerialconsole&quot;: True or False, # Whether to send taskrunner log info to Google Compute Engine VM serial console.
323 &quot;logUploadLocation&quot;: &quot;A String&quot;, # Indicates where to put logs. If this is not specified, the logs will not be uploaded. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
324 },
325 &quot;diskSourceImage&quot;: &quot;A String&quot;, # Fully qualified source image for disks.
326 &quot;autoscalingSettings&quot;: { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
327 &quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap scaling at.
328 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for autoscaling.
329 },
330 },
331 ],
332 &quot;flexResourceSchedulingGoal&quot;: &quot;A String&quot;, # Which Flexible Resource Scheduling mode to run in.
333 &quot;workerZone&quot;: &quot;A String&quot;, # The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. &quot;us-west1-a&quot;. Mutually exclusive with worker_region. If neither worker_region nor worker_zone is specified, a zone in the control plane&#x27;s region is chosen based on available capacity.
334 &quot;dataset&quot;: &quot;A String&quot;, # The dataset for the current project where various workflow related tables are stored. The supported resource type is: Google BigQuery: bigquery.googleapis.com/{dataset}
335 &quot;workerRegion&quot;: &quot;A String&quot;, # The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. &quot;us-west1&quot;. Mutually exclusive with worker_zone. If neither worker_region nor worker_zone is specified, default to the control plane&#x27;s region.
336 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Identity to run virtual machines as. Defaults to the default account.
337 &quot;experiments&quot;: [ # The list of experiments to enable.
338 &quot;A String&quot;,
339 ],
340 &quot;serviceKmsKeyName&quot;: &quot;A String&quot;, # If set, contains the Cloud KMS key identifier used to encrypt data at rest, AKA a Customer Managed Encryption Key (CMEK). Format: projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY
341 },
342 &quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
343 &quot;executionInfo&quot;: { # Additional information about how a Cloud Dataflow job will be executed that isn&#x27;t contained in the submitted job. # Deprecated.
344 &quot;stages&quot;: { # A mapping from each stage to the information about that stage.
345 &quot;a_key&quot;: { # Contains information about how a particular google.dataflow.v1beta3.Step will be executed.
346 &quot;stepName&quot;: [ # The steps associated with the execution stage. Note that stages may have several steps, and that a given step might be run by more than one stage.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700347 &quot;A String&quot;,
348 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700349 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700350 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700351 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800352 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
353 &quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
354 &quot;requestedState&quot;: &quot;A String&quot;, # The job&#x27;s requested state. `UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and `JOB_STATE_RUNNING` states, by setting requested_state. `UpdateJob` may also be used to directly set a job&#x27;s requested state to `JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the job if it has not already reached a terminal state.
355 &quot;pipelineDescription&quot;: { # A descriptive representation of submitted pipeline as well as the executed form. This data is provided by the Dataflow service for ease of visualizing the pipeline and interpreting Dataflow provided metrics. # 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.
356 &quot;executionPipelineStage&quot;: [ # Description of each stage of execution of the pipeline.
357 { # Description of the composing transforms, names/ids, and input/outputs of a stage of execution. Some composing transforms and sources may have been generated by the Dataflow service during execution planning.
358 &quot;componentSource&quot;: [ # Collections produced and consumed by component transforms of this stage.
359 { # Description of an interstitial value between transforms in an execution stage.
360 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
361 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
362 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
363 },
364 ],
365 &quot;prerequisiteStage&quot;: [ # Other stages that must complete before this stage can run.
366 &quot;A String&quot;,
367 ],
368 &quot;componentTransform&quot;: [ # Transforms that comprise this execution stage.
369 { # Description of a transform executed as part of an execution stage.
370 &quot;originalTransform&quot;: &quot;A String&quot;, # User name for the original user transform with which this transform is most closely associated.
371 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
372 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
373 },
374 ],
375 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this stage.
376 &quot;inputSource&quot;: [ # Input sources for this stage.
377 { # Description of an input or output of an execution stage.
378 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
379 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
380 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
381 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
382 },
383 ],
384 &quot;id&quot;: &quot;A String&quot;, # Dataflow service generated id for this stage.
385 &quot;outputSource&quot;: [ # Output sources for this stage.
386 { # Description of an input or output of an execution stage.
387 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
388 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
389 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
390 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
391 },
392 ],
393 &quot;kind&quot;: &quot;A String&quot;, # Type of tranform this stage is executing.
394 },
395 ],
396 &quot;originalPipelineTransform&quot;: [ # Description of each transform in the pipeline and collections between them.
397 { # Description of the type, names/ids, and input/outputs for a transform.
398 &quot;outputCollectionName&quot;: [ # User names for all collection outputs to this transform.
399 &quot;A String&quot;,
400 ],
401 &quot;name&quot;: &quot;A String&quot;, # User provided name for this transform instance.
402 &quot;inputCollectionName&quot;: [ # User names for all collection inputs to this transform.
403 &quot;A String&quot;,
404 ],
405 &quot;kind&quot;: &quot;A String&quot;, # Type of transform.
406 &quot;id&quot;: &quot;A String&quot;, # SDK generated id of this transform instance.
407 &quot;displayData&quot;: [ # Transform-specific display data.
408 { # Data provided with a pipeline or transform to provide descriptive info.
409 &quot;key&quot;: &quot;A String&quot;, # The key identifying the display data. This is intended to be used as a label for the display data when viewed in a dax monitoring system.
410 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
411 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
412 &quot;namespace&quot;: &quot;A String&quot;, # The namespace for the key. This is usually a class name or programming language namespace (i.e. python module) which defines the display data. This allows a dax monitoring system to specially handle the data and perform custom rendering.
413 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
414 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
415 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
416 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
417 &quot;shortStrValue&quot;: &quot;A String&quot;, # A possible additional shorter value to display. For example a java_class_name_value of com.mypackage.MyDoFn will be stored with MyDoFn as the short_str_value and com.mypackage.MyDoFn as the java_class_name value. short_str_value can be displayed and java_class_name_value will be displayed as a tooltip.
418 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
419 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
420 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
421 },
422 ],
423 },
424 ],
425 &quot;displayData&quot;: [ # Pipeline level display data.
426 { # Data provided with a pipeline or transform to provide descriptive info.
427 &quot;key&quot;: &quot;A String&quot;, # The key identifying the display data. This is intended to be used as a label for the display data when viewed in a dax monitoring system.
428 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
429 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
430 &quot;namespace&quot;: &quot;A String&quot;, # The namespace for the key. This is usually a class name or programming language namespace (i.e. python module) which defines the display data. This allows a dax monitoring system to specially handle the data and perform custom rendering.
431 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
432 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
433 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
434 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
435 &quot;shortStrValue&quot;: &quot;A String&quot;, # A possible additional shorter value to display. For example a java_class_name_value of com.mypackage.MyDoFn will be stored with MyDoFn as the short_str_value and com.mypackage.MyDoFn as the java_class_name value. short_str_value can be displayed and java_class_name_value will be displayed as a tooltip.
436 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
437 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
438 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
439 },
440 ],
441 },
442 &quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
443 &quot;tempFiles&quot;: [ # 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}
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700444 &quot;A String&quot;,
445 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700446 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700447 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700448 }</pre>
449</div>
450
451<div class="method">
452 <code class="details" id="aggregated_next">aggregated_next(previous_request, previous_response)</code>
453 <pre>Retrieves the next page of results.
454
455Args:
456 previous_request: The request for the previous page. (required)
457 previous_response: The response from the request for the previous page. (required)
458
459Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700460 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700461 page. Returns None if there are no more items in the collection.
462 </pre>
463</div>
464
465<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700466 <code class="details" id="close">close()</code>
467 <pre>Close httplib2 connections.</pre>
468</div>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000469
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700470<div class="method">
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800471 <code class="details" id="create">create(projectId, body=None, location=None, replaceJobId=None, view=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700472 <pre>Creates a Cloud Dataflow job. To create a job, we recommend using `projects.locations.jobs.create` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.create` is not recommended, as your job will always start in `us-central1`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700473
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000474Args:
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400475 projectId: string, The ID of the Cloud Platform project that the job belongs to. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700476 body: object, The request body.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000477 The object takes the form of:
478
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400479{ # Defines a job to be run by the Cloud Dataflow service.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800480 &quot;startTime&quot;: &quot;A String&quot;, # 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 start_time is unset before start and is updated when the job is started by the Cloud Dataflow service. For other jobs, start_time always equals to create_time and is immutable and set by the Cloud Dataflow service.
481 &quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
482 &quot;clientRequestId&quot;: &quot;A String&quot;, # The client&#x27;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&#x27;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.
483 &quot;jobMetadata&quot;: { # Metadata available primarily for filtering jobs. Will be included in the ListJob response and Job SUMMARY view. # This field is populated by the Dataflow service to support filtering jobs by the metadata values provided here. Populated for ListJobs and all GetJob views SUMMARY and higher.
484 &quot;datastoreDetails&quot;: [ # Identification of a Datastore source used in the Dataflow job.
485 { # Metadata for a Datastore connector used by the job.
486 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
487 &quot;namespace&quot;: &quot;A String&quot;, # Namespace used in the connection.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700488 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800489 ],
490 &quot;bigqueryDetails&quot;: [ # Identification of a BigQuery source used in the Dataflow job.
491 { # Metadata for a BigQuery connector used by the job.
492 &quot;projectId&quot;: &quot;A String&quot;, # Project accessed in the connection.
493 &quot;table&quot;: &quot;A String&quot;, # Table accessed in the connection.
494 &quot;dataset&quot;: &quot;A String&quot;, # Dataset accessed in the connection.
495 &quot;query&quot;: &quot;A String&quot;, # Query used to access data in the connection.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700496 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800497 ],
498 &quot;sdkVersion&quot;: { # The version of the SDK used to run the job. # The SDK version used to run the job.
499 &quot;version&quot;: &quot;A String&quot;, # The version of the SDK used to run the job.
500 &quot;versionDisplayName&quot;: &quot;A String&quot;, # A readable string describing the version of the SDK.
501 &quot;sdkSupportStatus&quot;: &quot;A String&quot;, # The support status for this SDK version.
502 },
503 &quot;pubsubDetails&quot;: [ # Identification of a PubSub source used in the Dataflow job.
504 { # Metadata for a PubSub connector used by the job.
505 &quot;topic&quot;: &quot;A String&quot;, # Topic accessed in the connection.
506 &quot;subscription&quot;: &quot;A String&quot;, # Subscription used in the connection.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700507 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800508 ],
509 &quot;fileDetails&quot;: [ # Identification of a File source used in the Dataflow job.
510 { # Metadata for a File connector used by the job.
511 &quot;filePattern&quot;: &quot;A String&quot;, # File Pattern used to access files by the connector.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700512 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800513 ],
514 &quot;bigTableDetails&quot;: [ # Identification of a BigTable source used in the Dataflow job.
515 { # Metadata for a BigTable connector used by the job.
516 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
517 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
518 &quot;tableId&quot;: &quot;A String&quot;, # TableId accessed in the connection.
519 },
520 ],
521 &quot;spannerDetails&quot;: [ # Identification of a Spanner source used in the Dataflow job.
522 { # Metadata for a Spanner connector used by the job.
523 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
524 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
525 &quot;databaseId&quot;: &quot;A String&quot;, # DatabaseId accessed in the connection.
526 },
527 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700528 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800529 &quot;stepsLocation&quot;: &quot;A String&quot;, # The GCS location where the steps are stored.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700530 &quot;labels&quot;: { # 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: * Keys must conform to regexp: \p{Ll}\p{Lo}{0,62} * Values must conform to regexp: [\p{Ll}\p{Lo}\p{N}_-]{0,63} * Both keys and values are additionally constrained to be &lt;= 128 bytes in size.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700531 &quot;a_key&quot;: &quot;A String&quot;,
532 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800533 &quot;replacedByJobId&quot;: &quot;A String&quot;, # If another job is an update of this job (and thus, this job is in `JOB_STATE_UPDATED`), this field contains the ID of that job.
534 &quot;stageStates&quot;: [ # This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
535 { # A message describing the state of a particular execution stage.
536 &quot;currentStateTime&quot;: &quot;A String&quot;, # The time at which the stage transitioned to this state.
537 &quot;executionStageName&quot;: &quot;A String&quot;, # The name of the execution stage.
538 &quot;executionStageState&quot;: &quot;A String&quot;, # Executions stage states allow the same set of values as JobState.
539 },
540 ],
541 &quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
542 &quot;a_key&quot;: &quot;A String&quot;,
543 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700544 &quot;steps&quot;: [ # Exactly one of step or steps_location should be specified. The top-level steps that constitute the entire job. Only retrieved with JOB_VIEW_ALL.
545 { # Defines a particular step within a Cloud Dataflow job. A job consists of multiple steps, each of which performs some specific operation as part of the overall job. Data is typically passed from one step to another as part of the job. Here&#x27;s an example of a sequence of steps which together implement a Map-Reduce job: * Read a collection of data from some source, parsing the collection&#x27;s elements. * Validate the elements. * Apply a user-defined function to map each element to some value and extract an element-specific key value. * Group elements with the same key into a single element with that key, transforming a multiply-keyed collection into a uniquely-keyed collection. * Write the elements out to some data sink. Note that the Cloud Dataflow service may be used to run many different types of jobs, not just Map-Reduce.
546 &quot;name&quot;: &quot;A String&quot;, # The name that identifies the step. This must be unique for each step with respect to all other steps in the Cloud Dataflow job.
547 &quot;properties&quot;: { # Named properties associated with the step. Each kind of predefined step has its own required set of properties. Must be provided on Create. Only retrieved with JOB_VIEW_ALL.
548 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
549 },
550 &quot;kind&quot;: &quot;A String&quot;, # The kind of step in the Cloud Dataflow job.
551 },
552 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800553 &quot;id&quot;: &quot;A String&quot;, # 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.
554 &quot;name&quot;: &quot;A String&quot;, # 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 `[a-z]([-a-z0-9]{0,38}[a-z0-9])?`
555 &quot;currentState&quot;: &quot;A String&quot;, # The current state of the job. Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise specified. A job in the `JOB_STATE_RUNNING` state may asynchronously enter a terminal state. After a job has reached a terminal state, no further state updates may be made. This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
556 &quot;replaceJobId&quot;: &quot;A String&quot;, # If this job is an update of an existing job, this field is the job ID of the job it replaced. When sending a `CreateJobRequest`, you can update a job by specifying it here. The job named here is stopped, and its intermediate state is transferred to this job.
557 &quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700558 &quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800559 &quot;userAgent&quot;: { # A description of the process that generated the request.
560 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
561 },
562 &quot;clusterManagerApiService&quot;: &quot;A String&quot;, # The type of cluster manager API to use. If unknown or unspecified, the service will attempt to choose a reasonable default. This should be in the form of the API service name, e.g. &quot;compute.googleapis.com&quot;.
563 &quot;tempStoragePrefix&quot;: &quot;A String&quot;, # The prefix of the resources the system should use for temporary storage. The system will append the suffix &quot;/temp-{JOBNAME} to this resource prefix, where {JOBNAME} is the value of the job_name field. The resulting bucket and object prefix is used as the prefix of the resources used to store temporary data needed during the job execution. NOTE: This will override the value in taskrunner_settings. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
564 &quot;version&quot;: { # A structure describing which components and their versions of the service are required in order to run the job.
565 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
566 },
567 &quot;internalExperiments&quot;: { # Experimental settings.
568 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
569 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700570 &quot;sdkPipelineOptions&quot;: { # The Cloud Dataflow SDK pipeline options specified by the user. These options are passed through the service and are used to recreate the SDK pipeline options on the worker in a language agnostic and platform independent way.
571 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
572 },
573 &quot;workerPools&quot;: [ # The worker pools. At least one &quot;harness&quot; worker pool must be specified in order for the job to have workers.
574 { # Describes one particular pool of Cloud Dataflow workers to be instantiated by the Cloud Dataflow service in order to perform the computations required by a job. Note that a workflow job may use multiple pools, in order to match the various computational requirements of the various stages of the job.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700575 &quot;diskSizeGb&quot;: 42, # Size of root disk for VMs, in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800576 &quot;machineType&quot;: &quot;A String&quot;, # Machine type (e.g. &quot;n1-standard-1&quot;). If empty or unspecified, the service will attempt to choose a reasonable default.
577 &quot;zone&quot;: &quot;A String&quot;, # Zone to run the worker pools in. If empty or unspecified, the service will attempt to choose a reasonable default.
578 &quot;ipConfiguration&quot;: &quot;A String&quot;, # Configuration for VM IPs.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700579 &quot;metadata&quot;: { # Metadata to set on the Google Compute Engine VMs.
580 &quot;a_key&quot;: &quot;A String&quot;,
581 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800582 &quot;teardownPolicy&quot;: &quot;A String&quot;, # Sets the policy for determining when to turndown worker pool. Allowed values are: `TEARDOWN_ALWAYS`, `TEARDOWN_ON_SUCCESS`, and `TEARDOWN_NEVER`. `TEARDOWN_ALWAYS` means workers are always torn down regardless of whether the job succeeds. `TEARDOWN_ON_SUCCESS` means workers are torn down if the job succeeds. `TEARDOWN_NEVER` means the workers are never torn down. If the workers are not torn down by the service, they will continue to run and use Google Compute Engine VM resources in the user&#x27;s project until they are explicitly terminated by the user. Because of this, Google recommends using the `TEARDOWN_ALWAYS` policy except for small, manually supervised test jobs. If unknown or unspecified, the service will attempt to choose a reasonable default.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700583 &quot;kind&quot;: &quot;A String&quot;, # The kind of the worker pool; currently only `harness` and `shuffle` are supported.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800584 &quot;numWorkers&quot;: 42, # Number of Google Compute Engine workers in this pool needed to execute the job. If zero or unspecified, the service will attempt to choose a reasonable default.
585 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # The action to take on host maintenance, as defined by the Google Compute Engine API.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700586 &quot;workerHarnessContainerImage&quot;: &quot;A String&quot;, # Required. Docker container image that executes the Cloud Dataflow worker harness, residing in Google Container Registry. Deprecated for the Fn API path. Use sdk_harness_container_images instead.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800587 &quot;numThreadsPerWorker&quot;: 42, # The number of threads per worker harness. If empty or unspecified, the service will choose a number of threads (according to the number of cores on the selected machine type for batch, or 1 by convention for streaming).
588 &quot;dataDisks&quot;: [ # Data disks that are used by a VM in this workflow.
589 { # Describes the data disk used by a workflow job.
590 &quot;sizeGb&quot;: 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
591 &quot;mountPoint&quot;: &quot;A String&quot;, # Directory in a VM where disk is mounted.
592 &quot;diskType&quot;: &quot;A String&quot;, # Disk storage type, as defined by Google Compute Engine. This must be a disk type appropriate to the project and zone in which the workers will run. If unknown or unspecified, the service will attempt to choose a reasonable default. For example, the standard persistent disk type is a resource name typically ending in &quot;pd-standard&quot;. If SSD persistent disks are available, the resource name typically ends with &quot;pd-ssd&quot;. The actual valid values are defined the Google Compute Engine API, not by the Cloud Dataflow API; consult the Google Compute Engine documentation for more information about determining the set of available disk types for a particular project and zone. Google Compute Engine Disk types are local to a particular project in a particular zone, and so the resource name will typically look something like this: compute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700593 },
594 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800595 &quot;network&quot;: &quot;A String&quot;, # Network to which VMs will be assigned. If empty or unspecified, the service will use the network &quot;default&quot;.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700596 &quot;poolArgs&quot;: { # Extra arguments for this worker pool.
597 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
598 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800599 &quot;diskType&quot;: &quot;A String&quot;, # Type of root disk for VMs. If empty or unspecified, the service will attempt to choose a reasonable default.
600 &quot;defaultPackageSet&quot;: &quot;A String&quot;, # The default package set to install. This allows the service to select a default set of packages which are useful to worker harnesses written in a particular language.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700601 &quot;sdkHarnessContainerImages&quot;: [ # Set of SDK harness containers needed to execute this pipeline. This will only be set in the Fn API path. For non-cross-language pipelines this should have only one entry. Cross-language pipelines will have two or more entries.
602 { # Defines a SDK harness container for executing Dataflow pipelines.
603 &quot;useSingleCorePerContainer&quot;: True or False, # If true, recommends the Dataflow service to use only one core per SDK container instance with this image. If false (or unset) recommends using more than one core per SDK container instance with this image for efficiency. Note that Dataflow service may choose to override this property if needed.
604 &quot;containerImage&quot;: &quot;A String&quot;, # A docker container image that resides in Google Container Registry.
605 },
606 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800607 &quot;packages&quot;: [ # Packages to be installed on workers.
608 { # The packages that must be installed in order for a worker to run the steps of the Cloud Dataflow job that will be assigned to its worker pool. This is the mechanism by which the Cloud Dataflow SDK causes code to be loaded onto the workers. For example, the Cloud Dataflow Java SDK might use this to install jars containing the user&#x27;s code and all of the various dependencies (libraries, data files, etc.) required in order for that code to run.
609 &quot;location&quot;: &quot;A String&quot;, # The resource to read the package from. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket} bucket.storage.googleapis.com/
610 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700611 },
612 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800613 &quot;subnetwork&quot;: &quot;A String&quot;, # Subnetwork to which VMs will be assigned, if desired. Expected to be of the form &quot;regions/REGION/subnetworks/SUBNETWORK&quot;.
614 &quot;taskrunnerSettings&quot;: { # Taskrunner configuration settings. # Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner. Users should ignore this field.
615 &quot;vmId&quot;: &quot;A String&quot;, # The ID string of the VM.
616 &quot;languageHint&quot;: &quot;A String&quot;, # The suggested backend language.
617 &quot;alsologtostderr&quot;: True or False, # Whether to also send taskrunner log info to stderr.
618 &quot;baseTaskDir&quot;: &quot;A String&quot;, # The location on the worker for task-specific subdirectories.
619 &quot;workflowFileName&quot;: &quot;A String&quot;, # The file to store the workflow in.
620 &quot;taskGroup&quot;: &quot;A String&quot;, # The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g. &quot;wheel&quot;.
621 &quot;logDir&quot;: &quot;A String&quot;, # The directory on the VM to store logs.
622 &quot;parallelWorkerSettings&quot;: { # Provides data to pass through to the worker harness. # The settings to pass to the parallel worker harness.
623 &quot;shuffleServicePath&quot;: &quot;A String&quot;, # The Shuffle service path relative to the root URL, for example, &quot;shuffle/v1beta1&quot;.
624 &quot;reportingEnabled&quot;: True or False, # Whether to send work progress updates to the service.
625 &quot;servicePath&quot;: &quot;A String&quot;, # The Cloud Dataflow service path relative to the root URL, for example, &quot;dataflow/v1b3/projects&quot;.
626 &quot;workerId&quot;: &quot;A String&quot;, # The ID of the worker running this pipeline.
627 &quot;tempStoragePrefix&quot;: &quot;A String&quot;, # The prefix of the resources the system should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
628 &quot;baseUrl&quot;: &quot;A String&quot;, # The base URL for accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, &quot;Relative Uniform Resource Locators&quot;. If not specified, the default value is &quot;http://www.googleapis.com/&quot;
629 },
630 &quot;commandlinesFileName&quot;: &quot;A String&quot;, # The file to store preprocessing commands in.
631 &quot;baseUrl&quot;: &quot;A String&quot;, # The base URL for the taskrunner to use when accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, &quot;Relative Uniform Resource Locators&quot;. If not specified, the default value is &quot;http://www.googleapis.com/&quot;
632 &quot;oauthScopes&quot;: [ # The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
633 &quot;A String&quot;,
634 ],
635 &quot;tempStoragePrefix&quot;: &quot;A String&quot;, # The prefix of the resources the taskrunner should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
636 &quot;dataflowApiVersion&quot;: &quot;A String&quot;, # The API version of endpoint, e.g. &quot;v1b3&quot;
637 &quot;taskUser&quot;: &quot;A String&quot;, # The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g. &quot;root&quot;.
638 &quot;harnessCommand&quot;: &quot;A String&quot;, # The command to launch the worker harness.
639 &quot;continueOnException&quot;: True or False, # Whether to continue taskrunner if an exception is hit.
640 &quot;streamingWorkerMainClass&quot;: &quot;A String&quot;, # The streaming worker main class name.
641 &quot;logToSerialconsole&quot;: True or False, # Whether to send taskrunner log info to Google Compute Engine VM serial console.
642 &quot;logUploadLocation&quot;: &quot;A String&quot;, # Indicates where to put logs. If this is not specified, the logs will not be uploaded. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
643 },
644 &quot;diskSourceImage&quot;: &quot;A String&quot;, # Fully qualified source image for disks.
645 &quot;autoscalingSettings&quot;: { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
646 &quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap scaling at.
647 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for autoscaling.
648 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700649 },
650 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700651 &quot;flexResourceSchedulingGoal&quot;: &quot;A String&quot;, # Which Flexible Resource Scheduling mode to run in.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700652 &quot;workerZone&quot;: &quot;A String&quot;, # The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. &quot;us-west1-a&quot;. Mutually exclusive with worker_region. If neither worker_region nor worker_zone is specified, a zone in the control plane&#x27;s region is chosen based on available capacity.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800653 &quot;dataset&quot;: &quot;A String&quot;, # The dataset for the current project where various workflow related tables are stored. The supported resource type is: Google BigQuery: bigquery.googleapis.com/{dataset}
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700654 &quot;workerRegion&quot;: &quot;A String&quot;, # The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. &quot;us-west1&quot;. Mutually exclusive with worker_zone. If neither worker_region nor worker_zone is specified, default to the control plane&#x27;s region.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800655 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Identity to run virtual machines as. Defaults to the default account.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700656 &quot;experiments&quot;: [ # The list of experiments to enable.
657 &quot;A String&quot;,
658 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800659 &quot;serviceKmsKeyName&quot;: &quot;A String&quot;, # If set, contains the Cloud KMS key identifier used to encrypt data at rest, AKA a Customer Managed Encryption Key (CMEK). Format: projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700660 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800661 &quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700662 &quot;executionInfo&quot;: { # Additional information about how a Cloud Dataflow job will be executed that isn&#x27;t contained in the submitted job. # Deprecated.
663 &quot;stages&quot;: { # A mapping from each stage to the information about that stage.
664 &quot;a_key&quot;: { # Contains information about how a particular google.dataflow.v1beta3.Step will be executed.
665 &quot;stepName&quot;: [ # The steps associated with the execution stage. Note that stages may have several steps, and that a given step might be run by more than one stage.
666 &quot;A String&quot;,
667 ],
668 },
669 },
670 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800671 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
672 &quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
673 &quot;requestedState&quot;: &quot;A String&quot;, # The job&#x27;s requested state. `UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and `JOB_STATE_RUNNING` states, by setting requested_state. `UpdateJob` may also be used to directly set a job&#x27;s requested state to `JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the job if it has not already reached a terminal state.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700674 &quot;pipelineDescription&quot;: { # A descriptive representation of submitted pipeline as well as the executed form. This data is provided by the Dataflow service for ease of visualizing the pipeline and interpreting Dataflow provided metrics. # 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.
675 &quot;executionPipelineStage&quot;: [ # Description of each stage of execution of the pipeline.
676 { # Description of the composing transforms, names/ids, and input/outputs of a stage of execution. Some composing transforms and sources may have been generated by the Dataflow service during execution planning.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700677 &quot;componentSource&quot;: [ # Collections produced and consumed by component transforms of this stage.
678 { # Description of an interstitial value between transforms in an execution stage.
679 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
680 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
681 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
682 },
683 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700684 &quot;prerequisiteStage&quot;: [ # Other stages that must complete before this stage can run.
685 &quot;A String&quot;,
686 ],
687 &quot;componentTransform&quot;: [ # Transforms that comprise this execution stage.
688 { # Description of a transform executed as part of an execution stage.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700689 &quot;originalTransform&quot;: &quot;A String&quot;, # User name for the original user transform with which this transform is most closely associated.
690 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800691 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700692 },
693 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800694 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this stage.
695 &quot;inputSource&quot;: [ # Input sources for this stage.
696 { # Description of an input or output of an execution stage.
697 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
698 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
699 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
700 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
701 },
702 ],
703 &quot;id&quot;: &quot;A String&quot;, # Dataflow service generated id for this stage.
704 &quot;outputSource&quot;: [ # Output sources for this stage.
705 { # Description of an input or output of an execution stage.
706 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
707 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
708 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
709 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
710 },
711 ],
712 &quot;kind&quot;: &quot;A String&quot;, # Type of tranform this stage is executing.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700713 },
714 ],
715 &quot;originalPipelineTransform&quot;: [ # Description of each transform in the pipeline and collections between them.
716 { # Description of the type, names/ids, and input/outputs for a transform.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700717 &quot;outputCollectionName&quot;: [ # User names for all collection outputs to this transform.
718 &quot;A String&quot;,
719 ],
720 &quot;name&quot;: &quot;A String&quot;, # User provided name for this transform instance.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800721 &quot;inputCollectionName&quot;: [ # User names for all collection inputs to this transform.
722 &quot;A String&quot;,
723 ],
724 &quot;kind&quot;: &quot;A String&quot;, # Type of transform.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700725 &quot;id&quot;: &quot;A String&quot;, # SDK generated id of this transform instance.
726 &quot;displayData&quot;: [ # Transform-specific display data.
727 { # Data provided with a pipeline or transform to provide descriptive info.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700728 &quot;key&quot;: &quot;A String&quot;, # The key identifying the display data. This is intended to be used as a label for the display data when viewed in a dax monitoring system.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800729 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700730 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700731 &quot;namespace&quot;: &quot;A String&quot;, # The namespace for the key. This is usually a class name or programming language namespace (i.e. python module) which defines the display data. This allows a dax monitoring system to specially handle the data and perform custom rendering.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700732 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800733 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
734 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
735 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700736 &quot;shortStrValue&quot;: &quot;A String&quot;, # A possible additional shorter value to display. For example a java_class_name_value of com.mypackage.MyDoFn will be stored with MyDoFn as the short_str_value and com.mypackage.MyDoFn as the java_class_name value. short_str_value can be displayed and java_class_name_value will be displayed as a tooltip.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800737 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
738 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
739 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700740 },
741 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700742 },
743 ],
744 &quot;displayData&quot;: [ # Pipeline level display data.
745 { # Data provided with a pipeline or transform to provide descriptive info.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700746 &quot;key&quot;: &quot;A String&quot;, # The key identifying the display data. This is intended to be used as a label for the display data when viewed in a dax monitoring system.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800747 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700748 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700749 &quot;namespace&quot;: &quot;A String&quot;, # The namespace for the key. This is usually a class name or programming language namespace (i.e. python module) which defines the display data. This allows a dax monitoring system to specially handle the data and perform custom rendering.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700750 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800751 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
752 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
753 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700754 &quot;shortStrValue&quot;: &quot;A String&quot;, # A possible additional shorter value to display. For example a java_class_name_value of com.mypackage.MyDoFn will be stored with MyDoFn as the short_str_value and com.mypackage.MyDoFn as the java_class_name value. short_str_value can be displayed and java_class_name_value will be displayed as a tooltip.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800755 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
756 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
757 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700758 },
759 ],
760 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800761 &quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
762 &quot;tempFiles&quot;: [ # 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}
763 &quot;A String&quot;,
764 ],
765 }
766
767 location: string, The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
768 replaceJobId: string, Deprecated. This field is now in the Job message.
769 view: string, The level of information requested in response.
770 Allowed values
771 JOB_VIEW_UNKNOWN - The job view to return isn&#x27;t specified, or is unknown. Responses will contain at least the `JOB_VIEW_SUMMARY` information, and may contain additional information.
772 JOB_VIEW_SUMMARY - Request summary information only: Project ID, Job ID, job name, job type, job status, start/end time, and Cloud SDK version details.
773 JOB_VIEW_ALL - Request all information available for this job.
774 JOB_VIEW_DESCRIPTION - Request summary info and limited job description data for steps, labels and environment.
775 x__xgafv: string, V1 error format.
776 Allowed values
777 1 - v1 error format
778 2 - v2 error format
779
780Returns:
781 An object of the form:
782
783 { # Defines a job to be run by the Cloud Dataflow service.
784 &quot;startTime&quot;: &quot;A String&quot;, # 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 start_time is unset before start and is updated when the job is started by the Cloud Dataflow service. For other jobs, start_time always equals to create_time and is immutable and set by the Cloud Dataflow service.
785 &quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
786 &quot;clientRequestId&quot;: &quot;A String&quot;, # The client&#x27;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&#x27;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.
787 &quot;jobMetadata&quot;: { # Metadata available primarily for filtering jobs. Will be included in the ListJob response and Job SUMMARY view. # This field is populated by the Dataflow service to support filtering jobs by the metadata values provided here. Populated for ListJobs and all GetJob views SUMMARY and higher.
788 &quot;datastoreDetails&quot;: [ # Identification of a Datastore source used in the Dataflow job.
789 { # Metadata for a Datastore connector used by the job.
790 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
791 &quot;namespace&quot;: &quot;A String&quot;, # Namespace used in the connection.
792 },
793 ],
794 &quot;bigqueryDetails&quot;: [ # Identification of a BigQuery source used in the Dataflow job.
795 { # Metadata for a BigQuery connector used by the job.
796 &quot;projectId&quot;: &quot;A String&quot;, # Project accessed in the connection.
797 &quot;table&quot;: &quot;A String&quot;, # Table accessed in the connection.
798 &quot;dataset&quot;: &quot;A String&quot;, # Dataset accessed in the connection.
799 &quot;query&quot;: &quot;A String&quot;, # Query used to access data in the connection.
800 },
801 ],
802 &quot;sdkVersion&quot;: { # The version of the SDK used to run the job. # The SDK version used to run the job.
803 &quot;version&quot;: &quot;A String&quot;, # The version of the SDK used to run the job.
804 &quot;versionDisplayName&quot;: &quot;A String&quot;, # A readable string describing the version of the SDK.
805 &quot;sdkSupportStatus&quot;: &quot;A String&quot;, # The support status for this SDK version.
806 },
807 &quot;pubsubDetails&quot;: [ # Identification of a PubSub source used in the Dataflow job.
808 { # Metadata for a PubSub connector used by the job.
809 &quot;topic&quot;: &quot;A String&quot;, # Topic accessed in the connection.
810 &quot;subscription&quot;: &quot;A String&quot;, # Subscription used in the connection.
811 },
812 ],
813 &quot;fileDetails&quot;: [ # Identification of a File source used in the Dataflow job.
814 { # Metadata for a File connector used by the job.
815 &quot;filePattern&quot;: &quot;A String&quot;, # File Pattern used to access files by the connector.
816 },
817 ],
818 &quot;bigTableDetails&quot;: [ # Identification of a BigTable source used in the Dataflow job.
819 { # Metadata for a BigTable connector used by the job.
820 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
821 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
822 &quot;tableId&quot;: &quot;A String&quot;, # TableId accessed in the connection.
823 },
824 ],
825 &quot;spannerDetails&quot;: [ # Identification of a Spanner source used in the Dataflow job.
826 { # Metadata for a Spanner connector used by the job.
827 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
828 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
829 &quot;databaseId&quot;: &quot;A String&quot;, # DatabaseId accessed in the connection.
830 },
831 ],
832 },
833 &quot;stepsLocation&quot;: &quot;A String&quot;, # The GCS location where the steps are stored.
834 &quot;labels&quot;: { # 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: * Keys must conform to regexp: \p{Ll}\p{Lo}{0,62} * Values must conform to regexp: [\p{Ll}\p{Lo}\p{N}_-]{0,63} * Both keys and values are additionally constrained to be &lt;= 128 bytes in size.
835 &quot;a_key&quot;: &quot;A String&quot;,
836 },
837 &quot;replacedByJobId&quot;: &quot;A String&quot;, # If another job is an update of this job (and thus, this job is in `JOB_STATE_UPDATED`), this field contains the ID of that job.
838 &quot;stageStates&quot;: [ # This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
839 { # A message describing the state of a particular execution stage.
840 &quot;currentStateTime&quot;: &quot;A String&quot;, # The time at which the stage transitioned to this state.
841 &quot;executionStageName&quot;: &quot;A String&quot;, # The name of the execution stage.
842 &quot;executionStageState&quot;: &quot;A String&quot;, # Executions stage states allow the same set of values as JobState.
843 },
844 ],
845 &quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
846 &quot;a_key&quot;: &quot;A String&quot;,
847 },
848 &quot;steps&quot;: [ # Exactly one of step or steps_location should be specified. The top-level steps that constitute the entire job. Only retrieved with JOB_VIEW_ALL.
849 { # Defines a particular step within a Cloud Dataflow job. A job consists of multiple steps, each of which performs some specific operation as part of the overall job. Data is typically passed from one step to another as part of the job. Here&#x27;s an example of a sequence of steps which together implement a Map-Reduce job: * Read a collection of data from some source, parsing the collection&#x27;s elements. * Validate the elements. * Apply a user-defined function to map each element to some value and extract an element-specific key value. * Group elements with the same key into a single element with that key, transforming a multiply-keyed collection into a uniquely-keyed collection. * Write the elements out to some data sink. Note that the Cloud Dataflow service may be used to run many different types of jobs, not just Map-Reduce.
850 &quot;name&quot;: &quot;A String&quot;, # The name that identifies the step. This must be unique for each step with respect to all other steps in the Cloud Dataflow job.
851 &quot;properties&quot;: { # Named properties associated with the step. Each kind of predefined step has its own required set of properties. Must be provided on Create. Only retrieved with JOB_VIEW_ALL.
852 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
853 },
854 &quot;kind&quot;: &quot;A String&quot;, # The kind of step in the Cloud Dataflow job.
855 },
856 ],
857 &quot;id&quot;: &quot;A String&quot;, # 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.
858 &quot;name&quot;: &quot;A String&quot;, # 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 `[a-z]([-a-z0-9]{0,38}[a-z0-9])?`
859 &quot;currentState&quot;: &quot;A String&quot;, # The current state of the job. Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise specified. A job in the `JOB_STATE_RUNNING` state may asynchronously enter a terminal state. After a job has reached a terminal state, no further state updates may be made. This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
860 &quot;replaceJobId&quot;: &quot;A String&quot;, # If this job is an update of an existing job, this field is the job ID of the job it replaced. When sending a `CreateJobRequest`, you can update a job by specifying it here. The job named here is stopped, and its intermediate state is transferred to this job.
861 &quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
862 &quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
863 &quot;userAgent&quot;: { # A description of the process that generated the request.
864 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
865 },
866 &quot;clusterManagerApiService&quot;: &quot;A String&quot;, # The type of cluster manager API to use. If unknown or unspecified, the service will attempt to choose a reasonable default. This should be in the form of the API service name, e.g. &quot;compute.googleapis.com&quot;.
867 &quot;tempStoragePrefix&quot;: &quot;A String&quot;, # The prefix of the resources the system should use for temporary storage. The system will append the suffix &quot;/temp-{JOBNAME} to this resource prefix, where {JOBNAME} is the value of the job_name field. The resulting bucket and object prefix is used as the prefix of the resources used to store temporary data needed during the job execution. NOTE: This will override the value in taskrunner_settings. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
868 &quot;version&quot;: { # A structure describing which components and their versions of the service are required in order to run the job.
869 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
870 },
871 &quot;internalExperiments&quot;: { # Experimental settings.
872 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
873 },
874 &quot;sdkPipelineOptions&quot;: { # The Cloud Dataflow SDK pipeline options specified by the user. These options are passed through the service and are used to recreate the SDK pipeline options on the worker in a language agnostic and platform independent way.
875 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
876 },
877 &quot;workerPools&quot;: [ # The worker pools. At least one &quot;harness&quot; worker pool must be specified in order for the job to have workers.
878 { # Describes one particular pool of Cloud Dataflow workers to be instantiated by the Cloud Dataflow service in order to perform the computations required by a job. Note that a workflow job may use multiple pools, in order to match the various computational requirements of the various stages of the job.
879 &quot;diskSizeGb&quot;: 42, # Size of root disk for VMs, in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
880 &quot;machineType&quot;: &quot;A String&quot;, # Machine type (e.g. &quot;n1-standard-1&quot;). If empty or unspecified, the service will attempt to choose a reasonable default.
881 &quot;zone&quot;: &quot;A String&quot;, # Zone to run the worker pools in. If empty or unspecified, the service will attempt to choose a reasonable default.
882 &quot;ipConfiguration&quot;: &quot;A String&quot;, # Configuration for VM IPs.
883 &quot;metadata&quot;: { # Metadata to set on the Google Compute Engine VMs.
884 &quot;a_key&quot;: &quot;A String&quot;,
885 },
886 &quot;teardownPolicy&quot;: &quot;A String&quot;, # Sets the policy for determining when to turndown worker pool. Allowed values are: `TEARDOWN_ALWAYS`, `TEARDOWN_ON_SUCCESS`, and `TEARDOWN_NEVER`. `TEARDOWN_ALWAYS` means workers are always torn down regardless of whether the job succeeds. `TEARDOWN_ON_SUCCESS` means workers are torn down if the job succeeds. `TEARDOWN_NEVER` means the workers are never torn down. If the workers are not torn down by the service, they will continue to run and use Google Compute Engine VM resources in the user&#x27;s project until they are explicitly terminated by the user. Because of this, Google recommends using the `TEARDOWN_ALWAYS` policy except for small, manually supervised test jobs. If unknown or unspecified, the service will attempt to choose a reasonable default.
887 &quot;kind&quot;: &quot;A String&quot;, # The kind of the worker pool; currently only `harness` and `shuffle` are supported.
888 &quot;numWorkers&quot;: 42, # Number of Google Compute Engine workers in this pool needed to execute the job. If zero or unspecified, the service will attempt to choose a reasonable default.
889 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # The action to take on host maintenance, as defined by the Google Compute Engine API.
890 &quot;workerHarnessContainerImage&quot;: &quot;A String&quot;, # Required. Docker container image that executes the Cloud Dataflow worker harness, residing in Google Container Registry. Deprecated for the Fn API path. Use sdk_harness_container_images instead.
891 &quot;numThreadsPerWorker&quot;: 42, # The number of threads per worker harness. If empty or unspecified, the service will choose a number of threads (according to the number of cores on the selected machine type for batch, or 1 by convention for streaming).
892 &quot;dataDisks&quot;: [ # Data disks that are used by a VM in this workflow.
893 { # Describes the data disk used by a workflow job.
894 &quot;sizeGb&quot;: 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
895 &quot;mountPoint&quot;: &quot;A String&quot;, # Directory in a VM where disk is mounted.
896 &quot;diskType&quot;: &quot;A String&quot;, # Disk storage type, as defined by Google Compute Engine. This must be a disk type appropriate to the project and zone in which the workers will run. If unknown or unspecified, the service will attempt to choose a reasonable default. For example, the standard persistent disk type is a resource name typically ending in &quot;pd-standard&quot;. If SSD persistent disks are available, the resource name typically ends with &quot;pd-ssd&quot;. The actual valid values are defined the Google Compute Engine API, not by the Cloud Dataflow API; consult the Google Compute Engine documentation for more information about determining the set of available disk types for a particular project and zone. Google Compute Engine Disk types are local to a particular project in a particular zone, and so the resource name will typically look something like this: compute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard
897 },
898 ],
899 &quot;network&quot;: &quot;A String&quot;, # Network to which VMs will be assigned. If empty or unspecified, the service will use the network &quot;default&quot;.
900 &quot;poolArgs&quot;: { # Extra arguments for this worker pool.
901 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
902 },
903 &quot;diskType&quot;: &quot;A String&quot;, # Type of root disk for VMs. If empty or unspecified, the service will attempt to choose a reasonable default.
904 &quot;defaultPackageSet&quot;: &quot;A String&quot;, # The default package set to install. This allows the service to select a default set of packages which are useful to worker harnesses written in a particular language.
905 &quot;sdkHarnessContainerImages&quot;: [ # Set of SDK harness containers needed to execute this pipeline. This will only be set in the Fn API path. For non-cross-language pipelines this should have only one entry. Cross-language pipelines will have two or more entries.
906 { # Defines a SDK harness container for executing Dataflow pipelines.
907 &quot;useSingleCorePerContainer&quot;: True or False, # If true, recommends the Dataflow service to use only one core per SDK container instance with this image. If false (or unset) recommends using more than one core per SDK container instance with this image for efficiency. Note that Dataflow service may choose to override this property if needed.
908 &quot;containerImage&quot;: &quot;A String&quot;, # A docker container image that resides in Google Container Registry.
909 },
910 ],
911 &quot;packages&quot;: [ # Packages to be installed on workers.
912 { # The packages that must be installed in order for a worker to run the steps of the Cloud Dataflow job that will be assigned to its worker pool. This is the mechanism by which the Cloud Dataflow SDK causes code to be loaded onto the workers. For example, the Cloud Dataflow Java SDK might use this to install jars containing the user&#x27;s code and all of the various dependencies (libraries, data files, etc.) required in order for that code to run.
913 &quot;location&quot;: &quot;A String&quot;, # The resource to read the package from. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket} bucket.storage.googleapis.com/
914 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
915 },
916 ],
917 &quot;subnetwork&quot;: &quot;A String&quot;, # Subnetwork to which VMs will be assigned, if desired. Expected to be of the form &quot;regions/REGION/subnetworks/SUBNETWORK&quot;.
918 &quot;taskrunnerSettings&quot;: { # Taskrunner configuration settings. # Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner. Users should ignore this field.
919 &quot;vmId&quot;: &quot;A String&quot;, # The ID string of the VM.
920 &quot;languageHint&quot;: &quot;A String&quot;, # The suggested backend language.
921 &quot;alsologtostderr&quot;: True or False, # Whether to also send taskrunner log info to stderr.
922 &quot;baseTaskDir&quot;: &quot;A String&quot;, # The location on the worker for task-specific subdirectories.
923 &quot;workflowFileName&quot;: &quot;A String&quot;, # The file to store the workflow in.
924 &quot;taskGroup&quot;: &quot;A String&quot;, # The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g. &quot;wheel&quot;.
925 &quot;logDir&quot;: &quot;A String&quot;, # The directory on the VM to store logs.
926 &quot;parallelWorkerSettings&quot;: { # Provides data to pass through to the worker harness. # The settings to pass to the parallel worker harness.
927 &quot;shuffleServicePath&quot;: &quot;A String&quot;, # The Shuffle service path relative to the root URL, for example, &quot;shuffle/v1beta1&quot;.
928 &quot;reportingEnabled&quot;: True or False, # Whether to send work progress updates to the service.
929 &quot;servicePath&quot;: &quot;A String&quot;, # The Cloud Dataflow service path relative to the root URL, for example, &quot;dataflow/v1b3/projects&quot;.
930 &quot;workerId&quot;: &quot;A String&quot;, # The ID of the worker running this pipeline.
931 &quot;tempStoragePrefix&quot;: &quot;A String&quot;, # The prefix of the resources the system should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
932 &quot;baseUrl&quot;: &quot;A String&quot;, # The base URL for accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, &quot;Relative Uniform Resource Locators&quot;. If not specified, the default value is &quot;http://www.googleapis.com/&quot;
933 },
934 &quot;commandlinesFileName&quot;: &quot;A String&quot;, # The file to store preprocessing commands in.
935 &quot;baseUrl&quot;: &quot;A String&quot;, # The base URL for the taskrunner to use when accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, &quot;Relative Uniform Resource Locators&quot;. If not specified, the default value is &quot;http://www.googleapis.com/&quot;
936 &quot;oauthScopes&quot;: [ # The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
937 &quot;A String&quot;,
938 ],
939 &quot;tempStoragePrefix&quot;: &quot;A String&quot;, # The prefix of the resources the taskrunner should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
940 &quot;dataflowApiVersion&quot;: &quot;A String&quot;, # The API version of endpoint, e.g. &quot;v1b3&quot;
941 &quot;taskUser&quot;: &quot;A String&quot;, # The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g. &quot;root&quot;.
942 &quot;harnessCommand&quot;: &quot;A String&quot;, # The command to launch the worker harness.
943 &quot;continueOnException&quot;: True or False, # Whether to continue taskrunner if an exception is hit.
944 &quot;streamingWorkerMainClass&quot;: &quot;A String&quot;, # The streaming worker main class name.
945 &quot;logToSerialconsole&quot;: True or False, # Whether to send taskrunner log info to Google Compute Engine VM serial console.
946 &quot;logUploadLocation&quot;: &quot;A String&quot;, # Indicates where to put logs. If this is not specified, the logs will not be uploaded. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
947 },
948 &quot;diskSourceImage&quot;: &quot;A String&quot;, # Fully qualified source image for disks.
949 &quot;autoscalingSettings&quot;: { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
950 &quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap scaling at.
951 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for autoscaling.
952 },
953 },
954 ],
955 &quot;flexResourceSchedulingGoal&quot;: &quot;A String&quot;, # Which Flexible Resource Scheduling mode to run in.
956 &quot;workerZone&quot;: &quot;A String&quot;, # The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. &quot;us-west1-a&quot;. Mutually exclusive with worker_region. If neither worker_region nor worker_zone is specified, a zone in the control plane&#x27;s region is chosen based on available capacity.
957 &quot;dataset&quot;: &quot;A String&quot;, # The dataset for the current project where various workflow related tables are stored. The supported resource type is: Google BigQuery: bigquery.googleapis.com/{dataset}
958 &quot;workerRegion&quot;: &quot;A String&quot;, # The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. &quot;us-west1&quot;. Mutually exclusive with worker_zone. If neither worker_region nor worker_zone is specified, default to the control plane&#x27;s region.
959 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Identity to run virtual machines as. Defaults to the default account.
960 &quot;experiments&quot;: [ # The list of experiments to enable.
961 &quot;A String&quot;,
962 ],
963 &quot;serviceKmsKeyName&quot;: &quot;A String&quot;, # If set, contains the Cloud KMS key identifier used to encrypt data at rest, AKA a Customer Managed Encryption Key (CMEK). Format: projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY
964 },
965 &quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
966 &quot;executionInfo&quot;: { # Additional information about how a Cloud Dataflow job will be executed that isn&#x27;t contained in the submitted job. # Deprecated.
967 &quot;stages&quot;: { # A mapping from each stage to the information about that stage.
968 &quot;a_key&quot;: { # Contains information about how a particular google.dataflow.v1beta3.Step will be executed.
969 &quot;stepName&quot;: [ # The steps associated with the execution stage. Note that stages may have several steps, and that a given step might be run by more than one stage.
970 &quot;A String&quot;,
971 ],
972 },
973 },
974 },
975 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
976 &quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
977 &quot;requestedState&quot;: &quot;A String&quot;, # The job&#x27;s requested state. `UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and `JOB_STATE_RUNNING` states, by setting requested_state. `UpdateJob` may also be used to directly set a job&#x27;s requested state to `JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the job if it has not already reached a terminal state.
978 &quot;pipelineDescription&quot;: { # A descriptive representation of submitted pipeline as well as the executed form. This data is provided by the Dataflow service for ease of visualizing the pipeline and interpreting Dataflow provided metrics. # 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.
979 &quot;executionPipelineStage&quot;: [ # Description of each stage of execution of the pipeline.
980 { # Description of the composing transforms, names/ids, and input/outputs of a stage of execution. Some composing transforms and sources may have been generated by the Dataflow service during execution planning.
981 &quot;componentSource&quot;: [ # Collections produced and consumed by component transforms of this stage.
982 { # Description of an interstitial value between transforms in an execution stage.
983 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
984 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
985 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
986 },
987 ],
988 &quot;prerequisiteStage&quot;: [ # Other stages that must complete before this stage can run.
989 &quot;A String&quot;,
990 ],
991 &quot;componentTransform&quot;: [ # Transforms that comprise this execution stage.
992 { # Description of a transform executed as part of an execution stage.
993 &quot;originalTransform&quot;: &quot;A String&quot;, # User name for the original user transform with which this transform is most closely associated.
994 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
995 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
996 },
997 ],
998 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this stage.
999 &quot;inputSource&quot;: [ # Input sources for this stage.
1000 { # Description of an input or output of an execution stage.
1001 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1002 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
1003 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
1004 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1005 },
1006 ],
1007 &quot;id&quot;: &quot;A String&quot;, # Dataflow service generated id for this stage.
1008 &quot;outputSource&quot;: [ # Output sources for this stage.
1009 { # Description of an input or output of an execution stage.
1010 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1011 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
1012 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
1013 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1014 },
1015 ],
1016 &quot;kind&quot;: &quot;A String&quot;, # Type of tranform this stage is executing.
1017 },
1018 ],
1019 &quot;originalPipelineTransform&quot;: [ # Description of each transform in the pipeline and collections between them.
1020 { # Description of the type, names/ids, and input/outputs for a transform.
1021 &quot;outputCollectionName&quot;: [ # User names for all collection outputs to this transform.
1022 &quot;A String&quot;,
1023 ],
1024 &quot;name&quot;: &quot;A String&quot;, # User provided name for this transform instance.
1025 &quot;inputCollectionName&quot;: [ # User names for all collection inputs to this transform.
1026 &quot;A String&quot;,
1027 ],
1028 &quot;kind&quot;: &quot;A String&quot;, # Type of transform.
1029 &quot;id&quot;: &quot;A String&quot;, # SDK generated id of this transform instance.
1030 &quot;displayData&quot;: [ # Transform-specific display data.
1031 { # Data provided with a pipeline or transform to provide descriptive info.
1032 &quot;key&quot;: &quot;A String&quot;, # The key identifying the display data. This is intended to be used as a label for the display data when viewed in a dax monitoring system.
1033 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
1034 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
1035 &quot;namespace&quot;: &quot;A String&quot;, # The namespace for the key. This is usually a class name or programming language namespace (i.e. python module) which defines the display data. This allows a dax monitoring system to specially handle the data and perform custom rendering.
1036 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
1037 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
1038 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
1039 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
1040 &quot;shortStrValue&quot;: &quot;A String&quot;, # A possible additional shorter value to display. For example a java_class_name_value of com.mypackage.MyDoFn will be stored with MyDoFn as the short_str_value and com.mypackage.MyDoFn as the java_class_name value. short_str_value can be displayed and java_class_name_value will be displayed as a tooltip.
1041 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
1042 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
1043 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
1044 },
1045 ],
1046 },
1047 ],
1048 &quot;displayData&quot;: [ # Pipeline level display data.
1049 { # Data provided with a pipeline or transform to provide descriptive info.
1050 &quot;key&quot;: &quot;A String&quot;, # The key identifying the display data. This is intended to be used as a label for the display data when viewed in a dax monitoring system.
1051 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
1052 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
1053 &quot;namespace&quot;: &quot;A String&quot;, # The namespace for the key. This is usually a class name or programming language namespace (i.e. python module) which defines the display data. This allows a dax monitoring system to specially handle the data and perform custom rendering.
1054 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
1055 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
1056 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
1057 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
1058 &quot;shortStrValue&quot;: &quot;A String&quot;, # A possible additional shorter value to display. For example a java_class_name_value of com.mypackage.MyDoFn will be stored with MyDoFn as the short_str_value and com.mypackage.MyDoFn as the java_class_name value. short_str_value can be displayed and java_class_name_value will be displayed as a tooltip.
1059 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
1060 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
1061 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
1062 },
1063 ],
1064 },
1065 &quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
1066 &quot;tempFiles&quot;: [ # 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}
1067 &quot;A String&quot;,
1068 ],
1069 }</pre>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001070</div>
1071
1072<div class="method">
1073 <code class="details" id="get">get(projectId, jobId, location=None, view=None, x__xgafv=None)</code>
1074 <pre>Gets the state of the specified Cloud Dataflow job. To get the state of a job, we recommend using `projects.locations.jobs.get` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.get` is not recommended, as you can only get the state of jobs that are running in `us-central1`.
1075
1076Args:
1077 projectId: string, The ID of the Cloud Platform project that the job belongs to. (required)
1078 jobId: string, The job ID. (required)
1079 location: string, The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
1080 view: string, The level of information requested in response.
1081 Allowed values
1082 JOB_VIEW_UNKNOWN - The job view to return isn&#x27;t specified, or is unknown. Responses will contain at least the `JOB_VIEW_SUMMARY` information, and may contain additional information.
1083 JOB_VIEW_SUMMARY - Request summary information only: Project ID, Job ID, job name, job type, job status, start/end time, and Cloud SDK version details.
1084 JOB_VIEW_ALL - Request all information available for this job.
1085 JOB_VIEW_DESCRIPTION - Request summary info and limited job description data for steps, labels and environment.
1086 x__xgafv: string, V1 error format.
1087 Allowed values
1088 1 - v1 error format
1089 2 - v2 error format
1090
1091Returns:
1092 An object of the form:
1093
1094 { # Defines a job to be run by the Cloud Dataflow service.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001095 &quot;startTime&quot;: &quot;A String&quot;, # 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 start_time is unset before start and is updated when the job is started by the Cloud Dataflow service. For other jobs, start_time always equals to create_time and is immutable and set by the Cloud Dataflow service.
1096 &quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
1097 &quot;clientRequestId&quot;: &quot;A String&quot;, # The client&#x27;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&#x27;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.
1098 &quot;jobMetadata&quot;: { # Metadata available primarily for filtering jobs. Will be included in the ListJob response and Job SUMMARY view. # This field is populated by the Dataflow service to support filtering jobs by the metadata values provided here. Populated for ListJobs and all GetJob views SUMMARY and higher.
1099 &quot;datastoreDetails&quot;: [ # Identification of a Datastore source used in the Dataflow job.
1100 { # Metadata for a Datastore connector used by the job.
1101 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
1102 &quot;namespace&quot;: &quot;A String&quot;, # Namespace used in the connection.
1103 },
1104 ],
1105 &quot;bigqueryDetails&quot;: [ # Identification of a BigQuery source used in the Dataflow job.
1106 { # Metadata for a BigQuery connector used by the job.
1107 &quot;projectId&quot;: &quot;A String&quot;, # Project accessed in the connection.
1108 &quot;table&quot;: &quot;A String&quot;, # Table accessed in the connection.
1109 &quot;dataset&quot;: &quot;A String&quot;, # Dataset accessed in the connection.
1110 &quot;query&quot;: &quot;A String&quot;, # Query used to access data in the connection.
1111 },
1112 ],
1113 &quot;sdkVersion&quot;: { # The version of the SDK used to run the job. # The SDK version used to run the job.
1114 &quot;version&quot;: &quot;A String&quot;, # The version of the SDK used to run the job.
1115 &quot;versionDisplayName&quot;: &quot;A String&quot;, # A readable string describing the version of the SDK.
1116 &quot;sdkSupportStatus&quot;: &quot;A String&quot;, # The support status for this SDK version.
1117 },
1118 &quot;pubsubDetails&quot;: [ # Identification of a PubSub source used in the Dataflow job.
1119 { # Metadata for a PubSub connector used by the job.
1120 &quot;topic&quot;: &quot;A String&quot;, # Topic accessed in the connection.
1121 &quot;subscription&quot;: &quot;A String&quot;, # Subscription used in the connection.
1122 },
1123 ],
1124 &quot;fileDetails&quot;: [ # Identification of a File source used in the Dataflow job.
1125 { # Metadata for a File connector used by the job.
1126 &quot;filePattern&quot;: &quot;A String&quot;, # File Pattern used to access files by the connector.
1127 },
1128 ],
1129 &quot;bigTableDetails&quot;: [ # Identification of a BigTable source used in the Dataflow job.
1130 { # Metadata for a BigTable connector used by the job.
1131 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
1132 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
1133 &quot;tableId&quot;: &quot;A String&quot;, # TableId accessed in the connection.
1134 },
1135 ],
1136 &quot;spannerDetails&quot;: [ # Identification of a Spanner source used in the Dataflow job.
1137 { # Metadata for a Spanner connector used by the job.
1138 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
1139 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
1140 &quot;databaseId&quot;: &quot;A String&quot;, # DatabaseId accessed in the connection.
1141 },
1142 ],
1143 },
1144 &quot;stepsLocation&quot;: &quot;A String&quot;, # The GCS location where the steps are stored.
1145 &quot;labels&quot;: { # 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: * Keys must conform to regexp: \p{Ll}\p{Lo}{0,62} * Values must conform to regexp: [\p{Ll}\p{Lo}\p{N}_-]{0,63} * Both keys and values are additionally constrained to be &lt;= 128 bytes in size.
1146 &quot;a_key&quot;: &quot;A String&quot;,
1147 },
1148 &quot;replacedByJobId&quot;: &quot;A String&quot;, # If another job is an update of this job (and thus, this job is in `JOB_STATE_UPDATED`), this field contains the ID of that job.
1149 &quot;stageStates&quot;: [ # This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
1150 { # A message describing the state of a particular execution stage.
1151 &quot;currentStateTime&quot;: &quot;A String&quot;, # The time at which the stage transitioned to this state.
1152 &quot;executionStageName&quot;: &quot;A String&quot;, # The name of the execution stage.
1153 &quot;executionStageState&quot;: &quot;A String&quot;, # Executions stage states allow the same set of values as JobState.
1154 },
1155 ],
1156 &quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
1157 &quot;a_key&quot;: &quot;A String&quot;,
1158 },
1159 &quot;steps&quot;: [ # Exactly one of step or steps_location should be specified. The top-level steps that constitute the entire job. Only retrieved with JOB_VIEW_ALL.
1160 { # Defines a particular step within a Cloud Dataflow job. A job consists of multiple steps, each of which performs some specific operation as part of the overall job. Data is typically passed from one step to another as part of the job. Here&#x27;s an example of a sequence of steps which together implement a Map-Reduce job: * Read a collection of data from some source, parsing the collection&#x27;s elements. * Validate the elements. * Apply a user-defined function to map each element to some value and extract an element-specific key value. * Group elements with the same key into a single element with that key, transforming a multiply-keyed collection into a uniquely-keyed collection. * Write the elements out to some data sink. Note that the Cloud Dataflow service may be used to run many different types of jobs, not just Map-Reduce.
1161 &quot;name&quot;: &quot;A String&quot;, # The name that identifies the step. This must be unique for each step with respect to all other steps in the Cloud Dataflow job.
1162 &quot;properties&quot;: { # Named properties associated with the step. Each kind of predefined step has its own required set of properties. Must be provided on Create. Only retrieved with JOB_VIEW_ALL.
1163 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1164 },
1165 &quot;kind&quot;: &quot;A String&quot;, # The kind of step in the Cloud Dataflow job.
1166 },
1167 ],
1168 &quot;id&quot;: &quot;A String&quot;, # 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.
1169 &quot;name&quot;: &quot;A String&quot;, # 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 `[a-z]([-a-z0-9]{0,38}[a-z0-9])?`
1170 &quot;currentState&quot;: &quot;A String&quot;, # The current state of the job. Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise specified. A job in the `JOB_STATE_RUNNING` state may asynchronously enter a terminal state. After a job has reached a terminal state, no further state updates may be made. This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
1171 &quot;replaceJobId&quot;: &quot;A String&quot;, # If this job is an update of an existing job, this field is the job ID of the job it replaced. When sending a `CreateJobRequest`, you can update a job by specifying it here. The job named here is stopped, and its intermediate state is transferred to this job.
1172 &quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
1173 &quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
1174 &quot;userAgent&quot;: { # A description of the process that generated the request.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001175 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1176 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001177 &quot;clusterManagerApiService&quot;: &quot;A String&quot;, # The type of cluster manager API to use. If unknown or unspecified, the service will attempt to choose a reasonable default. This should be in the form of the API service name, e.g. &quot;compute.googleapis.com&quot;.
1178 &quot;tempStoragePrefix&quot;: &quot;A String&quot;, # The prefix of the resources the system should use for temporary storage. The system will append the suffix &quot;/temp-{JOBNAME} to this resource prefix, where {JOBNAME} is the value of the job_name field. The resulting bucket and object prefix is used as the prefix of the resources used to store temporary data needed during the job execution. NOTE: This will override the value in taskrunner_settings. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
1179 &quot;version&quot;: { # A structure describing which components and their versions of the service are required in order to run the job.
1180 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001181 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001182 &quot;internalExperiments&quot;: { # Experimental settings.
1183 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001184 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001185 &quot;sdkPipelineOptions&quot;: { # The Cloud Dataflow SDK pipeline options specified by the user. These options are passed through the service and are used to recreate the SDK pipeline options on the worker in a language agnostic and platform independent way.
1186 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001187 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001188 &quot;workerPools&quot;: [ # The worker pools. At least one &quot;harness&quot; worker pool must be specified in order for the job to have workers.
1189 { # Describes one particular pool of Cloud Dataflow workers to be instantiated by the Cloud Dataflow service in order to perform the computations required by a job. Note that a workflow job may use multiple pools, in order to match the various computational requirements of the various stages of the job.
1190 &quot;diskSizeGb&quot;: 42, # Size of root disk for VMs, in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
1191 &quot;machineType&quot;: &quot;A String&quot;, # Machine type (e.g. &quot;n1-standard-1&quot;). If empty or unspecified, the service will attempt to choose a reasonable default.
1192 &quot;zone&quot;: &quot;A String&quot;, # Zone to run the worker pools in. If empty or unspecified, the service will attempt to choose a reasonable default.
1193 &quot;ipConfiguration&quot;: &quot;A String&quot;, # Configuration for VM IPs.
1194 &quot;metadata&quot;: { # Metadata to set on the Google Compute Engine VMs.
1195 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001196 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001197 &quot;teardownPolicy&quot;: &quot;A String&quot;, # Sets the policy for determining when to turndown worker pool. Allowed values are: `TEARDOWN_ALWAYS`, `TEARDOWN_ON_SUCCESS`, and `TEARDOWN_NEVER`. `TEARDOWN_ALWAYS` means workers are always torn down regardless of whether the job succeeds. `TEARDOWN_ON_SUCCESS` means workers are torn down if the job succeeds. `TEARDOWN_NEVER` means the workers are never torn down. If the workers are not torn down by the service, they will continue to run and use Google Compute Engine VM resources in the user&#x27;s project until they are explicitly terminated by the user. Because of this, Google recommends using the `TEARDOWN_ALWAYS` policy except for small, manually supervised test jobs. If unknown or unspecified, the service will attempt to choose a reasonable default.
1198 &quot;kind&quot;: &quot;A String&quot;, # The kind of the worker pool; currently only `harness` and `shuffle` are supported.
1199 &quot;numWorkers&quot;: 42, # Number of Google Compute Engine workers in this pool needed to execute the job. If zero or unspecified, the service will attempt to choose a reasonable default.
1200 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # The action to take on host maintenance, as defined by the Google Compute Engine API.
1201 &quot;workerHarnessContainerImage&quot;: &quot;A String&quot;, # Required. Docker container image that executes the Cloud Dataflow worker harness, residing in Google Container Registry. Deprecated for the Fn API path. Use sdk_harness_container_images instead.
1202 &quot;numThreadsPerWorker&quot;: 42, # The number of threads per worker harness. If empty or unspecified, the service will choose a number of threads (according to the number of cores on the selected machine type for batch, or 1 by convention for streaming).
1203 &quot;dataDisks&quot;: [ # Data disks that are used by a VM in this workflow.
1204 { # Describes the data disk used by a workflow job.
1205 &quot;sizeGb&quot;: 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
1206 &quot;mountPoint&quot;: &quot;A String&quot;, # Directory in a VM where disk is mounted.
1207 &quot;diskType&quot;: &quot;A String&quot;, # Disk storage type, as defined by Google Compute Engine. This must be a disk type appropriate to the project and zone in which the workers will run. If unknown or unspecified, the service will attempt to choose a reasonable default. For example, the standard persistent disk type is a resource name typically ending in &quot;pd-standard&quot;. If SSD persistent disks are available, the resource name typically ends with &quot;pd-ssd&quot;. The actual valid values are defined the Google Compute Engine API, not by the Cloud Dataflow API; consult the Google Compute Engine documentation for more information about determining the set of available disk types for a particular project and zone. Google Compute Engine Disk types are local to a particular project in a particular zone, and so the resource name will typically look something like this: compute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard
1208 },
1209 ],
1210 &quot;network&quot;: &quot;A String&quot;, # Network to which VMs will be assigned. If empty or unspecified, the service will use the network &quot;default&quot;.
1211 &quot;poolArgs&quot;: { # Extra arguments for this worker pool.
1212 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1213 },
1214 &quot;diskType&quot;: &quot;A String&quot;, # Type of root disk for VMs. If empty or unspecified, the service will attempt to choose a reasonable default.
1215 &quot;defaultPackageSet&quot;: &quot;A String&quot;, # The default package set to install. This allows the service to select a default set of packages which are useful to worker harnesses written in a particular language.
1216 &quot;sdkHarnessContainerImages&quot;: [ # Set of SDK harness containers needed to execute this pipeline. This will only be set in the Fn API path. For non-cross-language pipelines this should have only one entry. Cross-language pipelines will have two or more entries.
1217 { # Defines a SDK harness container for executing Dataflow pipelines.
1218 &quot;useSingleCorePerContainer&quot;: True or False, # If true, recommends the Dataflow service to use only one core per SDK container instance with this image. If false (or unset) recommends using more than one core per SDK container instance with this image for efficiency. Note that Dataflow service may choose to override this property if needed.
1219 &quot;containerImage&quot;: &quot;A String&quot;, # A docker container image that resides in Google Container Registry.
1220 },
1221 ],
1222 &quot;packages&quot;: [ # Packages to be installed on workers.
1223 { # The packages that must be installed in order for a worker to run the steps of the Cloud Dataflow job that will be assigned to its worker pool. This is the mechanism by which the Cloud Dataflow SDK causes code to be loaded onto the workers. For example, the Cloud Dataflow Java SDK might use this to install jars containing the user&#x27;s code and all of the various dependencies (libraries, data files, etc.) required in order for that code to run.
1224 &quot;location&quot;: &quot;A String&quot;, # The resource to read the package from. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket} bucket.storage.googleapis.com/
1225 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
1226 },
1227 ],
1228 &quot;subnetwork&quot;: &quot;A String&quot;, # Subnetwork to which VMs will be assigned, if desired. Expected to be of the form &quot;regions/REGION/subnetworks/SUBNETWORK&quot;.
1229 &quot;taskrunnerSettings&quot;: { # Taskrunner configuration settings. # Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner. Users should ignore this field.
1230 &quot;vmId&quot;: &quot;A String&quot;, # The ID string of the VM.
1231 &quot;languageHint&quot;: &quot;A String&quot;, # The suggested backend language.
1232 &quot;alsologtostderr&quot;: True or False, # Whether to also send taskrunner log info to stderr.
1233 &quot;baseTaskDir&quot;: &quot;A String&quot;, # The location on the worker for task-specific subdirectories.
1234 &quot;workflowFileName&quot;: &quot;A String&quot;, # The file to store the workflow in.
1235 &quot;taskGroup&quot;: &quot;A String&quot;, # The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g. &quot;wheel&quot;.
1236 &quot;logDir&quot;: &quot;A String&quot;, # The directory on the VM to store logs.
1237 &quot;parallelWorkerSettings&quot;: { # Provides data to pass through to the worker harness. # The settings to pass to the parallel worker harness.
1238 &quot;shuffleServicePath&quot;: &quot;A String&quot;, # The Shuffle service path relative to the root URL, for example, &quot;shuffle/v1beta1&quot;.
1239 &quot;reportingEnabled&quot;: True or False, # Whether to send work progress updates to the service.
1240 &quot;servicePath&quot;: &quot;A String&quot;, # The Cloud Dataflow service path relative to the root URL, for example, &quot;dataflow/v1b3/projects&quot;.
1241 &quot;workerId&quot;: &quot;A String&quot;, # The ID of the worker running this pipeline.
1242 &quot;tempStoragePrefix&quot;: &quot;A String&quot;, # The prefix of the resources the system should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
1243 &quot;baseUrl&quot;: &quot;A String&quot;, # The base URL for accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, &quot;Relative Uniform Resource Locators&quot;. If not specified, the default value is &quot;http://www.googleapis.com/&quot;
1244 },
1245 &quot;commandlinesFileName&quot;: &quot;A String&quot;, # The file to store preprocessing commands in.
1246 &quot;baseUrl&quot;: &quot;A String&quot;, # The base URL for the taskrunner to use when accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, &quot;Relative Uniform Resource Locators&quot;. If not specified, the default value is &quot;http://www.googleapis.com/&quot;
1247 &quot;oauthScopes&quot;: [ # The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
1248 &quot;A String&quot;,
1249 ],
1250 &quot;tempStoragePrefix&quot;: &quot;A String&quot;, # The prefix of the resources the taskrunner should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
1251 &quot;dataflowApiVersion&quot;: &quot;A String&quot;, # The API version of endpoint, e.g. &quot;v1b3&quot;
1252 &quot;taskUser&quot;: &quot;A String&quot;, # The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g. &quot;root&quot;.
1253 &quot;harnessCommand&quot;: &quot;A String&quot;, # The command to launch the worker harness.
1254 &quot;continueOnException&quot;: True or False, # Whether to continue taskrunner if an exception is hit.
1255 &quot;streamingWorkerMainClass&quot;: &quot;A String&quot;, # The streaming worker main class name.
1256 &quot;logToSerialconsole&quot;: True or False, # Whether to send taskrunner log info to Google Compute Engine VM serial console.
1257 &quot;logUploadLocation&quot;: &quot;A String&quot;, # Indicates where to put logs. If this is not specified, the logs will not be uploaded. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
1258 },
1259 &quot;diskSourceImage&quot;: &quot;A String&quot;, # Fully qualified source image for disks.
1260 &quot;autoscalingSettings&quot;: { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
1261 &quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap scaling at.
1262 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for autoscaling.
1263 },
1264 },
1265 ],
1266 &quot;flexResourceSchedulingGoal&quot;: &quot;A String&quot;, # Which Flexible Resource Scheduling mode to run in.
1267 &quot;workerZone&quot;: &quot;A String&quot;, # The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. &quot;us-west1-a&quot;. Mutually exclusive with worker_region. If neither worker_region nor worker_zone is specified, a zone in the control plane&#x27;s region is chosen based on available capacity.
1268 &quot;dataset&quot;: &quot;A String&quot;, # The dataset for the current project where various workflow related tables are stored. The supported resource type is: Google BigQuery: bigquery.googleapis.com/{dataset}
1269 &quot;workerRegion&quot;: &quot;A String&quot;, # The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. &quot;us-west1&quot;. Mutually exclusive with worker_zone. If neither worker_region nor worker_zone is specified, default to the control plane&#x27;s region.
1270 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Identity to run virtual machines as. Defaults to the default account.
1271 &quot;experiments&quot;: [ # The list of experiments to enable.
1272 &quot;A String&quot;,
1273 ],
1274 &quot;serviceKmsKeyName&quot;: &quot;A String&quot;, # If set, contains the Cloud KMS key identifier used to encrypt data at rest, AKA a Customer Managed Encryption Key (CMEK). Format: projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY
1275 },
1276 &quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
1277 &quot;executionInfo&quot;: { # Additional information about how a Cloud Dataflow job will be executed that isn&#x27;t contained in the submitted job. # Deprecated.
1278 &quot;stages&quot;: { # A mapping from each stage to the information about that stage.
1279 &quot;a_key&quot;: { # Contains information about how a particular google.dataflow.v1beta3.Step will be executed.
1280 &quot;stepName&quot;: [ # The steps associated with the execution stage. Note that stages may have several steps, and that a given step might be run by more than one stage.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001281 &quot;A String&quot;,
1282 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001283 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001284 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001285 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001286 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
1287 &quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
1288 &quot;requestedState&quot;: &quot;A String&quot;, # The job&#x27;s requested state. `UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and `JOB_STATE_RUNNING` states, by setting requested_state. `UpdateJob` may also be used to directly set a job&#x27;s requested state to `JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the job if it has not already reached a terminal state.
1289 &quot;pipelineDescription&quot;: { # A descriptive representation of submitted pipeline as well as the executed form. This data is provided by the Dataflow service for ease of visualizing the pipeline and interpreting Dataflow provided metrics. # 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.
1290 &quot;executionPipelineStage&quot;: [ # Description of each stage of execution of the pipeline.
1291 { # Description of the composing transforms, names/ids, and input/outputs of a stage of execution. Some composing transforms and sources may have been generated by the Dataflow service during execution planning.
1292 &quot;componentSource&quot;: [ # Collections produced and consumed by component transforms of this stage.
1293 { # Description of an interstitial value between transforms in an execution stage.
1294 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
1295 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1296 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1297 },
1298 ],
1299 &quot;prerequisiteStage&quot;: [ # Other stages that must complete before this stage can run.
1300 &quot;A String&quot;,
1301 ],
1302 &quot;componentTransform&quot;: [ # Transforms that comprise this execution stage.
1303 { # Description of a transform executed as part of an execution stage.
1304 &quot;originalTransform&quot;: &quot;A String&quot;, # User name for the original user transform with which this transform is most closely associated.
1305 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
1306 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1307 },
1308 ],
1309 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this stage.
1310 &quot;inputSource&quot;: [ # Input sources for this stage.
1311 { # Description of an input or output of an execution stage.
1312 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1313 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
1314 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
1315 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1316 },
1317 ],
1318 &quot;id&quot;: &quot;A String&quot;, # Dataflow service generated id for this stage.
1319 &quot;outputSource&quot;: [ # Output sources for this stage.
1320 { # Description of an input or output of an execution stage.
1321 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1322 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
1323 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
1324 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1325 },
1326 ],
1327 &quot;kind&quot;: &quot;A String&quot;, # Type of tranform this stage is executing.
1328 },
1329 ],
1330 &quot;originalPipelineTransform&quot;: [ # Description of each transform in the pipeline and collections between them.
1331 { # Description of the type, names/ids, and input/outputs for a transform.
1332 &quot;outputCollectionName&quot;: [ # User names for all collection outputs to this transform.
1333 &quot;A String&quot;,
1334 ],
1335 &quot;name&quot;: &quot;A String&quot;, # User provided name for this transform instance.
1336 &quot;inputCollectionName&quot;: [ # User names for all collection inputs to this transform.
1337 &quot;A String&quot;,
1338 ],
1339 &quot;kind&quot;: &quot;A String&quot;, # Type of transform.
1340 &quot;id&quot;: &quot;A String&quot;, # SDK generated id of this transform instance.
1341 &quot;displayData&quot;: [ # Transform-specific display data.
1342 { # Data provided with a pipeline or transform to provide descriptive info.
1343 &quot;key&quot;: &quot;A String&quot;, # The key identifying the display data. This is intended to be used as a label for the display data when viewed in a dax monitoring system.
1344 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
1345 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
1346 &quot;namespace&quot;: &quot;A String&quot;, # The namespace for the key. This is usually a class name or programming language namespace (i.e. python module) which defines the display data. This allows a dax monitoring system to specially handle the data and perform custom rendering.
1347 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
1348 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
1349 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
1350 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
1351 &quot;shortStrValue&quot;: &quot;A String&quot;, # A possible additional shorter value to display. For example a java_class_name_value of com.mypackage.MyDoFn will be stored with MyDoFn as the short_str_value and com.mypackage.MyDoFn as the java_class_name value. short_str_value can be displayed and java_class_name_value will be displayed as a tooltip.
1352 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
1353 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
1354 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
1355 },
1356 ],
1357 },
1358 ],
1359 &quot;displayData&quot;: [ # Pipeline level display data.
1360 { # Data provided with a pipeline or transform to provide descriptive info.
1361 &quot;key&quot;: &quot;A String&quot;, # The key identifying the display data. This is intended to be used as a label for the display data when viewed in a dax monitoring system.
1362 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
1363 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
1364 &quot;namespace&quot;: &quot;A String&quot;, # The namespace for the key. This is usually a class name or programming language namespace (i.e. python module) which defines the display data. This allows a dax monitoring system to specially handle the data and perform custom rendering.
1365 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
1366 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
1367 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
1368 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
1369 &quot;shortStrValue&quot;: &quot;A String&quot;, # A possible additional shorter value to display. For example a java_class_name_value of com.mypackage.MyDoFn will be stored with MyDoFn as the short_str_value and com.mypackage.MyDoFn as the java_class_name value. short_str_value can be displayed and java_class_name_value will be displayed as a tooltip.
1370 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
1371 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
1372 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
1373 },
1374 ],
1375 },
1376 &quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
1377 &quot;tempFiles&quot;: [ # 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}
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001378 &quot;A String&quot;,
1379 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001380 }</pre>
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001381</div>
1382
1383<div class="method">
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001384 <code class="details" id="getMetrics">getMetrics(projectId, jobId, startTime=None, location=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001385 <pre>Request the job status. To request the status of a job, we recommend using `projects.locations.jobs.getMetrics` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.getMetrics` is not recommended, as you can only request the status of jobs that are running in `us-central1`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001386
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001387Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001388 projectId: string, A project id. (required)
1389 jobId: string, The job to get metrics for. (required)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001390 startTime: string, Return only metric data that has changed since this time. Default is to return all information about all metrics for the job.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001391 location: string, The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.
Takashi Matsuo06694102015-09-11 13:55:40 -07001392 x__xgafv: string, V1 error format.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001393 Allowed values
1394 1 - v1 error format
1395 2 - v2 error format
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001396
1397Returns:
1398 An object of the form:
1399
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001400 { # JobMetrics contains a collection of metrics describing the detailed progress of a Dataflow job. Metrics correspond to user-defined and system-defined metrics in the job. This resource captures only the most recent values of each metric; time-series data can be queried for them (under the same metric names) from Cloud Monitoring.
1401 &quot;metrics&quot;: [ # All metrics for this job.
1402 { # Describes the state of a metric.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001403 &quot;meanSum&quot;: &quot;&quot;, # Worker-computed aggregate value for the &quot;Mean&quot; aggregation kind. This holds the sum of the aggregated values and is used in combination with mean_count below to obtain the actual mean aggregate value. The only possible value types are Long and Double.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001404 &quot;internal&quot;: &quot;&quot;, # Worker-computed aggregate value for internal use by the Dataflow service.
1405 &quot;set&quot;: &quot;&quot;, # Worker-computed aggregate value for the &quot;Set&quot; aggregation kind. The only possible value type is a list of Values whose type can be Long, Double, or String, according to the metric&#x27;s type. All Values in the list must be of the same type.
1406 &quot;kind&quot;: &quot;A String&quot;, # Metric aggregation kind. The possible metric aggregation kinds are &quot;Sum&quot;, &quot;Max&quot;, &quot;Min&quot;, &quot;Mean&quot;, &quot;Set&quot;, &quot;And&quot;, &quot;Or&quot;, and &quot;Distribution&quot;. The specified aggregation kind is case-insensitive. If omitted, this is not an aggregated value but instead a single metric sample value.
1407 &quot;updateTime&quot;: &quot;A String&quot;, # Timestamp associated with the metric value. Optional when workers are reporting work progress; it will be filled in responses from the metrics API.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001408 &quot;cumulative&quot;: True or False, # True if this metric is reported as the total cumulative aggregate value accumulated since the worker started working on this WorkItem. By default this is false, indicating that this metric is reported as a delta that is not associated with any WorkItem.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001409 &quot;meanCount&quot;: &quot;&quot;, # Worker-computed aggregate value for the &quot;Mean&quot; aggregation kind. This holds the count of the aggregated values and is used in combination with mean_sum above to obtain the actual mean aggregate value. The only possible value type is Long.
1410 &quot;gauge&quot;: &quot;&quot;, # A struct value describing properties of a Gauge. Metrics of gauge type show the value of a metric across time, and is aggregated based on the newest value.
1411 &quot;distribution&quot;: &quot;&quot;, # A struct value describing properties of a distribution of numeric values.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001412 &quot;name&quot;: { # Identifies a metric, by describing the source which generated the metric. # Name of the metric.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001413 &quot;origin&quot;: &quot;A String&quot;, # Origin (namespace) of metric name. May be blank for user-define metrics; will be &quot;dataflow&quot; for metrics defined by the Dataflow service or SDK.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001414 &quot;name&quot;: &quot;A String&quot;, # Worker-defined metric name.
1415 &quot;context&quot;: { # Zero or more labeled fields which identify the part of the job this metric is associated with, such as the name of a step or collection. For example, built-in counters associated with steps will have context[&#x27;step&#x27;] = . Counters associated with PCollections in the SDK will have context[&#x27;pcollection&#x27;] = .
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001416 &quot;a_key&quot;: &quot;A String&quot;,
1417 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001418 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001419 &quot;scalar&quot;: &quot;&quot;, # Worker-computed aggregate value for aggregation kinds &quot;Sum&quot;, &quot;Max&quot;, &quot;Min&quot;, &quot;And&quot;, and &quot;Or&quot;. The possible value types are Long, Double, and Boolean.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001420 },
1421 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001422 &quot;metricTime&quot;: &quot;A String&quot;, # Timestamp as of which metric values are current.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001423 }</pre>
1424</div>
1425
1426<div class="method">
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001427 <code class="details" id="list">list(projectId, location=None, pageSize=None, filter=None, view=None, pageToken=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001428 <pre>List the jobs of a project. To list the jobs of a project in a region, we recommend using `projects.locations.jobs.list` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). To list the all jobs across all regions, use `projects.jobs.aggregated`. Using `projects.jobs.list` is not recommended, as you can only get the list of jobs that are running in `us-central1`.
1429
1430Args:
1431 projectId: string, The project which owns the jobs. (required)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001432 location: string, The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
1433 pageSize: integer, If there are many jobs, limit response to at most this many. The actual number of jobs returned will be the lesser of max_responses and an unspecified server-defined limit.
1434 filter: string, The kind of filter to use.
1435 Allowed values
1436 UNKNOWN - The filter isn&#x27;t specified, or is unknown. This returns all jobs ordered on descending `JobUuid`.
1437 ALL - Returns all running jobs first ordered on creation timestamp, then returns all terminated jobs ordered on the termination timestamp.
1438 TERMINATED - Filters the jobs that have a terminated state, ordered on the termination timestamp. Example terminated states: `JOB_STATE_STOPPED`, `JOB_STATE_UPDATED`, `JOB_STATE_DRAINED`, etc.
1439 ACTIVE - Filters the jobs that are running ordered on the creation timestamp.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001440 view: string, Level of information requested in response. Default is `JOB_VIEW_SUMMARY`.
1441 Allowed values
1442 JOB_VIEW_UNKNOWN - The job view to return isn&#x27;t specified, or is unknown. Responses will contain at least the `JOB_VIEW_SUMMARY` information, and may contain additional information.
1443 JOB_VIEW_SUMMARY - Request summary information only: Project ID, Job ID, job name, job type, job status, start/end time, and Cloud SDK version details.
1444 JOB_VIEW_ALL - Request all information available for this job.
1445 JOB_VIEW_DESCRIPTION - Request summary info and limited job description data for steps, labels and environment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001446 pageToken: string, Set this to the &#x27;next_page_token&#x27; field of a previous response to request additional results in a long list.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001447 x__xgafv: string, V1 error format.
1448 Allowed values
1449 1 - v1 error format
1450 2 - v2 error format
1451
1452Returns:
1453 An object of the form:
1454
1455 { # Response to a request to list Cloud Dataflow jobs in a project. This might be a partial response, depending on the page size in the ListJobsRequest. However, if the project does not have any jobs, an instance of ListJobsResponse is not returned and the requests&#x27;s response body is empty {}.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001456 &quot;nextPageToken&quot;: &quot;A String&quot;, # Set if there may be more results than fit in this response.
1457 &quot;failedLocation&quot;: [ # Zero or more messages describing the [regional endpoints] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that failed to respond.
1458 { # Indicates which [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) failed to respond to a request for data.
1459 &quot;name&quot;: &quot;A String&quot;, # The name of the [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that failed to respond.
1460 },
1461 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001462 &quot;jobs&quot;: [ # A subset of the requested job information.
1463 { # Defines a job to be run by the Cloud Dataflow service.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001464 &quot;startTime&quot;: &quot;A String&quot;, # 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 start_time is unset before start and is updated when the job is started by the Cloud Dataflow service. For other jobs, start_time always equals to create_time and is immutable and set by the Cloud Dataflow service.
1465 &quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
1466 &quot;clientRequestId&quot;: &quot;A String&quot;, # The client&#x27;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&#x27;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.
1467 &quot;jobMetadata&quot;: { # Metadata available primarily for filtering jobs. Will be included in the ListJob response and Job SUMMARY view. # This field is populated by the Dataflow service to support filtering jobs by the metadata values provided here. Populated for ListJobs and all GetJob views SUMMARY and higher.
1468 &quot;datastoreDetails&quot;: [ # Identification of a Datastore source used in the Dataflow job.
1469 { # Metadata for a Datastore connector used by the job.
1470 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
1471 &quot;namespace&quot;: &quot;A String&quot;, # Namespace used in the connection.
1472 },
1473 ],
1474 &quot;bigqueryDetails&quot;: [ # Identification of a BigQuery source used in the Dataflow job.
1475 { # Metadata for a BigQuery connector used by the job.
1476 &quot;projectId&quot;: &quot;A String&quot;, # Project accessed in the connection.
1477 &quot;table&quot;: &quot;A String&quot;, # Table accessed in the connection.
1478 &quot;dataset&quot;: &quot;A String&quot;, # Dataset accessed in the connection.
1479 &quot;query&quot;: &quot;A String&quot;, # Query used to access data in the connection.
1480 },
1481 ],
1482 &quot;sdkVersion&quot;: { # The version of the SDK used to run the job. # The SDK version used to run the job.
1483 &quot;version&quot;: &quot;A String&quot;, # The version of the SDK used to run the job.
1484 &quot;versionDisplayName&quot;: &quot;A String&quot;, # A readable string describing the version of the SDK.
1485 &quot;sdkSupportStatus&quot;: &quot;A String&quot;, # The support status for this SDK version.
1486 },
1487 &quot;pubsubDetails&quot;: [ # Identification of a PubSub source used in the Dataflow job.
1488 { # Metadata for a PubSub connector used by the job.
1489 &quot;topic&quot;: &quot;A String&quot;, # Topic accessed in the connection.
1490 &quot;subscription&quot;: &quot;A String&quot;, # Subscription used in the connection.
1491 },
1492 ],
1493 &quot;fileDetails&quot;: [ # Identification of a File source used in the Dataflow job.
1494 { # Metadata for a File connector used by the job.
1495 &quot;filePattern&quot;: &quot;A String&quot;, # File Pattern used to access files by the connector.
1496 },
1497 ],
1498 &quot;bigTableDetails&quot;: [ # Identification of a BigTable source used in the Dataflow job.
1499 { # Metadata for a BigTable connector used by the job.
1500 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
1501 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
1502 &quot;tableId&quot;: &quot;A String&quot;, # TableId accessed in the connection.
1503 },
1504 ],
1505 &quot;spannerDetails&quot;: [ # Identification of a Spanner source used in the Dataflow job.
1506 { # Metadata for a Spanner connector used by the job.
1507 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
1508 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
1509 &quot;databaseId&quot;: &quot;A String&quot;, # DatabaseId accessed in the connection.
1510 },
1511 ],
1512 },
1513 &quot;stepsLocation&quot;: &quot;A String&quot;, # The GCS location where the steps are stored.
1514 &quot;labels&quot;: { # 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: * Keys must conform to regexp: \p{Ll}\p{Lo}{0,62} * Values must conform to regexp: [\p{Ll}\p{Lo}\p{N}_-]{0,63} * Both keys and values are additionally constrained to be &lt;= 128 bytes in size.
1515 &quot;a_key&quot;: &quot;A String&quot;,
1516 },
1517 &quot;replacedByJobId&quot;: &quot;A String&quot;, # If another job is an update of this job (and thus, this job is in `JOB_STATE_UPDATED`), this field contains the ID of that job.
1518 &quot;stageStates&quot;: [ # This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
1519 { # A message describing the state of a particular execution stage.
1520 &quot;currentStateTime&quot;: &quot;A String&quot;, # The time at which the stage transitioned to this state.
1521 &quot;executionStageName&quot;: &quot;A String&quot;, # The name of the execution stage.
1522 &quot;executionStageState&quot;: &quot;A String&quot;, # Executions stage states allow the same set of values as JobState.
1523 },
1524 ],
1525 &quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
1526 &quot;a_key&quot;: &quot;A String&quot;,
1527 },
1528 &quot;steps&quot;: [ # Exactly one of step or steps_location should be specified. The top-level steps that constitute the entire job. Only retrieved with JOB_VIEW_ALL.
1529 { # Defines a particular step within a Cloud Dataflow job. A job consists of multiple steps, each of which performs some specific operation as part of the overall job. Data is typically passed from one step to another as part of the job. Here&#x27;s an example of a sequence of steps which together implement a Map-Reduce job: * Read a collection of data from some source, parsing the collection&#x27;s elements. * Validate the elements. * Apply a user-defined function to map each element to some value and extract an element-specific key value. * Group elements with the same key into a single element with that key, transforming a multiply-keyed collection into a uniquely-keyed collection. * Write the elements out to some data sink. Note that the Cloud Dataflow service may be used to run many different types of jobs, not just Map-Reduce.
1530 &quot;name&quot;: &quot;A String&quot;, # The name that identifies the step. This must be unique for each step with respect to all other steps in the Cloud Dataflow job.
1531 &quot;properties&quot;: { # Named properties associated with the step. Each kind of predefined step has its own required set of properties. Must be provided on Create. Only retrieved with JOB_VIEW_ALL.
1532 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1533 },
1534 &quot;kind&quot;: &quot;A String&quot;, # The kind of step in the Cloud Dataflow job.
1535 },
1536 ],
1537 &quot;id&quot;: &quot;A String&quot;, # 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.
1538 &quot;name&quot;: &quot;A String&quot;, # 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 `[a-z]([-a-z0-9]{0,38}[a-z0-9])?`
1539 &quot;currentState&quot;: &quot;A String&quot;, # The current state of the job. Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise specified. A job in the `JOB_STATE_RUNNING` state may asynchronously enter a terminal state. After a job has reached a terminal state, no further state updates may be made. This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
1540 &quot;replaceJobId&quot;: &quot;A String&quot;, # If this job is an update of an existing job, this field is the job ID of the job it replaced. When sending a `CreateJobRequest`, you can update a job by specifying it here. The job named here is stopped, and its intermediate state is transferred to this job.
1541 &quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
1542 &quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
1543 &quot;userAgent&quot;: { # A description of the process that generated the request.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001544 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1545 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001546 &quot;clusterManagerApiService&quot;: &quot;A String&quot;, # The type of cluster manager API to use. If unknown or unspecified, the service will attempt to choose a reasonable default. This should be in the form of the API service name, e.g. &quot;compute.googleapis.com&quot;.
1547 &quot;tempStoragePrefix&quot;: &quot;A String&quot;, # The prefix of the resources the system should use for temporary storage. The system will append the suffix &quot;/temp-{JOBNAME} to this resource prefix, where {JOBNAME} is the value of the job_name field. The resulting bucket and object prefix is used as the prefix of the resources used to store temporary data needed during the job execution. NOTE: This will override the value in taskrunner_settings. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
1548 &quot;version&quot;: { # A structure describing which components and their versions of the service are required in order to run the job.
1549 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001550 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001551 &quot;internalExperiments&quot;: { # Experimental settings.
1552 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001553 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001554 &quot;sdkPipelineOptions&quot;: { # The Cloud Dataflow SDK pipeline options specified by the user. These options are passed through the service and are used to recreate the SDK pipeline options on the worker in a language agnostic and platform independent way.
1555 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001556 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001557 &quot;workerPools&quot;: [ # The worker pools. At least one &quot;harness&quot; worker pool must be specified in order for the job to have workers.
1558 { # Describes one particular pool of Cloud Dataflow workers to be instantiated by the Cloud Dataflow service in order to perform the computations required by a job. Note that a workflow job may use multiple pools, in order to match the various computational requirements of the various stages of the job.
1559 &quot;diskSizeGb&quot;: 42, # Size of root disk for VMs, in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
1560 &quot;machineType&quot;: &quot;A String&quot;, # Machine type (e.g. &quot;n1-standard-1&quot;). If empty or unspecified, the service will attempt to choose a reasonable default.
1561 &quot;zone&quot;: &quot;A String&quot;, # Zone to run the worker pools in. If empty or unspecified, the service will attempt to choose a reasonable default.
1562 &quot;ipConfiguration&quot;: &quot;A String&quot;, # Configuration for VM IPs.
1563 &quot;metadata&quot;: { # Metadata to set on the Google Compute Engine VMs.
1564 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001565 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001566 &quot;teardownPolicy&quot;: &quot;A String&quot;, # Sets the policy for determining when to turndown worker pool. Allowed values are: `TEARDOWN_ALWAYS`, `TEARDOWN_ON_SUCCESS`, and `TEARDOWN_NEVER`. `TEARDOWN_ALWAYS` means workers are always torn down regardless of whether the job succeeds. `TEARDOWN_ON_SUCCESS` means workers are torn down if the job succeeds. `TEARDOWN_NEVER` means the workers are never torn down. If the workers are not torn down by the service, they will continue to run and use Google Compute Engine VM resources in the user&#x27;s project until they are explicitly terminated by the user. Because of this, Google recommends using the `TEARDOWN_ALWAYS` policy except for small, manually supervised test jobs. If unknown or unspecified, the service will attempt to choose a reasonable default.
1567 &quot;kind&quot;: &quot;A String&quot;, # The kind of the worker pool; currently only `harness` and `shuffle` are supported.
1568 &quot;numWorkers&quot;: 42, # Number of Google Compute Engine workers in this pool needed to execute the job. If zero or unspecified, the service will attempt to choose a reasonable default.
1569 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # The action to take on host maintenance, as defined by the Google Compute Engine API.
1570 &quot;workerHarnessContainerImage&quot;: &quot;A String&quot;, # Required. Docker container image that executes the Cloud Dataflow worker harness, residing in Google Container Registry. Deprecated for the Fn API path. Use sdk_harness_container_images instead.
1571 &quot;numThreadsPerWorker&quot;: 42, # The number of threads per worker harness. If empty or unspecified, the service will choose a number of threads (according to the number of cores on the selected machine type for batch, or 1 by convention for streaming).
1572 &quot;dataDisks&quot;: [ # Data disks that are used by a VM in this workflow.
1573 { # Describes the data disk used by a workflow job.
1574 &quot;sizeGb&quot;: 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
1575 &quot;mountPoint&quot;: &quot;A String&quot;, # Directory in a VM where disk is mounted.
1576 &quot;diskType&quot;: &quot;A String&quot;, # Disk storage type, as defined by Google Compute Engine. This must be a disk type appropriate to the project and zone in which the workers will run. If unknown or unspecified, the service will attempt to choose a reasonable default. For example, the standard persistent disk type is a resource name typically ending in &quot;pd-standard&quot;. If SSD persistent disks are available, the resource name typically ends with &quot;pd-ssd&quot;. The actual valid values are defined the Google Compute Engine API, not by the Cloud Dataflow API; consult the Google Compute Engine documentation for more information about determining the set of available disk types for a particular project and zone. Google Compute Engine Disk types are local to a particular project in a particular zone, and so the resource name will typically look something like this: compute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard
1577 },
1578 ],
1579 &quot;network&quot;: &quot;A String&quot;, # Network to which VMs will be assigned. If empty or unspecified, the service will use the network &quot;default&quot;.
1580 &quot;poolArgs&quot;: { # Extra arguments for this worker pool.
1581 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1582 },
1583 &quot;diskType&quot;: &quot;A String&quot;, # Type of root disk for VMs. If empty or unspecified, the service will attempt to choose a reasonable default.
1584 &quot;defaultPackageSet&quot;: &quot;A String&quot;, # The default package set to install. This allows the service to select a default set of packages which are useful to worker harnesses written in a particular language.
1585 &quot;sdkHarnessContainerImages&quot;: [ # Set of SDK harness containers needed to execute this pipeline. This will only be set in the Fn API path. For non-cross-language pipelines this should have only one entry. Cross-language pipelines will have two or more entries.
1586 { # Defines a SDK harness container for executing Dataflow pipelines.
1587 &quot;useSingleCorePerContainer&quot;: True or False, # If true, recommends the Dataflow service to use only one core per SDK container instance with this image. If false (or unset) recommends using more than one core per SDK container instance with this image for efficiency. Note that Dataflow service may choose to override this property if needed.
1588 &quot;containerImage&quot;: &quot;A String&quot;, # A docker container image that resides in Google Container Registry.
1589 },
1590 ],
1591 &quot;packages&quot;: [ # Packages to be installed on workers.
1592 { # The packages that must be installed in order for a worker to run the steps of the Cloud Dataflow job that will be assigned to its worker pool. This is the mechanism by which the Cloud Dataflow SDK causes code to be loaded onto the workers. For example, the Cloud Dataflow Java SDK might use this to install jars containing the user&#x27;s code and all of the various dependencies (libraries, data files, etc.) required in order for that code to run.
1593 &quot;location&quot;: &quot;A String&quot;, # The resource to read the package from. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket} bucket.storage.googleapis.com/
1594 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
1595 },
1596 ],
1597 &quot;subnetwork&quot;: &quot;A String&quot;, # Subnetwork to which VMs will be assigned, if desired. Expected to be of the form &quot;regions/REGION/subnetworks/SUBNETWORK&quot;.
1598 &quot;taskrunnerSettings&quot;: { # Taskrunner configuration settings. # Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner. Users should ignore this field.
1599 &quot;vmId&quot;: &quot;A String&quot;, # The ID string of the VM.
1600 &quot;languageHint&quot;: &quot;A String&quot;, # The suggested backend language.
1601 &quot;alsologtostderr&quot;: True or False, # Whether to also send taskrunner log info to stderr.
1602 &quot;baseTaskDir&quot;: &quot;A String&quot;, # The location on the worker for task-specific subdirectories.
1603 &quot;workflowFileName&quot;: &quot;A String&quot;, # The file to store the workflow in.
1604 &quot;taskGroup&quot;: &quot;A String&quot;, # The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g. &quot;wheel&quot;.
1605 &quot;logDir&quot;: &quot;A String&quot;, # The directory on the VM to store logs.
1606 &quot;parallelWorkerSettings&quot;: { # Provides data to pass through to the worker harness. # The settings to pass to the parallel worker harness.
1607 &quot;shuffleServicePath&quot;: &quot;A String&quot;, # The Shuffle service path relative to the root URL, for example, &quot;shuffle/v1beta1&quot;.
1608 &quot;reportingEnabled&quot;: True or False, # Whether to send work progress updates to the service.
1609 &quot;servicePath&quot;: &quot;A String&quot;, # The Cloud Dataflow service path relative to the root URL, for example, &quot;dataflow/v1b3/projects&quot;.
1610 &quot;workerId&quot;: &quot;A String&quot;, # The ID of the worker running this pipeline.
1611 &quot;tempStoragePrefix&quot;: &quot;A String&quot;, # The prefix of the resources the system should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
1612 &quot;baseUrl&quot;: &quot;A String&quot;, # The base URL for accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, &quot;Relative Uniform Resource Locators&quot;. If not specified, the default value is &quot;http://www.googleapis.com/&quot;
1613 },
1614 &quot;commandlinesFileName&quot;: &quot;A String&quot;, # The file to store preprocessing commands in.
1615 &quot;baseUrl&quot;: &quot;A String&quot;, # The base URL for the taskrunner to use when accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, &quot;Relative Uniform Resource Locators&quot;. If not specified, the default value is &quot;http://www.googleapis.com/&quot;
1616 &quot;oauthScopes&quot;: [ # The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
1617 &quot;A String&quot;,
1618 ],
1619 &quot;tempStoragePrefix&quot;: &quot;A String&quot;, # The prefix of the resources the taskrunner should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
1620 &quot;dataflowApiVersion&quot;: &quot;A String&quot;, # The API version of endpoint, e.g. &quot;v1b3&quot;
1621 &quot;taskUser&quot;: &quot;A String&quot;, # The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g. &quot;root&quot;.
1622 &quot;harnessCommand&quot;: &quot;A String&quot;, # The command to launch the worker harness.
1623 &quot;continueOnException&quot;: True or False, # Whether to continue taskrunner if an exception is hit.
1624 &quot;streamingWorkerMainClass&quot;: &quot;A String&quot;, # The streaming worker main class name.
1625 &quot;logToSerialconsole&quot;: True or False, # Whether to send taskrunner log info to Google Compute Engine VM serial console.
1626 &quot;logUploadLocation&quot;: &quot;A String&quot;, # Indicates where to put logs. If this is not specified, the logs will not be uploaded. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
1627 },
1628 &quot;diskSourceImage&quot;: &quot;A String&quot;, # Fully qualified source image for disks.
1629 &quot;autoscalingSettings&quot;: { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
1630 &quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap scaling at.
1631 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for autoscaling.
1632 },
1633 },
1634 ],
1635 &quot;flexResourceSchedulingGoal&quot;: &quot;A String&quot;, # Which Flexible Resource Scheduling mode to run in.
1636 &quot;workerZone&quot;: &quot;A String&quot;, # The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. &quot;us-west1-a&quot;. Mutually exclusive with worker_region. If neither worker_region nor worker_zone is specified, a zone in the control plane&#x27;s region is chosen based on available capacity.
1637 &quot;dataset&quot;: &quot;A String&quot;, # The dataset for the current project where various workflow related tables are stored. The supported resource type is: Google BigQuery: bigquery.googleapis.com/{dataset}
1638 &quot;workerRegion&quot;: &quot;A String&quot;, # The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. &quot;us-west1&quot;. Mutually exclusive with worker_zone. If neither worker_region nor worker_zone is specified, default to the control plane&#x27;s region.
1639 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Identity to run virtual machines as. Defaults to the default account.
1640 &quot;experiments&quot;: [ # The list of experiments to enable.
1641 &quot;A String&quot;,
1642 ],
1643 &quot;serviceKmsKeyName&quot;: &quot;A String&quot;, # If set, contains the Cloud KMS key identifier used to encrypt data at rest, AKA a Customer Managed Encryption Key (CMEK). Format: projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY
1644 },
1645 &quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
1646 &quot;executionInfo&quot;: { # Additional information about how a Cloud Dataflow job will be executed that isn&#x27;t contained in the submitted job. # Deprecated.
1647 &quot;stages&quot;: { # A mapping from each stage to the information about that stage.
1648 &quot;a_key&quot;: { # Contains information about how a particular google.dataflow.v1beta3.Step will be executed.
1649 &quot;stepName&quot;: [ # The steps associated with the execution stage. Note that stages may have several steps, and that a given step might be run by more than one stage.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001650 &quot;A String&quot;,
1651 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001652 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001653 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001654 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001655 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
1656 &quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
1657 &quot;requestedState&quot;: &quot;A String&quot;, # The job&#x27;s requested state. `UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and `JOB_STATE_RUNNING` states, by setting requested_state. `UpdateJob` may also be used to directly set a job&#x27;s requested state to `JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the job if it has not already reached a terminal state.
1658 &quot;pipelineDescription&quot;: { # A descriptive representation of submitted pipeline as well as the executed form. This data is provided by the Dataflow service for ease of visualizing the pipeline and interpreting Dataflow provided metrics. # 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.
1659 &quot;executionPipelineStage&quot;: [ # Description of each stage of execution of the pipeline.
1660 { # Description of the composing transforms, names/ids, and input/outputs of a stage of execution. Some composing transforms and sources may have been generated by the Dataflow service during execution planning.
1661 &quot;componentSource&quot;: [ # Collections produced and consumed by component transforms of this stage.
1662 { # Description of an interstitial value between transforms in an execution stage.
1663 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
1664 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1665 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1666 },
1667 ],
1668 &quot;prerequisiteStage&quot;: [ # Other stages that must complete before this stage can run.
1669 &quot;A String&quot;,
1670 ],
1671 &quot;componentTransform&quot;: [ # Transforms that comprise this execution stage.
1672 { # Description of a transform executed as part of an execution stage.
1673 &quot;originalTransform&quot;: &quot;A String&quot;, # User name for the original user transform with which this transform is most closely associated.
1674 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
1675 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1676 },
1677 ],
1678 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this stage.
1679 &quot;inputSource&quot;: [ # Input sources for this stage.
1680 { # Description of an input or output of an execution stage.
1681 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1682 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
1683 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
1684 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1685 },
1686 ],
1687 &quot;id&quot;: &quot;A String&quot;, # Dataflow service generated id for this stage.
1688 &quot;outputSource&quot;: [ # Output sources for this stage.
1689 { # Description of an input or output of an execution stage.
1690 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1691 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
1692 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
1693 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1694 },
1695 ],
1696 &quot;kind&quot;: &quot;A String&quot;, # Type of tranform this stage is executing.
1697 },
1698 ],
1699 &quot;originalPipelineTransform&quot;: [ # Description of each transform in the pipeline and collections between them.
1700 { # Description of the type, names/ids, and input/outputs for a transform.
1701 &quot;outputCollectionName&quot;: [ # User names for all collection outputs to this transform.
1702 &quot;A String&quot;,
1703 ],
1704 &quot;name&quot;: &quot;A String&quot;, # User provided name for this transform instance.
1705 &quot;inputCollectionName&quot;: [ # User names for all collection inputs to this transform.
1706 &quot;A String&quot;,
1707 ],
1708 &quot;kind&quot;: &quot;A String&quot;, # Type of transform.
1709 &quot;id&quot;: &quot;A String&quot;, # SDK generated id of this transform instance.
1710 &quot;displayData&quot;: [ # Transform-specific display data.
1711 { # Data provided with a pipeline or transform to provide descriptive info.
1712 &quot;key&quot;: &quot;A String&quot;, # The key identifying the display data. This is intended to be used as a label for the display data when viewed in a dax monitoring system.
1713 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
1714 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
1715 &quot;namespace&quot;: &quot;A String&quot;, # The namespace for the key. This is usually a class name or programming language namespace (i.e. python module) which defines the display data. This allows a dax monitoring system to specially handle the data and perform custom rendering.
1716 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
1717 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
1718 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
1719 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
1720 &quot;shortStrValue&quot;: &quot;A String&quot;, # A possible additional shorter value to display. For example a java_class_name_value of com.mypackage.MyDoFn will be stored with MyDoFn as the short_str_value and com.mypackage.MyDoFn as the java_class_name value. short_str_value can be displayed and java_class_name_value will be displayed as a tooltip.
1721 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
1722 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
1723 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
1724 },
1725 ],
1726 },
1727 ],
1728 &quot;displayData&quot;: [ # Pipeline level display data.
1729 { # Data provided with a pipeline or transform to provide descriptive info.
1730 &quot;key&quot;: &quot;A String&quot;, # The key identifying the display data. This is intended to be used as a label for the display data when viewed in a dax monitoring system.
1731 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
1732 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
1733 &quot;namespace&quot;: &quot;A String&quot;, # The namespace for the key. This is usually a class name or programming language namespace (i.e. python module) which defines the display data. This allows a dax monitoring system to specially handle the data and perform custom rendering.
1734 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
1735 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
1736 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
1737 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
1738 &quot;shortStrValue&quot;: &quot;A String&quot;, # A possible additional shorter value to display. For example a java_class_name_value of com.mypackage.MyDoFn will be stored with MyDoFn as the short_str_value and com.mypackage.MyDoFn as the java_class_name value. short_str_value can be displayed and java_class_name_value will be displayed as a tooltip.
1739 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
1740 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
1741 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
1742 },
1743 ],
1744 },
1745 &quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
1746 &quot;tempFiles&quot;: [ # 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}
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001747 &quot;A String&quot;,
1748 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001749 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001750 ],
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001751 }</pre>
1752</div>
1753
1754<div class="method">
1755 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
1756 <pre>Retrieves the next page of results.
1757
1758Args:
1759 previous_request: The request for the previous page. (required)
1760 previous_response: The response from the request for the previous page. (required)
1761
1762Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -07001763 A request object that you can call &#x27;execute()&#x27; on to request the next
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001764 page. Returns None if there are no more items in the collection.
1765 </pre>
1766</div>
1767
1768<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07001769 <code class="details" id="snapshot">snapshot(projectId, jobId, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001770 <pre>Snapshot the state of a streaming job.
1771
1772Args:
1773 projectId: string, The project which owns the job to be snapshotted. (required)
1774 jobId: string, The job to be snapshotted. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07001775 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001776 The object takes the form of:
1777
1778{ # Request to create a snapshot of a job.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001779 &quot;description&quot;: &quot;A String&quot;, # User specified description of the snapshot. Maybe empty.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001780 &quot;ttl&quot;: &quot;A String&quot;, # TTL for the snapshot.
1781 &quot;location&quot;: &quot;A String&quot;, # The location that contains this job.
1782 &quot;snapshotSources&quot;: True or False, # If true, perform snapshots for sources which support this.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001783 }
1784
1785 x__xgafv: string, V1 error format.
1786 Allowed values
1787 1 - v1 error format
1788 2 - v2 error format
1789
1790Returns:
1791 An object of the form:
1792
1793 { # Represents a snapshot of a job.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001794 &quot;ttl&quot;: &quot;A String&quot;, # The time after which this snapshot will be automatically deleted.
1795 &quot;sourceJobId&quot;: &quot;A String&quot;, # The job this snapshot was created from.
1796 &quot;description&quot;: &quot;A String&quot;, # User specified description of the snapshot. Maybe empty.
1797 &quot;projectId&quot;: &quot;A String&quot;, # The project this snapshot belongs to.
1798 &quot;id&quot;: &quot;A String&quot;, # The unique ID of this snapshot.
1799 &quot;state&quot;: &quot;A String&quot;, # State of the snapshot.
1800 &quot;creationTime&quot;: &quot;A String&quot;, # The time this snapshot was created.
1801 &quot;diskSizeBytes&quot;: &quot;A String&quot;, # The disk byte size of the snapshot. Only available for snapshots in READY state.
Bu Sun Kim65020912020-05-20 12:08:20 -07001802 &quot;pubsubMetadata&quot;: [ # PubSub snapshot metadata.
Dan O'Mearadd494642020-05-01 07:42:23 -07001803 { # Represents a Pubsub snapshot.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001804 &quot;snapshotName&quot;: &quot;A String&quot;, # The name of the Pubsub snapshot.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001805 &quot;expireTime&quot;: &quot;A String&quot;, # The expire time of the Pubsub snapshot.
1806 &quot;topicName&quot;: &quot;A String&quot;, # The name of the Pubsub topic.
Dan O'Mearadd494642020-05-01 07:42:23 -07001807 },
1808 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001809 }</pre>
1810</div>
1811
1812<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07001813 <code class="details" id="update">update(projectId, jobId, body=None, location=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001814 <pre>Updates the state of an existing Cloud Dataflow job. To update the state of an existing job, we recommend using `projects.locations.jobs.update` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.update` is not recommended, as you can only update the state of jobs that are running in `us-central1`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001815
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001816Args:
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001817 projectId: string, The ID of the Cloud Platform project that the job belongs to. (required)
1818 jobId: string, The job ID. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07001819 body: object, The request body.
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001820 The object takes the form of:
1821
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001822{ # Defines a job to be run by the Cloud Dataflow service.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001823 &quot;startTime&quot;: &quot;A String&quot;, # 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 start_time is unset before start and is updated when the job is started by the Cloud Dataflow service. For other jobs, start_time always equals to create_time and is immutable and set by the Cloud Dataflow service.
1824 &quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
1825 &quot;clientRequestId&quot;: &quot;A String&quot;, # The client&#x27;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&#x27;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.
1826 &quot;jobMetadata&quot;: { # Metadata available primarily for filtering jobs. Will be included in the ListJob response and Job SUMMARY view. # This field is populated by the Dataflow service to support filtering jobs by the metadata values provided here. Populated for ListJobs and all GetJob views SUMMARY and higher.
1827 &quot;datastoreDetails&quot;: [ # Identification of a Datastore source used in the Dataflow job.
1828 { # Metadata for a Datastore connector used by the job.
1829 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
1830 &quot;namespace&quot;: &quot;A String&quot;, # Namespace used in the connection.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001831 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001832 ],
1833 &quot;bigqueryDetails&quot;: [ # Identification of a BigQuery source used in the Dataflow job.
1834 { # Metadata for a BigQuery connector used by the job.
1835 &quot;projectId&quot;: &quot;A String&quot;, # Project accessed in the connection.
1836 &quot;table&quot;: &quot;A String&quot;, # Table accessed in the connection.
1837 &quot;dataset&quot;: &quot;A String&quot;, # Dataset accessed in the connection.
1838 &quot;query&quot;: &quot;A String&quot;, # Query used to access data in the connection.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001839 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001840 ],
1841 &quot;sdkVersion&quot;: { # The version of the SDK used to run the job. # The SDK version used to run the job.
1842 &quot;version&quot;: &quot;A String&quot;, # The version of the SDK used to run the job.
1843 &quot;versionDisplayName&quot;: &quot;A String&quot;, # A readable string describing the version of the SDK.
1844 &quot;sdkSupportStatus&quot;: &quot;A String&quot;, # The support status for this SDK version.
1845 },
1846 &quot;pubsubDetails&quot;: [ # Identification of a PubSub source used in the Dataflow job.
1847 { # Metadata for a PubSub connector used by the job.
1848 &quot;topic&quot;: &quot;A String&quot;, # Topic accessed in the connection.
1849 &quot;subscription&quot;: &quot;A String&quot;, # Subscription used in the connection.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001850 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001851 ],
1852 &quot;fileDetails&quot;: [ # Identification of a File source used in the Dataflow job.
1853 { # Metadata for a File connector used by the job.
1854 &quot;filePattern&quot;: &quot;A String&quot;, # File Pattern used to access files by the connector.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001855 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001856 ],
1857 &quot;bigTableDetails&quot;: [ # Identification of a BigTable source used in the Dataflow job.
1858 { # Metadata for a BigTable connector used by the job.
1859 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
1860 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
1861 &quot;tableId&quot;: &quot;A String&quot;, # TableId accessed in the connection.
1862 },
1863 ],
1864 &quot;spannerDetails&quot;: [ # Identification of a Spanner source used in the Dataflow job.
1865 { # Metadata for a Spanner connector used by the job.
1866 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
1867 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
1868 &quot;databaseId&quot;: &quot;A String&quot;, # DatabaseId accessed in the connection.
1869 },
1870 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001871 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001872 &quot;stepsLocation&quot;: &quot;A String&quot;, # The GCS location where the steps are stored.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001873 &quot;labels&quot;: { # 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: * Keys must conform to regexp: \p{Ll}\p{Lo}{0,62} * Values must conform to regexp: [\p{Ll}\p{Lo}\p{N}_-]{0,63} * Both keys and values are additionally constrained to be &lt;= 128 bytes in size.
Bu Sun Kim65020912020-05-20 12:08:20 -07001874 &quot;a_key&quot;: &quot;A String&quot;,
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001875 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001876 &quot;replacedByJobId&quot;: &quot;A String&quot;, # If another job is an update of this job (and thus, this job is in `JOB_STATE_UPDATED`), this field contains the ID of that job.
1877 &quot;stageStates&quot;: [ # This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
1878 { # A message describing the state of a particular execution stage.
1879 &quot;currentStateTime&quot;: &quot;A String&quot;, # The time at which the stage transitioned to this state.
1880 &quot;executionStageName&quot;: &quot;A String&quot;, # The name of the execution stage.
1881 &quot;executionStageState&quot;: &quot;A String&quot;, # Executions stage states allow the same set of values as JobState.
1882 },
1883 ],
1884 &quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
1885 &quot;a_key&quot;: &quot;A String&quot;,
1886 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001887 &quot;steps&quot;: [ # Exactly one of step or steps_location should be specified. The top-level steps that constitute the entire job. Only retrieved with JOB_VIEW_ALL.
1888 { # Defines a particular step within a Cloud Dataflow job. A job consists of multiple steps, each of which performs some specific operation as part of the overall job. Data is typically passed from one step to another as part of the job. Here&#x27;s an example of a sequence of steps which together implement a Map-Reduce job: * Read a collection of data from some source, parsing the collection&#x27;s elements. * Validate the elements. * Apply a user-defined function to map each element to some value and extract an element-specific key value. * Group elements with the same key into a single element with that key, transforming a multiply-keyed collection into a uniquely-keyed collection. * Write the elements out to some data sink. Note that the Cloud Dataflow service may be used to run many different types of jobs, not just Map-Reduce.
1889 &quot;name&quot;: &quot;A String&quot;, # The name that identifies the step. This must be unique for each step with respect to all other steps in the Cloud Dataflow job.
1890 &quot;properties&quot;: { # Named properties associated with the step. Each kind of predefined step has its own required set of properties. Must be provided on Create. Only retrieved with JOB_VIEW_ALL.
1891 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1892 },
1893 &quot;kind&quot;: &quot;A String&quot;, # The kind of step in the Cloud Dataflow job.
1894 },
1895 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001896 &quot;id&quot;: &quot;A String&quot;, # 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.
1897 &quot;name&quot;: &quot;A String&quot;, # 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 `[a-z]([-a-z0-9]{0,38}[a-z0-9])?`
1898 &quot;currentState&quot;: &quot;A String&quot;, # The current state of the job. Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise specified. A job in the `JOB_STATE_RUNNING` state may asynchronously enter a terminal state. After a job has reached a terminal state, no further state updates may be made. This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
1899 &quot;replaceJobId&quot;: &quot;A String&quot;, # If this job is an update of an existing job, this field is the job ID of the job it replaced. When sending a `CreateJobRequest`, you can update a job by specifying it here. The job named here is stopped, and its intermediate state is transferred to this job.
1900 &quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001901 &quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001902 &quot;userAgent&quot;: { # A description of the process that generated the request.
1903 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1904 },
1905 &quot;clusterManagerApiService&quot;: &quot;A String&quot;, # The type of cluster manager API to use. If unknown or unspecified, the service will attempt to choose a reasonable default. This should be in the form of the API service name, e.g. &quot;compute.googleapis.com&quot;.
1906 &quot;tempStoragePrefix&quot;: &quot;A String&quot;, # The prefix of the resources the system should use for temporary storage. The system will append the suffix &quot;/temp-{JOBNAME} to this resource prefix, where {JOBNAME} is the value of the job_name field. The resulting bucket and object prefix is used as the prefix of the resources used to store temporary data needed during the job execution. NOTE: This will override the value in taskrunner_settings. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
1907 &quot;version&quot;: { # A structure describing which components and their versions of the service are required in order to run the job.
1908 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1909 },
1910 &quot;internalExperiments&quot;: { # Experimental settings.
1911 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1912 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001913 &quot;sdkPipelineOptions&quot;: { # The Cloud Dataflow SDK pipeline options specified by the user. These options are passed through the service and are used to recreate the SDK pipeline options on the worker in a language agnostic and platform independent way.
1914 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1915 },
1916 &quot;workerPools&quot;: [ # The worker pools. At least one &quot;harness&quot; worker pool must be specified in order for the job to have workers.
1917 { # Describes one particular pool of Cloud Dataflow workers to be instantiated by the Cloud Dataflow service in order to perform the computations required by a job. Note that a workflow job may use multiple pools, in order to match the various computational requirements of the various stages of the job.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001918 &quot;diskSizeGb&quot;: 42, # Size of root disk for VMs, in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001919 &quot;machineType&quot;: &quot;A String&quot;, # Machine type (e.g. &quot;n1-standard-1&quot;). If empty or unspecified, the service will attempt to choose a reasonable default.
1920 &quot;zone&quot;: &quot;A String&quot;, # Zone to run the worker pools in. If empty or unspecified, the service will attempt to choose a reasonable default.
1921 &quot;ipConfiguration&quot;: &quot;A String&quot;, # Configuration for VM IPs.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001922 &quot;metadata&quot;: { # Metadata to set on the Google Compute Engine VMs.
1923 &quot;a_key&quot;: &quot;A String&quot;,
1924 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001925 &quot;teardownPolicy&quot;: &quot;A String&quot;, # Sets the policy for determining when to turndown worker pool. Allowed values are: `TEARDOWN_ALWAYS`, `TEARDOWN_ON_SUCCESS`, and `TEARDOWN_NEVER`. `TEARDOWN_ALWAYS` means workers are always torn down regardless of whether the job succeeds. `TEARDOWN_ON_SUCCESS` means workers are torn down if the job succeeds. `TEARDOWN_NEVER` means the workers are never torn down. If the workers are not torn down by the service, they will continue to run and use Google Compute Engine VM resources in the user&#x27;s project until they are explicitly terminated by the user. Because of this, Google recommends using the `TEARDOWN_ALWAYS` policy except for small, manually supervised test jobs. If unknown or unspecified, the service will attempt to choose a reasonable default.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001926 &quot;kind&quot;: &quot;A String&quot;, # The kind of the worker pool; currently only `harness` and `shuffle` are supported.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001927 &quot;numWorkers&quot;: 42, # Number of Google Compute Engine workers in this pool needed to execute the job. If zero or unspecified, the service will attempt to choose a reasonable default.
1928 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # The action to take on host maintenance, as defined by the Google Compute Engine API.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001929 &quot;workerHarnessContainerImage&quot;: &quot;A String&quot;, # Required. Docker container image that executes the Cloud Dataflow worker harness, residing in Google Container Registry. Deprecated for the Fn API path. Use sdk_harness_container_images instead.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001930 &quot;numThreadsPerWorker&quot;: 42, # The number of threads per worker harness. If empty or unspecified, the service will choose a number of threads (according to the number of cores on the selected machine type for batch, or 1 by convention for streaming).
1931 &quot;dataDisks&quot;: [ # Data disks that are used by a VM in this workflow.
1932 { # Describes the data disk used by a workflow job.
1933 &quot;sizeGb&quot;: 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
1934 &quot;mountPoint&quot;: &quot;A String&quot;, # Directory in a VM where disk is mounted.
1935 &quot;diskType&quot;: &quot;A String&quot;, # Disk storage type, as defined by Google Compute Engine. This must be a disk type appropriate to the project and zone in which the workers will run. If unknown or unspecified, the service will attempt to choose a reasonable default. For example, the standard persistent disk type is a resource name typically ending in &quot;pd-standard&quot;. If SSD persistent disks are available, the resource name typically ends with &quot;pd-ssd&quot;. The actual valid values are defined the Google Compute Engine API, not by the Cloud Dataflow API; consult the Google Compute Engine documentation for more information about determining the set of available disk types for a particular project and zone. Google Compute Engine Disk types are local to a particular project in a particular zone, and so the resource name will typically look something like this: compute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001936 },
1937 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001938 &quot;network&quot;: &quot;A String&quot;, # Network to which VMs will be assigned. If empty or unspecified, the service will use the network &quot;default&quot;.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001939 &quot;poolArgs&quot;: { # Extra arguments for this worker pool.
1940 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1941 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001942 &quot;diskType&quot;: &quot;A String&quot;, # Type of root disk for VMs. If empty or unspecified, the service will attempt to choose a reasonable default.
1943 &quot;defaultPackageSet&quot;: &quot;A String&quot;, # The default package set to install. This allows the service to select a default set of packages which are useful to worker harnesses written in a particular language.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001944 &quot;sdkHarnessContainerImages&quot;: [ # Set of SDK harness containers needed to execute this pipeline. This will only be set in the Fn API path. For non-cross-language pipelines this should have only one entry. Cross-language pipelines will have two or more entries.
1945 { # Defines a SDK harness container for executing Dataflow pipelines.
1946 &quot;useSingleCorePerContainer&quot;: True or False, # If true, recommends the Dataflow service to use only one core per SDK container instance with this image. If false (or unset) recommends using more than one core per SDK container instance with this image for efficiency. Note that Dataflow service may choose to override this property if needed.
1947 &quot;containerImage&quot;: &quot;A String&quot;, # A docker container image that resides in Google Container Registry.
1948 },
1949 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001950 &quot;packages&quot;: [ # Packages to be installed on workers.
1951 { # The packages that must be installed in order for a worker to run the steps of the Cloud Dataflow job that will be assigned to its worker pool. This is the mechanism by which the Cloud Dataflow SDK causes code to be loaded onto the workers. For example, the Cloud Dataflow Java SDK might use this to install jars containing the user&#x27;s code and all of the various dependencies (libraries, data files, etc.) required in order for that code to run.
1952 &quot;location&quot;: &quot;A String&quot;, # The resource to read the package from. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket} bucket.storage.googleapis.com/
1953 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001954 },
1955 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001956 &quot;subnetwork&quot;: &quot;A String&quot;, # Subnetwork to which VMs will be assigned, if desired. Expected to be of the form &quot;regions/REGION/subnetworks/SUBNETWORK&quot;.
1957 &quot;taskrunnerSettings&quot;: { # Taskrunner configuration settings. # Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner. Users should ignore this field.
1958 &quot;vmId&quot;: &quot;A String&quot;, # The ID string of the VM.
1959 &quot;languageHint&quot;: &quot;A String&quot;, # The suggested backend language.
1960 &quot;alsologtostderr&quot;: True or False, # Whether to also send taskrunner log info to stderr.
1961 &quot;baseTaskDir&quot;: &quot;A String&quot;, # The location on the worker for task-specific subdirectories.
1962 &quot;workflowFileName&quot;: &quot;A String&quot;, # The file to store the workflow in.
1963 &quot;taskGroup&quot;: &quot;A String&quot;, # The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g. &quot;wheel&quot;.
1964 &quot;logDir&quot;: &quot;A String&quot;, # The directory on the VM to store logs.
1965 &quot;parallelWorkerSettings&quot;: { # Provides data to pass through to the worker harness. # The settings to pass to the parallel worker harness.
1966 &quot;shuffleServicePath&quot;: &quot;A String&quot;, # The Shuffle service path relative to the root URL, for example, &quot;shuffle/v1beta1&quot;.
1967 &quot;reportingEnabled&quot;: True or False, # Whether to send work progress updates to the service.
1968 &quot;servicePath&quot;: &quot;A String&quot;, # The Cloud Dataflow service path relative to the root URL, for example, &quot;dataflow/v1b3/projects&quot;.
1969 &quot;workerId&quot;: &quot;A String&quot;, # The ID of the worker running this pipeline.
1970 &quot;tempStoragePrefix&quot;: &quot;A String&quot;, # The prefix of the resources the system should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
1971 &quot;baseUrl&quot;: &quot;A String&quot;, # The base URL for accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, &quot;Relative Uniform Resource Locators&quot;. If not specified, the default value is &quot;http://www.googleapis.com/&quot;
1972 },
1973 &quot;commandlinesFileName&quot;: &quot;A String&quot;, # The file to store preprocessing commands in.
1974 &quot;baseUrl&quot;: &quot;A String&quot;, # The base URL for the taskrunner to use when accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, &quot;Relative Uniform Resource Locators&quot;. If not specified, the default value is &quot;http://www.googleapis.com/&quot;
1975 &quot;oauthScopes&quot;: [ # The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
1976 &quot;A String&quot;,
1977 ],
1978 &quot;tempStoragePrefix&quot;: &quot;A String&quot;, # The prefix of the resources the taskrunner should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
1979 &quot;dataflowApiVersion&quot;: &quot;A String&quot;, # The API version of endpoint, e.g. &quot;v1b3&quot;
1980 &quot;taskUser&quot;: &quot;A String&quot;, # The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g. &quot;root&quot;.
1981 &quot;harnessCommand&quot;: &quot;A String&quot;, # The command to launch the worker harness.
1982 &quot;continueOnException&quot;: True or False, # Whether to continue taskrunner if an exception is hit.
1983 &quot;streamingWorkerMainClass&quot;: &quot;A String&quot;, # The streaming worker main class name.
1984 &quot;logToSerialconsole&quot;: True or False, # Whether to send taskrunner log info to Google Compute Engine VM serial console.
1985 &quot;logUploadLocation&quot;: &quot;A String&quot;, # Indicates where to put logs. If this is not specified, the logs will not be uploaded. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
1986 },
1987 &quot;diskSourceImage&quot;: &quot;A String&quot;, # Fully qualified source image for disks.
1988 &quot;autoscalingSettings&quot;: { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
1989 &quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap scaling at.
1990 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for autoscaling.
1991 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001992 },
1993 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001994 &quot;flexResourceSchedulingGoal&quot;: &quot;A String&quot;, # Which Flexible Resource Scheduling mode to run in.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001995 &quot;workerZone&quot;: &quot;A String&quot;, # The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. &quot;us-west1-a&quot;. Mutually exclusive with worker_region. If neither worker_region nor worker_zone is specified, a zone in the control plane&#x27;s region is chosen based on available capacity.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001996 &quot;dataset&quot;: &quot;A String&quot;, # The dataset for the current project where various workflow related tables are stored. The supported resource type is: Google BigQuery: bigquery.googleapis.com/{dataset}
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001997 &quot;workerRegion&quot;: &quot;A String&quot;, # The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. &quot;us-west1&quot;. Mutually exclusive with worker_zone. If neither worker_region nor worker_zone is specified, default to the control plane&#x27;s region.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001998 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Identity to run virtual machines as. Defaults to the default account.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001999 &quot;experiments&quot;: [ # The list of experiments to enable.
2000 &quot;A String&quot;,
2001 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002002 &quot;serviceKmsKeyName&quot;: &quot;A String&quot;, # If set, contains the Cloud KMS key identifier used to encrypt data at rest, AKA a Customer Managed Encryption Key (CMEK). Format: projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002003 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002004 &quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002005 &quot;executionInfo&quot;: { # Additional information about how a Cloud Dataflow job will be executed that isn&#x27;t contained in the submitted job. # Deprecated.
2006 &quot;stages&quot;: { # A mapping from each stage to the information about that stage.
2007 &quot;a_key&quot;: { # Contains information about how a particular google.dataflow.v1beta3.Step will be executed.
2008 &quot;stepName&quot;: [ # The steps associated with the execution stage. Note that stages may have several steps, and that a given step might be run by more than one stage.
2009 &quot;A String&quot;,
2010 ],
2011 },
2012 },
2013 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002014 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
2015 &quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
2016 &quot;requestedState&quot;: &quot;A String&quot;, # The job&#x27;s requested state. `UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and `JOB_STATE_RUNNING` states, by setting requested_state. `UpdateJob` may also be used to directly set a job&#x27;s requested state to `JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the job if it has not already reached a terminal state.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002017 &quot;pipelineDescription&quot;: { # A descriptive representation of submitted pipeline as well as the executed form. This data is provided by the Dataflow service for ease of visualizing the pipeline and interpreting Dataflow provided metrics. # 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.
2018 &quot;executionPipelineStage&quot;: [ # Description of each stage of execution of the pipeline.
2019 { # Description of the composing transforms, names/ids, and input/outputs of a stage of execution. Some composing transforms and sources may have been generated by the Dataflow service during execution planning.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002020 &quot;componentSource&quot;: [ # Collections produced and consumed by component transforms of this stage.
2021 { # Description of an interstitial value between transforms in an execution stage.
2022 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
2023 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
2024 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
2025 },
2026 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002027 &quot;prerequisiteStage&quot;: [ # Other stages that must complete before this stage can run.
2028 &quot;A String&quot;,
2029 ],
2030 &quot;componentTransform&quot;: [ # Transforms that comprise this execution stage.
2031 { # Description of a transform executed as part of an execution stage.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002032 &quot;originalTransform&quot;: &quot;A String&quot;, # User name for the original user transform with which this transform is most closely associated.
2033 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002034 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002035 },
2036 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002037 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this stage.
2038 &quot;inputSource&quot;: [ # Input sources for this stage.
2039 { # Description of an input or output of an execution stage.
2040 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
2041 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
2042 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
2043 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
2044 },
2045 ],
2046 &quot;id&quot;: &quot;A String&quot;, # Dataflow service generated id for this stage.
2047 &quot;outputSource&quot;: [ # Output sources for this stage.
2048 { # Description of an input or output of an execution stage.
2049 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
2050 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
2051 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
2052 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
2053 },
2054 ],
2055 &quot;kind&quot;: &quot;A String&quot;, # Type of tranform this stage is executing.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002056 },
2057 ],
2058 &quot;originalPipelineTransform&quot;: [ # Description of each transform in the pipeline and collections between them.
2059 { # Description of the type, names/ids, and input/outputs for a transform.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002060 &quot;outputCollectionName&quot;: [ # User names for all collection outputs to this transform.
2061 &quot;A String&quot;,
2062 ],
2063 &quot;name&quot;: &quot;A String&quot;, # User provided name for this transform instance.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002064 &quot;inputCollectionName&quot;: [ # User names for all collection inputs to this transform.
2065 &quot;A String&quot;,
2066 ],
2067 &quot;kind&quot;: &quot;A String&quot;, # Type of transform.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002068 &quot;id&quot;: &quot;A String&quot;, # SDK generated id of this transform instance.
2069 &quot;displayData&quot;: [ # Transform-specific display data.
2070 { # Data provided with a pipeline or transform to provide descriptive info.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002071 &quot;key&quot;: &quot;A String&quot;, # The key identifying the display data. This is intended to be used as a label for the display data when viewed in a dax monitoring system.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002072 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002073 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002074 &quot;namespace&quot;: &quot;A String&quot;, # The namespace for the key. This is usually a class name or programming language namespace (i.e. python module) which defines the display data. This allows a dax monitoring system to specially handle the data and perform custom rendering.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002075 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002076 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
2077 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
2078 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002079 &quot;shortStrValue&quot;: &quot;A String&quot;, # A possible additional shorter value to display. For example a java_class_name_value of com.mypackage.MyDoFn will be stored with MyDoFn as the short_str_value and com.mypackage.MyDoFn as the java_class_name value. short_str_value can be displayed and java_class_name_value will be displayed as a tooltip.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002080 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
2081 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
2082 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002083 },
2084 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002085 },
2086 ],
2087 &quot;displayData&quot;: [ # Pipeline level display data.
2088 { # Data provided with a pipeline or transform to provide descriptive info.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002089 &quot;key&quot;: &quot;A String&quot;, # The key identifying the display data. This is intended to be used as a label for the display data when viewed in a dax monitoring system.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002090 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002091 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002092 &quot;namespace&quot;: &quot;A String&quot;, # The namespace for the key. This is usually a class name or programming language namespace (i.e. python module) which defines the display data. This allows a dax monitoring system to specially handle the data and perform custom rendering.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002093 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002094 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
2095 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
2096 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002097 &quot;shortStrValue&quot;: &quot;A String&quot;, # A possible additional shorter value to display. For example a java_class_name_value of com.mypackage.MyDoFn will be stored with MyDoFn as the short_str_value and com.mypackage.MyDoFn as the java_class_name value. short_str_value can be displayed and java_class_name_value will be displayed as a tooltip.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002098 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
2099 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
2100 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002101 },
2102 ],
2103 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002104 &quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
2105 &quot;tempFiles&quot;: [ # 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}
2106 &quot;A String&quot;,
2107 ],
2108 }
2109
2110 location: string, The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
2111 x__xgafv: string, V1 error format.
2112 Allowed values
2113 1 - v1 error format
2114 2 - v2 error format
2115
2116Returns:
2117 An object of the form:
2118
2119 { # Defines a job to be run by the Cloud Dataflow service.
2120 &quot;startTime&quot;: &quot;A String&quot;, # 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 start_time is unset before start and is updated when the job is started by the Cloud Dataflow service. For other jobs, start_time always equals to create_time and is immutable and set by the Cloud Dataflow service.
2121 &quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
2122 &quot;clientRequestId&quot;: &quot;A String&quot;, # The client&#x27;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&#x27;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.
2123 &quot;jobMetadata&quot;: { # Metadata available primarily for filtering jobs. Will be included in the ListJob response and Job SUMMARY view. # This field is populated by the Dataflow service to support filtering jobs by the metadata values provided here. Populated for ListJobs and all GetJob views SUMMARY and higher.
2124 &quot;datastoreDetails&quot;: [ # Identification of a Datastore source used in the Dataflow job.
2125 { # Metadata for a Datastore connector used by the job.
2126 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
2127 &quot;namespace&quot;: &quot;A String&quot;, # Namespace used in the connection.
2128 },
2129 ],
2130 &quot;bigqueryDetails&quot;: [ # Identification of a BigQuery source used in the Dataflow job.
2131 { # Metadata for a BigQuery connector used by the job.
2132 &quot;projectId&quot;: &quot;A String&quot;, # Project accessed in the connection.
2133 &quot;table&quot;: &quot;A String&quot;, # Table accessed in the connection.
2134 &quot;dataset&quot;: &quot;A String&quot;, # Dataset accessed in the connection.
2135 &quot;query&quot;: &quot;A String&quot;, # Query used to access data in the connection.
2136 },
2137 ],
2138 &quot;sdkVersion&quot;: { # The version of the SDK used to run the job. # The SDK version used to run the job.
2139 &quot;version&quot;: &quot;A String&quot;, # The version of the SDK used to run the job.
2140 &quot;versionDisplayName&quot;: &quot;A String&quot;, # A readable string describing the version of the SDK.
2141 &quot;sdkSupportStatus&quot;: &quot;A String&quot;, # The support status for this SDK version.
2142 },
2143 &quot;pubsubDetails&quot;: [ # Identification of a PubSub source used in the Dataflow job.
2144 { # Metadata for a PubSub connector used by the job.
2145 &quot;topic&quot;: &quot;A String&quot;, # Topic accessed in the connection.
2146 &quot;subscription&quot;: &quot;A String&quot;, # Subscription used in the connection.
2147 },
2148 ],
2149 &quot;fileDetails&quot;: [ # Identification of a File source used in the Dataflow job.
2150 { # Metadata for a File connector used by the job.
2151 &quot;filePattern&quot;: &quot;A String&quot;, # File Pattern used to access files by the connector.
2152 },
2153 ],
2154 &quot;bigTableDetails&quot;: [ # Identification of a BigTable source used in the Dataflow job.
2155 { # Metadata for a BigTable connector used by the job.
2156 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
2157 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
2158 &quot;tableId&quot;: &quot;A String&quot;, # TableId accessed in the connection.
2159 },
2160 ],
2161 &quot;spannerDetails&quot;: [ # Identification of a Spanner source used in the Dataflow job.
2162 { # Metadata for a Spanner connector used by the job.
2163 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
2164 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
2165 &quot;databaseId&quot;: &quot;A String&quot;, # DatabaseId accessed in the connection.
2166 },
2167 ],
2168 },
2169 &quot;stepsLocation&quot;: &quot;A String&quot;, # The GCS location where the steps are stored.
2170 &quot;labels&quot;: { # 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: * Keys must conform to regexp: \p{Ll}\p{Lo}{0,62} * Values must conform to regexp: [\p{Ll}\p{Lo}\p{N}_-]{0,63} * Both keys and values are additionally constrained to be &lt;= 128 bytes in size.
2171 &quot;a_key&quot;: &quot;A String&quot;,
2172 },
2173 &quot;replacedByJobId&quot;: &quot;A String&quot;, # If another job is an update of this job (and thus, this job is in `JOB_STATE_UPDATED`), this field contains the ID of that job.
2174 &quot;stageStates&quot;: [ # This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
2175 { # A message describing the state of a particular execution stage.
2176 &quot;currentStateTime&quot;: &quot;A String&quot;, # The time at which the stage transitioned to this state.
2177 &quot;executionStageName&quot;: &quot;A String&quot;, # The name of the execution stage.
2178 &quot;executionStageState&quot;: &quot;A String&quot;, # Executions stage states allow the same set of values as JobState.
2179 },
2180 ],
2181 &quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
2182 &quot;a_key&quot;: &quot;A String&quot;,
2183 },
2184 &quot;steps&quot;: [ # Exactly one of step or steps_location should be specified. The top-level steps that constitute the entire job. Only retrieved with JOB_VIEW_ALL.
2185 { # Defines a particular step within a Cloud Dataflow job. A job consists of multiple steps, each of which performs some specific operation as part of the overall job. Data is typically passed from one step to another as part of the job. Here&#x27;s an example of a sequence of steps which together implement a Map-Reduce job: * Read a collection of data from some source, parsing the collection&#x27;s elements. * Validate the elements. * Apply a user-defined function to map each element to some value and extract an element-specific key value. * Group elements with the same key into a single element with that key, transforming a multiply-keyed collection into a uniquely-keyed collection. * Write the elements out to some data sink. Note that the Cloud Dataflow service may be used to run many different types of jobs, not just Map-Reduce.
2186 &quot;name&quot;: &quot;A String&quot;, # The name that identifies the step. This must be unique for each step with respect to all other steps in the Cloud Dataflow job.
2187 &quot;properties&quot;: { # Named properties associated with the step. Each kind of predefined step has its own required set of properties. Must be provided on Create. Only retrieved with JOB_VIEW_ALL.
2188 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2189 },
2190 &quot;kind&quot;: &quot;A String&quot;, # The kind of step in the Cloud Dataflow job.
2191 },
2192 ],
2193 &quot;id&quot;: &quot;A String&quot;, # 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.
2194 &quot;name&quot;: &quot;A String&quot;, # 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 `[a-z]([-a-z0-9]{0,38}[a-z0-9])?`
2195 &quot;currentState&quot;: &quot;A String&quot;, # The current state of the job. Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise specified. A job in the `JOB_STATE_RUNNING` state may asynchronously enter a terminal state. After a job has reached a terminal state, no further state updates may be made. This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
2196 &quot;replaceJobId&quot;: &quot;A String&quot;, # If this job is an update of an existing job, this field is the job ID of the job it replaced. When sending a `CreateJobRequest`, you can update a job by specifying it here. The job named here is stopped, and its intermediate state is transferred to this job.
2197 &quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
2198 &quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
2199 &quot;userAgent&quot;: { # A description of the process that generated the request.
2200 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2201 },
2202 &quot;clusterManagerApiService&quot;: &quot;A String&quot;, # The type of cluster manager API to use. If unknown or unspecified, the service will attempt to choose a reasonable default. This should be in the form of the API service name, e.g. &quot;compute.googleapis.com&quot;.
2203 &quot;tempStoragePrefix&quot;: &quot;A String&quot;, # The prefix of the resources the system should use for temporary storage. The system will append the suffix &quot;/temp-{JOBNAME} to this resource prefix, where {JOBNAME} is the value of the job_name field. The resulting bucket and object prefix is used as the prefix of the resources used to store temporary data needed during the job execution. NOTE: This will override the value in taskrunner_settings. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
2204 &quot;version&quot;: { # A structure describing which components and their versions of the service are required in order to run the job.
2205 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2206 },
2207 &quot;internalExperiments&quot;: { # Experimental settings.
2208 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2209 },
2210 &quot;sdkPipelineOptions&quot;: { # The Cloud Dataflow SDK pipeline options specified by the user. These options are passed through the service and are used to recreate the SDK pipeline options on the worker in a language agnostic and platform independent way.
2211 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2212 },
2213 &quot;workerPools&quot;: [ # The worker pools. At least one &quot;harness&quot; worker pool must be specified in order for the job to have workers.
2214 { # Describes one particular pool of Cloud Dataflow workers to be instantiated by the Cloud Dataflow service in order to perform the computations required by a job. Note that a workflow job may use multiple pools, in order to match the various computational requirements of the various stages of the job.
2215 &quot;diskSizeGb&quot;: 42, # Size of root disk for VMs, in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
2216 &quot;machineType&quot;: &quot;A String&quot;, # Machine type (e.g. &quot;n1-standard-1&quot;). If empty or unspecified, the service will attempt to choose a reasonable default.
2217 &quot;zone&quot;: &quot;A String&quot;, # Zone to run the worker pools in. If empty or unspecified, the service will attempt to choose a reasonable default.
2218 &quot;ipConfiguration&quot;: &quot;A String&quot;, # Configuration for VM IPs.
2219 &quot;metadata&quot;: { # Metadata to set on the Google Compute Engine VMs.
2220 &quot;a_key&quot;: &quot;A String&quot;,
2221 },
2222 &quot;teardownPolicy&quot;: &quot;A String&quot;, # Sets the policy for determining when to turndown worker pool. Allowed values are: `TEARDOWN_ALWAYS`, `TEARDOWN_ON_SUCCESS`, and `TEARDOWN_NEVER`. `TEARDOWN_ALWAYS` means workers are always torn down regardless of whether the job succeeds. `TEARDOWN_ON_SUCCESS` means workers are torn down if the job succeeds. `TEARDOWN_NEVER` means the workers are never torn down. If the workers are not torn down by the service, they will continue to run and use Google Compute Engine VM resources in the user&#x27;s project until they are explicitly terminated by the user. Because of this, Google recommends using the `TEARDOWN_ALWAYS` policy except for small, manually supervised test jobs. If unknown or unspecified, the service will attempt to choose a reasonable default.
2223 &quot;kind&quot;: &quot;A String&quot;, # The kind of the worker pool; currently only `harness` and `shuffle` are supported.
2224 &quot;numWorkers&quot;: 42, # Number of Google Compute Engine workers in this pool needed to execute the job. If zero or unspecified, the service will attempt to choose a reasonable default.
2225 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # The action to take on host maintenance, as defined by the Google Compute Engine API.
2226 &quot;workerHarnessContainerImage&quot;: &quot;A String&quot;, # Required. Docker container image that executes the Cloud Dataflow worker harness, residing in Google Container Registry. Deprecated for the Fn API path. Use sdk_harness_container_images instead.
2227 &quot;numThreadsPerWorker&quot;: 42, # The number of threads per worker harness. If empty or unspecified, the service will choose a number of threads (according to the number of cores on the selected machine type for batch, or 1 by convention for streaming).
2228 &quot;dataDisks&quot;: [ # Data disks that are used by a VM in this workflow.
2229 { # Describes the data disk used by a workflow job.
2230 &quot;sizeGb&quot;: 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
2231 &quot;mountPoint&quot;: &quot;A String&quot;, # Directory in a VM where disk is mounted.
2232 &quot;diskType&quot;: &quot;A String&quot;, # Disk storage type, as defined by Google Compute Engine. This must be a disk type appropriate to the project and zone in which the workers will run. If unknown or unspecified, the service will attempt to choose a reasonable default. For example, the standard persistent disk type is a resource name typically ending in &quot;pd-standard&quot;. If SSD persistent disks are available, the resource name typically ends with &quot;pd-ssd&quot;. The actual valid values are defined the Google Compute Engine API, not by the Cloud Dataflow API; consult the Google Compute Engine documentation for more information about determining the set of available disk types for a particular project and zone. Google Compute Engine Disk types are local to a particular project in a particular zone, and so the resource name will typically look something like this: compute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard
2233 },
2234 ],
2235 &quot;network&quot;: &quot;A String&quot;, # Network to which VMs will be assigned. If empty or unspecified, the service will use the network &quot;default&quot;.
2236 &quot;poolArgs&quot;: { # Extra arguments for this worker pool.
2237 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2238 },
2239 &quot;diskType&quot;: &quot;A String&quot;, # Type of root disk for VMs. If empty or unspecified, the service will attempt to choose a reasonable default.
2240 &quot;defaultPackageSet&quot;: &quot;A String&quot;, # The default package set to install. This allows the service to select a default set of packages which are useful to worker harnesses written in a particular language.
2241 &quot;sdkHarnessContainerImages&quot;: [ # Set of SDK harness containers needed to execute this pipeline. This will only be set in the Fn API path. For non-cross-language pipelines this should have only one entry. Cross-language pipelines will have two or more entries.
2242 { # Defines a SDK harness container for executing Dataflow pipelines.
2243 &quot;useSingleCorePerContainer&quot;: True or False, # If true, recommends the Dataflow service to use only one core per SDK container instance with this image. If false (or unset) recommends using more than one core per SDK container instance with this image for efficiency. Note that Dataflow service may choose to override this property if needed.
2244 &quot;containerImage&quot;: &quot;A String&quot;, # A docker container image that resides in Google Container Registry.
2245 },
2246 ],
2247 &quot;packages&quot;: [ # Packages to be installed on workers.
2248 { # The packages that must be installed in order for a worker to run the steps of the Cloud Dataflow job that will be assigned to its worker pool. This is the mechanism by which the Cloud Dataflow SDK causes code to be loaded onto the workers. For example, the Cloud Dataflow Java SDK might use this to install jars containing the user&#x27;s code and all of the various dependencies (libraries, data files, etc.) required in order for that code to run.
2249 &quot;location&quot;: &quot;A String&quot;, # The resource to read the package from. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket} bucket.storage.googleapis.com/
2250 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
2251 },
2252 ],
2253 &quot;subnetwork&quot;: &quot;A String&quot;, # Subnetwork to which VMs will be assigned, if desired. Expected to be of the form &quot;regions/REGION/subnetworks/SUBNETWORK&quot;.
2254 &quot;taskrunnerSettings&quot;: { # Taskrunner configuration settings. # Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner. Users should ignore this field.
2255 &quot;vmId&quot;: &quot;A String&quot;, # The ID string of the VM.
2256 &quot;languageHint&quot;: &quot;A String&quot;, # The suggested backend language.
2257 &quot;alsologtostderr&quot;: True or False, # Whether to also send taskrunner log info to stderr.
2258 &quot;baseTaskDir&quot;: &quot;A String&quot;, # The location on the worker for task-specific subdirectories.
2259 &quot;workflowFileName&quot;: &quot;A String&quot;, # The file to store the workflow in.
2260 &quot;taskGroup&quot;: &quot;A String&quot;, # The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g. &quot;wheel&quot;.
2261 &quot;logDir&quot;: &quot;A String&quot;, # The directory on the VM to store logs.
2262 &quot;parallelWorkerSettings&quot;: { # Provides data to pass through to the worker harness. # The settings to pass to the parallel worker harness.
2263 &quot;shuffleServicePath&quot;: &quot;A String&quot;, # The Shuffle service path relative to the root URL, for example, &quot;shuffle/v1beta1&quot;.
2264 &quot;reportingEnabled&quot;: True or False, # Whether to send work progress updates to the service.
2265 &quot;servicePath&quot;: &quot;A String&quot;, # The Cloud Dataflow service path relative to the root URL, for example, &quot;dataflow/v1b3/projects&quot;.
2266 &quot;workerId&quot;: &quot;A String&quot;, # The ID of the worker running this pipeline.
2267 &quot;tempStoragePrefix&quot;: &quot;A String&quot;, # The prefix of the resources the system should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
2268 &quot;baseUrl&quot;: &quot;A String&quot;, # The base URL for accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, &quot;Relative Uniform Resource Locators&quot;. If not specified, the default value is &quot;http://www.googleapis.com/&quot;
2269 },
2270 &quot;commandlinesFileName&quot;: &quot;A String&quot;, # The file to store preprocessing commands in.
2271 &quot;baseUrl&quot;: &quot;A String&quot;, # The base URL for the taskrunner to use when accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, &quot;Relative Uniform Resource Locators&quot;. If not specified, the default value is &quot;http://www.googleapis.com/&quot;
2272 &quot;oauthScopes&quot;: [ # The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
2273 &quot;A String&quot;,
2274 ],
2275 &quot;tempStoragePrefix&quot;: &quot;A String&quot;, # The prefix of the resources the taskrunner should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
2276 &quot;dataflowApiVersion&quot;: &quot;A String&quot;, # The API version of endpoint, e.g. &quot;v1b3&quot;
2277 &quot;taskUser&quot;: &quot;A String&quot;, # The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g. &quot;root&quot;.
2278 &quot;harnessCommand&quot;: &quot;A String&quot;, # The command to launch the worker harness.
2279 &quot;continueOnException&quot;: True or False, # Whether to continue taskrunner if an exception is hit.
2280 &quot;streamingWorkerMainClass&quot;: &quot;A String&quot;, # The streaming worker main class name.
2281 &quot;logToSerialconsole&quot;: True or False, # Whether to send taskrunner log info to Google Compute Engine VM serial console.
2282 &quot;logUploadLocation&quot;: &quot;A String&quot;, # Indicates where to put logs. If this is not specified, the logs will not be uploaded. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
2283 },
2284 &quot;diskSourceImage&quot;: &quot;A String&quot;, # Fully qualified source image for disks.
2285 &quot;autoscalingSettings&quot;: { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
2286 &quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap scaling at.
2287 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for autoscaling.
2288 },
2289 },
2290 ],
2291 &quot;flexResourceSchedulingGoal&quot;: &quot;A String&quot;, # Which Flexible Resource Scheduling mode to run in.
2292 &quot;workerZone&quot;: &quot;A String&quot;, # The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. &quot;us-west1-a&quot;. Mutually exclusive with worker_region. If neither worker_region nor worker_zone is specified, a zone in the control plane&#x27;s region is chosen based on available capacity.
2293 &quot;dataset&quot;: &quot;A String&quot;, # The dataset for the current project where various workflow related tables are stored. The supported resource type is: Google BigQuery: bigquery.googleapis.com/{dataset}
2294 &quot;workerRegion&quot;: &quot;A String&quot;, # The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. &quot;us-west1&quot;. Mutually exclusive with worker_zone. If neither worker_region nor worker_zone is specified, default to the control plane&#x27;s region.
2295 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Identity to run virtual machines as. Defaults to the default account.
2296 &quot;experiments&quot;: [ # The list of experiments to enable.
2297 &quot;A String&quot;,
2298 ],
2299 &quot;serviceKmsKeyName&quot;: &quot;A String&quot;, # If set, contains the Cloud KMS key identifier used to encrypt data at rest, AKA a Customer Managed Encryption Key (CMEK). Format: projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY
2300 },
2301 &quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
2302 &quot;executionInfo&quot;: { # Additional information about how a Cloud Dataflow job will be executed that isn&#x27;t contained in the submitted job. # Deprecated.
2303 &quot;stages&quot;: { # A mapping from each stage to the information about that stage.
2304 &quot;a_key&quot;: { # Contains information about how a particular google.dataflow.v1beta3.Step will be executed.
2305 &quot;stepName&quot;: [ # The steps associated with the execution stage. Note that stages may have several steps, and that a given step might be run by more than one stage.
2306 &quot;A String&quot;,
2307 ],
2308 },
2309 },
2310 },
2311 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
2312 &quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
2313 &quot;requestedState&quot;: &quot;A String&quot;, # The job&#x27;s requested state. `UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and `JOB_STATE_RUNNING` states, by setting requested_state. `UpdateJob` may also be used to directly set a job&#x27;s requested state to `JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the job if it has not already reached a terminal state.
2314 &quot;pipelineDescription&quot;: { # A descriptive representation of submitted pipeline as well as the executed form. This data is provided by the Dataflow service for ease of visualizing the pipeline and interpreting Dataflow provided metrics. # 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.
2315 &quot;executionPipelineStage&quot;: [ # Description of each stage of execution of the pipeline.
2316 { # Description of the composing transforms, names/ids, and input/outputs of a stage of execution. Some composing transforms and sources may have been generated by the Dataflow service during execution planning.
2317 &quot;componentSource&quot;: [ # Collections produced and consumed by component transforms of this stage.
2318 { # Description of an interstitial value between transforms in an execution stage.
2319 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
2320 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
2321 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
2322 },
2323 ],
2324 &quot;prerequisiteStage&quot;: [ # Other stages that must complete before this stage can run.
2325 &quot;A String&quot;,
2326 ],
2327 &quot;componentTransform&quot;: [ # Transforms that comprise this execution stage.
2328 { # Description of a transform executed as part of an execution stage.
2329 &quot;originalTransform&quot;: &quot;A String&quot;, # User name for the original user transform with which this transform is most closely associated.
2330 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
2331 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
2332 },
2333 ],
2334 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this stage.
2335 &quot;inputSource&quot;: [ # Input sources for this stage.
2336 { # Description of an input or output of an execution stage.
2337 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
2338 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
2339 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
2340 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
2341 },
2342 ],
2343 &quot;id&quot;: &quot;A String&quot;, # Dataflow service generated id for this stage.
2344 &quot;outputSource&quot;: [ # Output sources for this stage.
2345 { # Description of an input or output of an execution stage.
2346 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
2347 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
2348 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
2349 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
2350 },
2351 ],
2352 &quot;kind&quot;: &quot;A String&quot;, # Type of tranform this stage is executing.
2353 },
2354 ],
2355 &quot;originalPipelineTransform&quot;: [ # Description of each transform in the pipeline and collections between them.
2356 { # Description of the type, names/ids, and input/outputs for a transform.
2357 &quot;outputCollectionName&quot;: [ # User names for all collection outputs to this transform.
2358 &quot;A String&quot;,
2359 ],
2360 &quot;name&quot;: &quot;A String&quot;, # User provided name for this transform instance.
2361 &quot;inputCollectionName&quot;: [ # User names for all collection inputs to this transform.
2362 &quot;A String&quot;,
2363 ],
2364 &quot;kind&quot;: &quot;A String&quot;, # Type of transform.
2365 &quot;id&quot;: &quot;A String&quot;, # SDK generated id of this transform instance.
2366 &quot;displayData&quot;: [ # Transform-specific display data.
2367 { # Data provided with a pipeline or transform to provide descriptive info.
2368 &quot;key&quot;: &quot;A String&quot;, # The key identifying the display data. This is intended to be used as a label for the display data when viewed in a dax monitoring system.
2369 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
2370 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
2371 &quot;namespace&quot;: &quot;A String&quot;, # The namespace for the key. This is usually a class name or programming language namespace (i.e. python module) which defines the display data. This allows a dax monitoring system to specially handle the data and perform custom rendering.
2372 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
2373 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
2374 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
2375 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
2376 &quot;shortStrValue&quot;: &quot;A String&quot;, # A possible additional shorter value to display. For example a java_class_name_value of com.mypackage.MyDoFn will be stored with MyDoFn as the short_str_value and com.mypackage.MyDoFn as the java_class_name value. short_str_value can be displayed and java_class_name_value will be displayed as a tooltip.
2377 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
2378 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
2379 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
2380 },
2381 ],
2382 },
2383 ],
2384 &quot;displayData&quot;: [ # Pipeline level display data.
2385 { # Data provided with a pipeline or transform to provide descriptive info.
2386 &quot;key&quot;: &quot;A String&quot;, # The key identifying the display data. This is intended to be used as a label for the display data when viewed in a dax monitoring system.
2387 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
2388 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
2389 &quot;namespace&quot;: &quot;A String&quot;, # The namespace for the key. This is usually a class name or programming language namespace (i.e. python module) which defines the display data. This allows a dax monitoring system to specially handle the data and perform custom rendering.
2390 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
2391 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
2392 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
2393 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
2394 &quot;shortStrValue&quot;: &quot;A String&quot;, # A possible additional shorter value to display. For example a java_class_name_value of com.mypackage.MyDoFn will be stored with MyDoFn as the short_str_value and com.mypackage.MyDoFn as the java_class_name value. short_str_value can be displayed and java_class_name_value will be displayed as a tooltip.
2395 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
2396 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
2397 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
2398 },
2399 ],
2400 },
2401 &quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
2402 &quot;tempFiles&quot;: [ # 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}
2403 &quot;A String&quot;,
2404 ],
2405 }</pre>
Nathaniel Manista4f877e52015-06-15 16:44:50 +00002406</div>
2407
2408</body></html>