blob: 86db8aa6bd5182f5c89bf895202fca1b817de5e8 [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">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070093 <code><a href="#aggregated">aggregated(projectId, pageToken=None, filter=None, pageSize=None, location=None, view=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">
102 <code><a href="#create">create(projectId, body=None, view=None, location=None, replaceJobId=None, x__xgafv=None)</a></code></p>
103<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">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700108 <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">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700111 <code><a href="#list">list(projectId, filter=None, pageToken=None, view=None, location=None, pageSize=None, x__xgafv=None)</a></code></p>
112<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">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700124 <code class="details" id="aggregated">aggregated(projectId, pageToken=None, filter=None, pageSize=None, location=None, view=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)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700129 pageToken: string, Set this to the &#x27;next_page_token&#x27; field of a previous response to request additional results in a long list.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700130 filter: string, The kind of filter to use.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700131 Allowed values
132 UNKNOWN - The filter isn&#x27;t specified, or is unknown. This returns all jobs ordered on descending `JobUuid`.
133 ALL - Returns all running jobs first ordered on creation timestamp, then returns all terminated jobs ordered on the termination timestamp.
134 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.
135 ACTIVE - Filters the jobs that are running ordered on the creation timestamp.
136 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.
137 location: string, The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
Bu Sun Kim65020912020-05-20 12:08:20 -0700138 view: string, Level of information requested in response. Default is `JOB_VIEW_SUMMARY`.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700139 Allowed values
140 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.
141 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.
142 JOB_VIEW_ALL - Request all information available for this job.
143 JOB_VIEW_DESCRIPTION - Request summary info and limited job description data for steps, labels and environment.
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 Kim65020912020-05-20 12:08:20 -0700153 &quot;jobs&quot;: [ # A subset of the requested job information.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700154 { # Defines a job to be run by the Cloud Dataflow service.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700155 &quot;stageStates&quot;: [ # This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
156 { # A message describing the state of a particular execution stage.
157 &quot;currentStateTime&quot;: &quot;A String&quot;, # The time at which the stage transitioned to this state.
158 &quot;executionStageState&quot;: &quot;A String&quot;, # Executions stage states allow the same set of values as JobState.
159 &quot;executionStageName&quot;: &quot;A String&quot;, # The name of the execution stage.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700160 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700161 ],
162 &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.
163 &quot;originalPipelineTransform&quot;: [ # Description of each transform in the pipeline and collections between them.
164 { # Description of the type, names/ids, and input/outputs for a transform.
165 &quot;name&quot;: &quot;A String&quot;, # User provided name for this transform instance.
166 &quot;displayData&quot;: [ # Transform-specific display data.
167 { # Data provided with a pipeline or transform to provide descriptive info.
168 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
169 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
170 &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.
171 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
172 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
173 &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.
174 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
175 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
176 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
177 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
178 &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.
179 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700180 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700181 ],
182 &quot;inputCollectionName&quot;: [ # User names for all collection inputs to this transform.
183 &quot;A String&quot;,
184 ],
185 &quot;id&quot;: &quot;A String&quot;, # SDK generated id of this transform instance.
186 &quot;kind&quot;: &quot;A String&quot;, # Type of transform.
187 &quot;outputCollectionName&quot;: [ # User names for all collection outputs to this transform.
188 &quot;A String&quot;,
189 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700190 },
191 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700192 &quot;executionPipelineStage&quot;: [ # Description of each stage of execution of the pipeline.
193 { # 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.
194 &quot;kind&quot;: &quot;A String&quot;, # Type of tranform this stage is executing.
195 &quot;id&quot;: &quot;A String&quot;, # Dataflow service generated id for this stage.
196 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this stage.
197 &quot;componentTransform&quot;: [ # Transforms that comprise this execution stage.
198 { # Description of a transform executed as part of an execution stage.
199 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
200 &quot;originalTransform&quot;: &quot;A String&quot;, # User name for the original user transform with which this transform is most closely associated.
201 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
202 },
203 ],
204 &quot;componentSource&quot;: [ # Collections produced and consumed by component transforms of this stage.
205 { # Description of an interstitial value between transforms in an execution stage.
206 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
207 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
208 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
209 },
210 ],
211 &quot;outputSource&quot;: [ # Output sources for this stage.
212 { # Description of an input or output of an execution stage.
213 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
214 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
215 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
216 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
217 },
218 ],
219 &quot;inputSource&quot;: [ # Input sources for this stage.
220 { # Description of an input or output of an execution stage.
221 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
222 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
223 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
224 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
225 },
226 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700227 },
228 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700229 &quot;displayData&quot;: [ # Pipeline level display data.
230 { # Data provided with a pipeline or transform to provide descriptive info.
231 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
232 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
233 &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.
234 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
235 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
236 &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.
237 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
238 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
239 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
240 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
241 &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.
242 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700243 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700244 ],
245 },
246 &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.
247 &quot;a_key&quot;: &quot;A String&quot;,
248 },
249 &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.
250 { # 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.
251 &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.
252 &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.
253 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
254 },
255 &quot;kind&quot;: &quot;A String&quot;, # The kind of step in the Cloud Dataflow job.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700256 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700257 ],
258 &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])?`
259 &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.
260 &quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
261 &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.
262 &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
263 &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}
264 &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}
265 &quot;version&quot;: { # A structure describing which components and their versions of the service are required in order to run the job.
266 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700267 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700268 &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.
269 { # 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.
270 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # The action to take on host maintenance, as defined by the Google Compute Engine API.
271 &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.
272 &quot;metadata&quot;: { # Metadata to set on the Google Compute Engine VMs.
273 &quot;a_key&quot;: &quot;A String&quot;,
274 },
275 &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.
276 &quot;poolArgs&quot;: { # Extra arguments for this worker pool.
277 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
278 },
279 &quot;ipConfiguration&quot;: &quot;A String&quot;, # Configuration for VM IPs.
280 &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.
281 &quot;packages&quot;: [ # Packages to be installed on workers.
282 { # 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.
283 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
284 &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/
285 },
286 ],
287 &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.
288 &quot;commandlinesFileName&quot;: &quot;A String&quot;, # The file to store preprocessing commands in.
289 &quot;languageHint&quot;: &quot;A String&quot;, # The suggested backend language.
290 &quot;workflowFileName&quot;: &quot;A String&quot;, # The file to store the workflow in.
291 &quot;streamingWorkerMainClass&quot;: &quot;A String&quot;, # The streaming worker main class name.
292 &quot;vmId&quot;: &quot;A String&quot;, # The ID string of the VM.
293 &quot;baseTaskDir&quot;: &quot;A String&quot;, # The location on the worker for task-specific subdirectories.
294 &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;.
295 &quot;continueOnException&quot;: True or False, # Whether to continue taskrunner if an exception is hit.
296 &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}
297 &quot;harnessCommand&quot;: &quot;A String&quot;, # The command to launch the worker harness.
298 &quot;oauthScopes&quot;: [ # The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700299 &quot;A String&quot;,
300 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700301 &quot;dataflowApiVersion&quot;: &quot;A String&quot;, # The API version of endpoint, e.g. &quot;v1b3&quot;
302 &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;.
303 &quot;alsologtostderr&quot;: True or False, # Whether to also send taskrunner log info to stderr.
304 &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}
305 &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;
306 &quot;logDir&quot;: &quot;A String&quot;, # The directory on the VM to store logs.
307 &quot;logToSerialconsole&quot;: True or False, # Whether to send taskrunner log info to Google Compute Engine VM serial console.
308 &quot;parallelWorkerSettings&quot;: { # Provides data to pass through to the worker harness. # The settings to pass to the parallel worker harness.
309 &quot;servicePath&quot;: &quot;A String&quot;, # The Cloud Dataflow service path relative to the root URL, for example, &quot;dataflow/v1b3/projects&quot;.
310 &quot;workerId&quot;: &quot;A String&quot;, # The ID of the worker running this pipeline.
311 &quot;shuffleServicePath&quot;: &quot;A String&quot;, # The Shuffle service path relative to the root URL, for example, &quot;shuffle/v1beta1&quot;.
312 &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;
313 &quot;reportingEnabled&quot;: True or False, # Whether to send work progress updates to the service.
314 &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}
315 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700316 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700317 &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.
318 &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.
319 { # Defines a SDK harness container for executing Dataflow pipelines.
320 &quot;containerImage&quot;: &quot;A String&quot;, # A docker container image that resides in Google Container Registry.
321 &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.
322 },
323 ],
324 &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;.
325 &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.
326 &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.
327 &quot;autoscalingSettings&quot;: { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
328 &quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap scaling at.
329 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for autoscaling.
330 },
331 &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.
332 &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).
333 &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.
334 &quot;dataDisks&quot;: [ # Data disks that are used by a VM in this workflow.
335 { # Describes the data disk used by a workflow job.
336 &quot;mountPoint&quot;: &quot;A String&quot;, # Directory in a VM where disk is mounted.
337 &quot;sizeGb&quot;: 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
338 &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
339 },
340 ],
341 &quot;kind&quot;: &quot;A String&quot;, # The kind of the worker pool; currently only `harness` and `shuffle` are supported.
342 &quot;diskSourceImage&quot;: &quot;A String&quot;, # Fully qualified source image for disks.
343 &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 Kim65020912020-05-20 12:08:20 -0700344 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700345 ],
346 &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.
347 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Identity to run virtual machines as. Defaults to the default account.
348 &quot;flexResourceSchedulingGoal&quot;: &quot;A String&quot;, # Which Flexible Resource Scheduling mode to run in.
349 &quot;userAgent&quot;: { # A description of the process that generated the request.
350 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
Bu Sun Kim65020912020-05-20 12:08:20 -0700351 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700352 &quot;experiments&quot;: [ # The list of experiments to enable.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700353 &quot;A String&quot;,
354 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700355 &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.
356 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
357 },
358 &quot;internalExperiments&quot;: { # Experimental settings.
359 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
360 },
361 &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;.
Bu Sun Kim65020912020-05-20 12:08:20 -0700362 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700363 &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}
364 &quot;A String&quot;,
365 ],
366 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
367 &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.
368 &quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
369 &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.
370 &quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
371 &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.
372 &quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
373 &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.
374 &quot;executionInfo&quot;: { # Additional information about how a Cloud Dataflow job will be executed that isn&#x27;t contained in the submitted job. # Deprecated.
375 &quot;stages&quot;: { # A mapping from each stage to the information about that stage.
376 &quot;a_key&quot;: { # Contains information about how a particular google.dataflow.v1beta3.Step will be executed.
377 &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.
378 &quot;A String&quot;,
379 ],
380 },
381 },
382 },
383 &quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
384 &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.
385 &quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
386 &quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
387 &quot;a_key&quot;: &quot;A String&quot;,
388 },
389 &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.
390 &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.
391 &quot;fileDetails&quot;: [ # Identification of a File source used in the Dataflow job.
392 { # Metadata for a File connector used by the job.
393 &quot;filePattern&quot;: &quot;A String&quot;, # File Pattern used to access files by the connector.
394 },
395 ],
396 &quot;spannerDetails&quot;: [ # Identification of a Spanner source used in the Dataflow job.
397 { # Metadata for a Spanner connector used by the job.
398 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
399 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
400 &quot;databaseId&quot;: &quot;A String&quot;, # DatabaseId accessed in the connection.
401 },
402 ],
403 &quot;datastoreDetails&quot;: [ # Identification of a Datastore source used in the Dataflow job.
404 { # Metadata for a Datastore connector used by the job.
405 &quot;namespace&quot;: &quot;A String&quot;, # Namespace used in the connection.
406 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
407 },
408 ],
409 &quot;sdkVersion&quot;: { # The version of the SDK used to run the job. # The SDK version used to run the job.
410 &quot;version&quot;: &quot;A String&quot;, # The version of the SDK used to run the job.
411 &quot;sdkSupportStatus&quot;: &quot;A String&quot;, # The support status for this SDK version.
412 &quot;versionDisplayName&quot;: &quot;A String&quot;, # A readable string describing the version of the SDK.
413 },
414 &quot;pubsubDetails&quot;: [ # Identification of a PubSub source used in the Dataflow job.
415 { # Metadata for a PubSub connector used by the job.
416 &quot;subscription&quot;: &quot;A String&quot;, # Subscription used in the connection.
417 &quot;topic&quot;: &quot;A String&quot;, # Topic accessed in the connection.
418 },
419 ],
420 &quot;bigqueryDetails&quot;: [ # Identification of a BigQuery source used in the Dataflow job.
421 { # Metadata for a BigQuery connector used by the job.
422 &quot;dataset&quot;: &quot;A String&quot;, # Dataset accessed in the connection.
423 &quot;projectId&quot;: &quot;A String&quot;, # Project accessed in the connection.
424 &quot;query&quot;: &quot;A String&quot;, # Query used to access data in the connection.
425 &quot;table&quot;: &quot;A String&quot;, # Table accessed in the connection.
426 },
427 ],
428 &quot;bigTableDetails&quot;: [ # Identification of a BigTable source used in the Dataflow job.
429 { # Metadata for a BigTable connector used by the job.
430 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
431 &quot;tableId&quot;: &quot;A String&quot;, # TableId accessed in the connection.
432 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
433 },
434 ],
435 },
436 &quot;stepsLocation&quot;: &quot;A String&quot;, # The GCS location where the steps are stored.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700437 },
438 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700439 &quot;failedLocation&quot;: [ # Zero or more messages describing the [regional endpoints] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that failed to respond.
440 { # Indicates which [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) failed to respond to a request for data.
441 &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.
442 },
443 ],
444 &quot;nextPageToken&quot;: &quot;A String&quot;, # Set if there may be more results than fit in this response.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700445 }</pre>
446</div>
447
448<div class="method">
449 <code class="details" id="aggregated_next">aggregated_next(previous_request, previous_response)</code>
450 <pre>Retrieves the next page of results.
451
452Args:
453 previous_request: The request for the previous page. (required)
454 previous_response: The response from the request for the previous page. (required)
455
456Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700457 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700458 page. Returns None if there are no more items in the collection.
459 </pre>
460</div>
461
462<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700463 <code class="details" id="close">close()</code>
464 <pre>Close httplib2 connections.</pre>
465</div>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000466
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700467<div class="method">
468 <code class="details" id="create">create(projectId, body=None, view=None, location=None, replaceJobId=None, x__xgafv=None)</code>
469 <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 -0700470
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000471Args:
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400472 projectId: string, The ID of the Cloud Platform project that the job belongs to. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700473 body: object, The request body.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000474 The object takes the form of:
475
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400476{ # Defines a job to be run by the Cloud Dataflow service.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700477 &quot;stageStates&quot;: [ # This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
478 { # A message describing the state of a particular execution stage.
479 &quot;currentStateTime&quot;: &quot;A String&quot;, # The time at which the stage transitioned to this state.
480 &quot;executionStageState&quot;: &quot;A String&quot;, # Executions stage states allow the same set of values as JobState.
481 &quot;executionStageName&quot;: &quot;A String&quot;, # The name of the execution stage.
482 },
483 ],
484 &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.
485 &quot;originalPipelineTransform&quot;: [ # Description of each transform in the pipeline and collections between them.
486 { # Description of the type, names/ids, and input/outputs for a transform.
487 &quot;name&quot;: &quot;A String&quot;, # User provided name for this transform instance.
488 &quot;displayData&quot;: [ # Transform-specific display data.
489 { # Data provided with a pipeline or transform to provide descriptive info.
490 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
491 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
492 &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.
493 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
494 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
495 &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.
496 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
497 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
498 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
499 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
500 &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.
501 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
502 },
503 ],
504 &quot;inputCollectionName&quot;: [ # User names for all collection inputs to this transform.
505 &quot;A String&quot;,
506 ],
507 &quot;id&quot;: &quot;A String&quot;, # SDK generated id of this transform instance.
508 &quot;kind&quot;: &quot;A String&quot;, # Type of transform.
509 &quot;outputCollectionName&quot;: [ # User names for all collection outputs to this transform.
510 &quot;A String&quot;,
511 ],
512 },
513 ],
514 &quot;executionPipelineStage&quot;: [ # Description of each stage of execution of the pipeline.
515 { # 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.
516 &quot;kind&quot;: &quot;A String&quot;, # Type of tranform this stage is executing.
517 &quot;id&quot;: &quot;A String&quot;, # Dataflow service generated id for this stage.
518 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this stage.
519 &quot;componentTransform&quot;: [ # Transforms that comprise this execution stage.
520 { # Description of a transform executed as part of an execution stage.
521 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
522 &quot;originalTransform&quot;: &quot;A String&quot;, # User name for the original user transform with which this transform is most closely associated.
523 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
524 },
525 ],
526 &quot;componentSource&quot;: [ # Collections produced and consumed by component transforms of this stage.
527 { # Description of an interstitial value between transforms in an execution stage.
528 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
529 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
530 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
531 },
532 ],
533 &quot;outputSource&quot;: [ # Output sources for this stage.
534 { # Description of an input or output of an execution stage.
535 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
536 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
537 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
538 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
539 },
540 ],
541 &quot;inputSource&quot;: [ # Input sources for this stage.
542 { # Description of an input or output of an execution stage.
543 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
544 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
545 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
546 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
547 },
548 ],
549 },
550 ],
551 &quot;displayData&quot;: [ # Pipeline level display data.
552 { # Data provided with a pipeline or transform to provide descriptive info.
553 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
554 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
555 &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.
556 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
557 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
558 &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.
559 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
560 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
561 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
562 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
563 &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.
564 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
565 },
566 ],
567 },
568 &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.
569 &quot;a_key&quot;: &quot;A String&quot;,
570 },
571 &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.
572 { # 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.
573 &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.
574 &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.
575 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
576 },
577 &quot;kind&quot;: &quot;A String&quot;, # The kind of step in the Cloud Dataflow job.
578 },
579 ],
580 &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])?`
581 &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.
582 &quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
583 &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.
584 &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
585 &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}
586 &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}
587 &quot;version&quot;: { # A structure describing which components and their versions of the service are required in order to run the job.
588 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
589 },
590 &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.
591 { # 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.
592 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # The action to take on host maintenance, as defined by the Google Compute Engine API.
593 &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.
594 &quot;metadata&quot;: { # Metadata to set on the Google Compute Engine VMs.
595 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700596 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700597 &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.
598 &quot;poolArgs&quot;: { # Extra arguments for this worker pool.
599 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
600 },
601 &quot;ipConfiguration&quot;: &quot;A String&quot;, # Configuration for VM IPs.
602 &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.
603 &quot;packages&quot;: [ # Packages to be installed on workers.
604 { # 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.
605 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
606 &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/
607 },
608 ],
609 &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.
610 &quot;commandlinesFileName&quot;: &quot;A String&quot;, # The file to store preprocessing commands in.
611 &quot;languageHint&quot;: &quot;A String&quot;, # The suggested backend language.
612 &quot;workflowFileName&quot;: &quot;A String&quot;, # The file to store the workflow in.
613 &quot;streamingWorkerMainClass&quot;: &quot;A String&quot;, # The streaming worker main class name.
614 &quot;vmId&quot;: &quot;A String&quot;, # The ID string of the VM.
615 &quot;baseTaskDir&quot;: &quot;A String&quot;, # The location on the worker for task-specific subdirectories.
616 &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;.
617 &quot;continueOnException&quot;: True or False, # Whether to continue taskrunner if an exception is hit.
618 &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}
619 &quot;harnessCommand&quot;: &quot;A String&quot;, # The command to launch the worker harness.
620 &quot;oauthScopes&quot;: [ # The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700621 &quot;A String&quot;,
622 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700623 &quot;dataflowApiVersion&quot;: &quot;A String&quot;, # The API version of endpoint, e.g. &quot;v1b3&quot;
624 &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;.
625 &quot;alsologtostderr&quot;: True or False, # Whether to also send taskrunner log info to stderr.
626 &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}
627 &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;
628 &quot;logDir&quot;: &quot;A String&quot;, # The directory on the VM to store logs.
629 &quot;logToSerialconsole&quot;: True or False, # Whether to send taskrunner log info to Google Compute Engine VM serial console.
630 &quot;parallelWorkerSettings&quot;: { # Provides data to pass through to the worker harness. # The settings to pass to the parallel worker harness.
631 &quot;servicePath&quot;: &quot;A String&quot;, # The Cloud Dataflow service path relative to the root URL, for example, &quot;dataflow/v1b3/projects&quot;.
632 &quot;workerId&quot;: &quot;A String&quot;, # The ID of the worker running this pipeline.
633 &quot;shuffleServicePath&quot;: &quot;A String&quot;, # The Shuffle service path relative to the root URL, for example, &quot;shuffle/v1beta1&quot;.
634 &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;
635 &quot;reportingEnabled&quot;: True or False, # Whether to send work progress updates to the service.
636 &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}
637 },
638 },
639 &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.
640 &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.
641 { # Defines a SDK harness container for executing Dataflow pipelines.
642 &quot;containerImage&quot;: &quot;A String&quot;, # A docker container image that resides in Google Container Registry.
643 &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.
644 },
645 ],
646 &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;.
647 &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.
648 &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.
649 &quot;autoscalingSettings&quot;: { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
650 &quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap scaling at.
651 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for autoscaling.
652 },
653 &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.
654 &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).
655 &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.
656 &quot;dataDisks&quot;: [ # Data disks that are used by a VM in this workflow.
657 { # Describes the data disk used by a workflow job.
658 &quot;mountPoint&quot;: &quot;A String&quot;, # Directory in a VM where disk is mounted.
659 &quot;sizeGb&quot;: 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
660 &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
661 },
662 ],
663 &quot;kind&quot;: &quot;A String&quot;, # The kind of the worker pool; currently only `harness` and `shuffle` are supported.
664 &quot;diskSourceImage&quot;: &quot;A String&quot;, # Fully qualified source image for disks.
665 &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;.
666 },
667 ],
668 &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.
669 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Identity to run virtual machines as. Defaults to the default account.
670 &quot;flexResourceSchedulingGoal&quot;: &quot;A String&quot;, # Which Flexible Resource Scheduling mode to run in.
671 &quot;userAgent&quot;: { # A description of the process that generated the request.
672 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
673 },
674 &quot;experiments&quot;: [ # The list of experiments to enable.
675 &quot;A String&quot;,
676 ],
677 &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.
678 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
679 },
680 &quot;internalExperiments&quot;: { # Experimental settings.
681 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
682 },
683 &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;.
684 },
685 &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}
686 &quot;A String&quot;,
687 ],
688 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
689 &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.
690 &quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
691 &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.
692 &quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
693 &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.
694 &quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
695 &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.
696 &quot;executionInfo&quot;: { # Additional information about how a Cloud Dataflow job will be executed that isn&#x27;t contained in the submitted job. # Deprecated.
697 &quot;stages&quot;: { # A mapping from each stage to the information about that stage.
698 &quot;a_key&quot;: { # Contains information about how a particular google.dataflow.v1beta3.Step will be executed.
699 &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.
700 &quot;A String&quot;,
701 ],
702 },
703 },
704 },
705 &quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
706 &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.
707 &quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
708 &quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
709 &quot;a_key&quot;: &quot;A String&quot;,
710 },
711 &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.
712 &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.
713 &quot;fileDetails&quot;: [ # Identification of a File source used in the Dataflow job.
714 { # Metadata for a File connector used by the job.
715 &quot;filePattern&quot;: &quot;A String&quot;, # File Pattern used to access files by the connector.
716 },
717 ],
718 &quot;spannerDetails&quot;: [ # Identification of a Spanner source used in the Dataflow job.
719 { # Metadata for a Spanner connector used by the job.
720 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
721 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
722 &quot;databaseId&quot;: &quot;A String&quot;, # DatabaseId accessed in the connection.
723 },
724 ],
725 &quot;datastoreDetails&quot;: [ # Identification of a Datastore source used in the Dataflow job.
726 { # Metadata for a Datastore connector used by the job.
727 &quot;namespace&quot;: &quot;A String&quot;, # Namespace used in the connection.
728 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
729 },
730 ],
731 &quot;sdkVersion&quot;: { # The version of the SDK used to run the job. # The SDK version used to run the job.
732 &quot;version&quot;: &quot;A String&quot;, # The version of the SDK used to run the job.
733 &quot;sdkSupportStatus&quot;: &quot;A String&quot;, # The support status for this SDK version.
734 &quot;versionDisplayName&quot;: &quot;A String&quot;, # A readable string describing the version of the SDK.
735 },
736 &quot;pubsubDetails&quot;: [ # Identification of a PubSub source used in the Dataflow job.
737 { # Metadata for a PubSub connector used by the job.
738 &quot;subscription&quot;: &quot;A String&quot;, # Subscription used in the connection.
739 &quot;topic&quot;: &quot;A String&quot;, # Topic accessed in the connection.
740 },
741 ],
742 &quot;bigqueryDetails&quot;: [ # Identification of a BigQuery source used in the Dataflow job.
743 { # Metadata for a BigQuery connector used by the job.
744 &quot;dataset&quot;: &quot;A String&quot;, # Dataset accessed in the connection.
745 &quot;projectId&quot;: &quot;A String&quot;, # Project accessed in the connection.
746 &quot;query&quot;: &quot;A String&quot;, # Query used to access data in the connection.
747 &quot;table&quot;: &quot;A String&quot;, # Table accessed in the connection.
748 },
749 ],
750 &quot;bigTableDetails&quot;: [ # Identification of a BigTable source used in the Dataflow job.
751 { # Metadata for a BigTable connector used by the job.
752 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
753 &quot;tableId&quot;: &quot;A String&quot;, # TableId accessed in the connection.
754 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
755 },
756 ],
757 },
758 &quot;stepsLocation&quot;: &quot;A String&quot;, # The GCS location where the steps are stored.
759}
760
761 view: string, The level of information requested in response.
762 Allowed values
763 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.
764 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.
765 JOB_VIEW_ALL - Request all information available for this job.
766 JOB_VIEW_DESCRIPTION - Request summary info and limited job description data for steps, labels and environment.
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 x__xgafv: string, V1 error format.
770 Allowed values
771 1 - v1 error format
772 2 - v2 error format
773
774Returns:
775 An object of the form:
776
777 { # Defines a job to be run by the Cloud Dataflow service.
778 &quot;stageStates&quot;: [ # This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
779 { # A message describing the state of a particular execution stage.
780 &quot;currentStateTime&quot;: &quot;A String&quot;, # The time at which the stage transitioned to this state.
781 &quot;executionStageState&quot;: &quot;A String&quot;, # Executions stage states allow the same set of values as JobState.
782 &quot;executionStageName&quot;: &quot;A String&quot;, # The name of the execution stage.
783 },
784 ],
785 &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.
786 &quot;originalPipelineTransform&quot;: [ # Description of each transform in the pipeline and collections between them.
787 { # Description of the type, names/ids, and input/outputs for a transform.
788 &quot;name&quot;: &quot;A String&quot;, # User provided name for this transform instance.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700789 &quot;displayData&quot;: [ # Transform-specific display data.
790 { # Data provided with a pipeline or transform to provide descriptive info.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700791 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700792 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
793 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700794 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700795 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
796 &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.
797 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
798 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
799 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
800 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
801 &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.
802 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700803 },
804 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700805 &quot;inputCollectionName&quot;: [ # User names for all collection inputs to this transform.
806 &quot;A String&quot;,
807 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700808 &quot;id&quot;: &quot;A String&quot;, # SDK generated id of this transform instance.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700809 &quot;kind&quot;: &quot;A String&quot;, # Type of transform.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700810 &quot;outputCollectionName&quot;: [ # User names for all collection outputs to this transform.
811 &quot;A String&quot;,
812 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700813 },
814 ],
815 &quot;executionPipelineStage&quot;: [ # Description of each stage of execution of the pipeline.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700816 { # 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.
817 &quot;kind&quot;: &quot;A String&quot;, # Type of tranform this stage is executing.
818 &quot;id&quot;: &quot;A String&quot;, # Dataflow service generated id for this stage.
819 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this stage.
820 &quot;componentTransform&quot;: [ # Transforms that comprise this execution stage.
821 { # Description of a transform executed as part of an execution stage.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700822 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700823 &quot;originalTransform&quot;: &quot;A String&quot;, # User name for the original user transform with which this transform is most closely associated.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700824 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700825 },
826 ],
827 &quot;componentSource&quot;: [ # Collections produced and consumed by component transforms of this stage.
828 { # Description of an interstitial value between transforms in an execution stage.
829 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
830 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
831 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
832 },
833 ],
834 &quot;outputSource&quot;: [ # Output sources for this stage.
835 { # Description of an input or output of an execution stage.
836 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
837 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
838 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
839 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700840 },
841 ],
842 &quot;inputSource&quot;: [ # Input sources for this stage.
843 { # Description of an input or output of an execution stage.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700844 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
845 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700846 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700847 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700848 },
849 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700850 },
851 ],
852 &quot;displayData&quot;: [ # Pipeline level display data.
853 { # Data provided with a pipeline or transform to provide descriptive info.
854 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
855 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
856 &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.
857 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
858 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
859 &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.
860 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
861 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
862 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
863 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
864 &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.
865 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700866 },
867 ],
868 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700869 &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 -0700870 &quot;a_key&quot;: &quot;A String&quot;,
871 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700872 &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.
873 { # 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.
874 &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.
875 &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.
876 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
877 },
878 &quot;kind&quot;: &quot;A String&quot;, # The kind of step in the Cloud Dataflow job.
879 },
880 ],
881 &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])?`
882 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700883 &quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700884 &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.
885 &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
886 &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}
887 &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}
888 &quot;version&quot;: { # A structure describing which components and their versions of the service are required in order to run the job.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700889 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
890 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700891 &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.
892 { # 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.
893 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # The action to take on host maintenance, as defined by the Google Compute Engine API.
894 &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 Kimd059ad82020-07-22 17:02:09 -0700895 &quot;metadata&quot;: { # Metadata to set on the Google Compute Engine VMs.
896 &quot;a_key&quot;: &quot;A String&quot;,
897 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700898 &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.
899 &quot;poolArgs&quot;: { # Extra arguments for this worker pool.
900 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
901 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700902 &quot;ipConfiguration&quot;: &quot;A String&quot;, # Configuration for VM IPs.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700903 &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.
904 &quot;packages&quot;: [ # Packages to be installed on workers.
905 { # 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.
906 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
907 &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/
908 },
909 ],
910 &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.
911 &quot;commandlinesFileName&quot;: &quot;A String&quot;, # The file to store preprocessing commands in.
912 &quot;languageHint&quot;: &quot;A String&quot;, # The suggested backend language.
913 &quot;workflowFileName&quot;: &quot;A String&quot;, # The file to store the workflow in.
914 &quot;streamingWorkerMainClass&quot;: &quot;A String&quot;, # The streaming worker main class name.
915 &quot;vmId&quot;: &quot;A String&quot;, # The ID string of the VM.
916 &quot;baseTaskDir&quot;: &quot;A String&quot;, # The location on the worker for task-specific subdirectories.
917 &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;.
918 &quot;continueOnException&quot;: True or False, # Whether to continue taskrunner if an exception is hit.
919 &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}
920 &quot;harnessCommand&quot;: &quot;A String&quot;, # The command to launch the worker harness.
921 &quot;oauthScopes&quot;: [ # The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
922 &quot;A String&quot;,
923 ],
924 &quot;dataflowApiVersion&quot;: &quot;A String&quot;, # The API version of endpoint, e.g. &quot;v1b3&quot;
925 &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;.
926 &quot;alsologtostderr&quot;: True or False, # Whether to also send taskrunner log info to stderr.
927 &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}
928 &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;
929 &quot;logDir&quot;: &quot;A String&quot;, # The directory on the VM to store logs.
930 &quot;logToSerialconsole&quot;: True or False, # Whether to send taskrunner log info to Google Compute Engine VM serial console.
931 &quot;parallelWorkerSettings&quot;: { # Provides data to pass through to the worker harness. # The settings to pass to the parallel worker harness.
932 &quot;servicePath&quot;: &quot;A String&quot;, # The Cloud Dataflow service path relative to the root URL, for example, &quot;dataflow/v1b3/projects&quot;.
933 &quot;workerId&quot;: &quot;A String&quot;, # The ID of the worker running this pipeline.
934 &quot;shuffleServicePath&quot;: &quot;A String&quot;, # The Shuffle service path relative to the root URL, for example, &quot;shuffle/v1beta1&quot;.
935 &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;
936 &quot;reportingEnabled&quot;: True or False, # Whether to send work progress updates to the service.
937 &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}
938 },
939 },
940 &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.
941 &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.
942 { # Defines a SDK harness container for executing Dataflow pipelines.
943 &quot;containerImage&quot;: &quot;A String&quot;, # A docker container image that resides in Google Container Registry.
944 &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.
945 },
946 ],
947 &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;.
948 &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.
949 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700950 &quot;autoscalingSettings&quot;: { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
951 &quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap scaling at.
952 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for autoscaling.
953 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700954 &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.
955 &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).
956 &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.
957 &quot;dataDisks&quot;: [ # Data disks that are used by a VM in this workflow.
958 { # Describes the data disk used by a workflow job.
959 &quot;mountPoint&quot;: &quot;A String&quot;, # Directory in a VM where disk is mounted.
960 &quot;sizeGb&quot;: 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
961 &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 Kimd059ad82020-07-22 17:02:09 -0700962 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700963 ],
964 &quot;kind&quot;: &quot;A String&quot;, # The kind of the worker pool; currently only `harness` and `shuffle` are supported.
965 &quot;diskSourceImage&quot;: &quot;A String&quot;, # Fully qualified source image for disks.
966 &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 Kim4ed7d3f2020-05-27 12:20:54 -0700967 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700968 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700969 &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.
970 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Identity to run virtual machines as. Defaults to the default account.
971 &quot;flexResourceSchedulingGoal&quot;: &quot;A String&quot;, # Which Flexible Resource Scheduling mode to run in.
972 &quot;userAgent&quot;: { # A description of the process that generated the request.
973 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
974 },
975 &quot;experiments&quot;: [ # The list of experiments to enable.
976 &quot;A String&quot;,
977 ],
978 &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.
979 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
980 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700981 &quot;internalExperiments&quot;: { # Experimental settings.
982 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700983 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700984 &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;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700985 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700986 &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}
987 &quot;A String&quot;,
988 ],
989 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
990 &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.
991 &quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
992 &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.
993 &quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
994 &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.
995 &quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
996 &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.
997 &quot;executionInfo&quot;: { # Additional information about how a Cloud Dataflow job will be executed that isn&#x27;t contained in the submitted job. # Deprecated.
998 &quot;stages&quot;: { # A mapping from each stage to the information about that stage.
999 &quot;a_key&quot;: { # Contains information about how a particular google.dataflow.v1beta3.Step will be executed.
1000 &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.
1001 &quot;A String&quot;,
1002 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001003 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001004 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001005 },
1006 &quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
1007 &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.
1008 &quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
1009 &quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
1010 &quot;a_key&quot;: &quot;A String&quot;,
1011 },
1012 &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.
1013 &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.
1014 &quot;fileDetails&quot;: [ # Identification of a File source used in the Dataflow job.
1015 { # Metadata for a File connector used by the job.
1016 &quot;filePattern&quot;: &quot;A String&quot;, # File Pattern used to access files by the connector.
1017 },
1018 ],
1019 &quot;spannerDetails&quot;: [ # Identification of a Spanner source used in the Dataflow job.
1020 { # Metadata for a Spanner connector used by the job.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001021 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001022 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
1023 &quot;databaseId&quot;: &quot;A String&quot;, # DatabaseId accessed in the connection.
1024 },
1025 ],
1026 &quot;datastoreDetails&quot;: [ # Identification of a Datastore source used in the Dataflow job.
1027 { # Metadata for a Datastore connector used by the job.
1028 &quot;namespace&quot;: &quot;A String&quot;, # Namespace used in the connection.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001029 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
1030 },
1031 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001032 &quot;sdkVersion&quot;: { # The version of the SDK used to run the job. # The SDK version used to run the job.
1033 &quot;version&quot;: &quot;A String&quot;, # The version of the SDK used to run the job.
1034 &quot;sdkSupportStatus&quot;: &quot;A String&quot;, # The support status for this SDK version.
1035 &quot;versionDisplayName&quot;: &quot;A String&quot;, # A readable string describing the version of the SDK.
1036 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001037 &quot;pubsubDetails&quot;: [ # Identification of a PubSub source used in the Dataflow job.
1038 { # Metadata for a PubSub connector used by the job.
1039 &quot;subscription&quot;: &quot;A String&quot;, # Subscription used in the connection.
1040 &quot;topic&quot;: &quot;A String&quot;, # Topic accessed in the connection.
1041 },
1042 ],
1043 &quot;bigqueryDetails&quot;: [ # Identification of a BigQuery source used in the Dataflow job.
1044 { # Metadata for a BigQuery connector used by the job.
1045 &quot;dataset&quot;: &quot;A String&quot;, # Dataset accessed in the connection.
1046 &quot;projectId&quot;: &quot;A String&quot;, # Project accessed in the connection.
1047 &quot;query&quot;: &quot;A String&quot;, # Query used to access data in the connection.
1048 &quot;table&quot;: &quot;A String&quot;, # Table accessed in the connection.
1049 },
1050 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001051 &quot;bigTableDetails&quot;: [ # Identification of a BigTable source used in the Dataflow job.
1052 { # Metadata for a BigTable connector used by the job.
1053 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
1054 &quot;tableId&quot;: &quot;A String&quot;, # TableId accessed in the connection.
1055 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
1056 },
1057 ],
1058 },
1059 &quot;stepsLocation&quot;: &quot;A String&quot;, # The GCS location where the steps are stored.
1060 }</pre>
1061</div>
1062
1063<div class="method">
1064 <code class="details" id="get">get(projectId, jobId, location=None, view=None, x__xgafv=None)</code>
1065 <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`.
1066
1067Args:
1068 projectId: string, The ID of the Cloud Platform project that the job belongs to. (required)
1069 jobId: string, The job ID. (required)
1070 location: string, The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
1071 view: string, The level of information requested in response.
1072 Allowed values
1073 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.
1074 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.
1075 JOB_VIEW_ALL - Request all information available for this job.
1076 JOB_VIEW_DESCRIPTION - Request summary info and limited job description data for steps, labels and environment.
1077 x__xgafv: string, V1 error format.
1078 Allowed values
1079 1 - v1 error format
1080 2 - v2 error format
1081
1082Returns:
1083 An object of the form:
1084
1085 { # Defines a job to be run by the Cloud Dataflow service.
1086 &quot;stageStates&quot;: [ # This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
1087 { # A message describing the state of a particular execution stage.
1088 &quot;currentStateTime&quot;: &quot;A String&quot;, # The time at which the stage transitioned to this state.
1089 &quot;executionStageState&quot;: &quot;A String&quot;, # Executions stage states allow the same set of values as JobState.
1090 &quot;executionStageName&quot;: &quot;A String&quot;, # The name of the execution stage.
1091 },
1092 ],
1093 &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.
1094 &quot;originalPipelineTransform&quot;: [ # Description of each transform in the pipeline and collections between them.
1095 { # Description of the type, names/ids, and input/outputs for a transform.
1096 &quot;name&quot;: &quot;A String&quot;, # User provided name for this transform instance.
1097 &quot;displayData&quot;: [ # Transform-specific display data.
1098 { # Data provided with a pipeline or transform to provide descriptive info.
1099 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
1100 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
1101 &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.
1102 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
1103 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
1104 &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.
1105 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
1106 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
1107 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
1108 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
1109 &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.
1110 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
1111 },
1112 ],
1113 &quot;inputCollectionName&quot;: [ # User names for all collection inputs to this transform.
1114 &quot;A String&quot;,
1115 ],
1116 &quot;id&quot;: &quot;A String&quot;, # SDK generated id of this transform instance.
1117 &quot;kind&quot;: &quot;A String&quot;, # Type of transform.
1118 &quot;outputCollectionName&quot;: [ # User names for all collection outputs to this transform.
1119 &quot;A String&quot;,
1120 ],
1121 },
1122 ],
1123 &quot;executionPipelineStage&quot;: [ # Description of each stage of execution of the pipeline.
1124 { # 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.
1125 &quot;kind&quot;: &quot;A String&quot;, # Type of tranform this stage is executing.
1126 &quot;id&quot;: &quot;A String&quot;, # Dataflow service generated id for this stage.
1127 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this stage.
1128 &quot;componentTransform&quot;: [ # Transforms that comprise this execution stage.
1129 { # Description of a transform executed as part of an execution stage.
1130 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
1131 &quot;originalTransform&quot;: &quot;A String&quot;, # User name for the original user transform with which this transform is most closely associated.
1132 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1133 },
1134 ],
1135 &quot;componentSource&quot;: [ # Collections produced and consumed by component transforms of this stage.
1136 { # Description of an interstitial value between transforms in an execution stage.
1137 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
1138 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1139 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1140 },
1141 ],
1142 &quot;outputSource&quot;: [ # Output sources for this stage.
1143 { # Description of an input or output of an execution stage.
1144 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
1145 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1146 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
1147 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1148 },
1149 ],
1150 &quot;inputSource&quot;: [ # Input sources for this stage.
1151 { # Description of an input or output of an execution stage.
1152 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
1153 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1154 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
1155 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1156 },
1157 ],
1158 },
1159 ],
1160 &quot;displayData&quot;: [ # Pipeline level display data.
1161 { # Data provided with a pipeline or transform to provide descriptive info.
1162 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
1163 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
1164 &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.
1165 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
1166 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
1167 &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.
1168 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
1169 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
1170 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
1171 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
1172 &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.
1173 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
1174 },
1175 ],
1176 },
1177 &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.
1178 &quot;a_key&quot;: &quot;A String&quot;,
1179 },
1180 &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.
1181 { # 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.
1182 &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.
1183 &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.
1184 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1185 },
1186 &quot;kind&quot;: &quot;A String&quot;, # The kind of step in the Cloud Dataflow job.
1187 },
1188 ],
1189 &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])?`
1190 &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.
1191 &quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
1192 &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.
1193 &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
1194 &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}
1195 &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}
1196 &quot;version&quot;: { # A structure describing which components and their versions of the service are required in order to run the job.
1197 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1198 },
1199 &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.
1200 { # 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.
1201 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # The action to take on host maintenance, as defined by the Google Compute Engine API.
1202 &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.
1203 &quot;metadata&quot;: { # Metadata to set on the Google Compute Engine VMs.
1204 &quot;a_key&quot;: &quot;A String&quot;,
1205 },
1206 &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.
1207 &quot;poolArgs&quot;: { # Extra arguments for this worker pool.
1208 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1209 },
1210 &quot;ipConfiguration&quot;: &quot;A String&quot;, # Configuration for VM IPs.
1211 &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.
1212 &quot;packages&quot;: [ # Packages to be installed on workers.
1213 { # 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.
1214 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
1215 &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/
1216 },
1217 ],
1218 &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.
1219 &quot;commandlinesFileName&quot;: &quot;A String&quot;, # The file to store preprocessing commands in.
1220 &quot;languageHint&quot;: &quot;A String&quot;, # The suggested backend language.
1221 &quot;workflowFileName&quot;: &quot;A String&quot;, # The file to store the workflow in.
1222 &quot;streamingWorkerMainClass&quot;: &quot;A String&quot;, # The streaming worker main class name.
1223 &quot;vmId&quot;: &quot;A String&quot;, # The ID string of the VM.
1224 &quot;baseTaskDir&quot;: &quot;A String&quot;, # The location on the worker for task-specific subdirectories.
1225 &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;.
1226 &quot;continueOnException&quot;: True or False, # Whether to continue taskrunner if an exception is hit.
1227 &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}
1228 &quot;harnessCommand&quot;: &quot;A String&quot;, # The command to launch the worker harness.
1229 &quot;oauthScopes&quot;: [ # The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
1230 &quot;A String&quot;,
1231 ],
1232 &quot;dataflowApiVersion&quot;: &quot;A String&quot;, # The API version of endpoint, e.g. &quot;v1b3&quot;
1233 &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;.
1234 &quot;alsologtostderr&quot;: True or False, # Whether to also send taskrunner log info to stderr.
1235 &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}
1236 &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;
1237 &quot;logDir&quot;: &quot;A String&quot;, # The directory on the VM to store logs.
1238 &quot;logToSerialconsole&quot;: True or False, # Whether to send taskrunner log info to Google Compute Engine VM serial console.
1239 &quot;parallelWorkerSettings&quot;: { # Provides data to pass through to the worker harness. # The settings to pass to the parallel worker harness.
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;shuffleServicePath&quot;: &quot;A String&quot;, # The Shuffle service path relative to the root URL, for example, &quot;shuffle/v1beta1&quot;.
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 &quot;reportingEnabled&quot;: True or False, # Whether to send work progress updates to the service.
1245 &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}
1246 },
1247 },
1248 &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.
1249 &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.
1250 { # Defines a SDK harness container for executing Dataflow pipelines.
1251 &quot;containerImage&quot;: &quot;A String&quot;, # A docker container image that resides in Google Container Registry.
1252 &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.
1253 },
1254 ],
1255 &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;.
1256 &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.
1257 &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.
1258 &quot;autoscalingSettings&quot;: { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
1259 &quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap scaling at.
1260 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for autoscaling.
1261 },
1262 &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.
1263 &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).
1264 &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.
1265 &quot;dataDisks&quot;: [ # Data disks that are used by a VM in this workflow.
1266 { # Describes the data disk used by a workflow job.
1267 &quot;mountPoint&quot;: &quot;A String&quot;, # Directory in a VM where disk is mounted.
1268 &quot;sizeGb&quot;: 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
1269 &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
1270 },
1271 ],
1272 &quot;kind&quot;: &quot;A String&quot;, # The kind of the worker pool; currently only `harness` and `shuffle` are supported.
1273 &quot;diskSourceImage&quot;: &quot;A String&quot;, # Fully qualified source image for disks.
1274 &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;.
1275 },
1276 ],
1277 &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.
1278 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Identity to run virtual machines as. Defaults to the default account.
1279 &quot;flexResourceSchedulingGoal&quot;: &quot;A String&quot;, # Which Flexible Resource Scheduling mode to run in.
1280 &quot;userAgent&quot;: { # A description of the process that generated the request.
1281 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1282 },
1283 &quot;experiments&quot;: [ # The list of experiments to enable.
1284 &quot;A String&quot;,
1285 ],
1286 &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.
1287 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1288 },
1289 &quot;internalExperiments&quot;: { # Experimental settings.
1290 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1291 },
1292 &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;.
1293 },
1294 &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}
1295 &quot;A String&quot;,
1296 ],
1297 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
1298 &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.
1299 &quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
1300 &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.
1301 &quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
1302 &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.
1303 &quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
1304 &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.
1305 &quot;executionInfo&quot;: { # Additional information about how a Cloud Dataflow job will be executed that isn&#x27;t contained in the submitted job. # Deprecated.
1306 &quot;stages&quot;: { # A mapping from each stage to the information about that stage.
1307 &quot;a_key&quot;: { # Contains information about how a particular google.dataflow.v1beta3.Step will be executed.
1308 &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.
1309 &quot;A String&quot;,
1310 ],
1311 },
1312 },
1313 },
1314 &quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
1315 &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.
1316 &quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
1317 &quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
1318 &quot;a_key&quot;: &quot;A String&quot;,
1319 },
1320 &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.
1321 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001322 &quot;fileDetails&quot;: [ # Identification of a File source used in the Dataflow job.
1323 { # Metadata for a File connector used by the job.
1324 &quot;filePattern&quot;: &quot;A String&quot;, # File Pattern used to access files by the connector.
1325 },
1326 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001327 &quot;spannerDetails&quot;: [ # Identification of a Spanner source used in the Dataflow job.
1328 { # Metadata for a Spanner connector used by the job.
1329 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
1330 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
1331 &quot;databaseId&quot;: &quot;A String&quot;, # DatabaseId accessed in the connection.
1332 },
1333 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001334 &quot;datastoreDetails&quot;: [ # Identification of a Datastore source used in the Dataflow job.
1335 { # Metadata for a Datastore connector used by the job.
1336 &quot;namespace&quot;: &quot;A String&quot;, # Namespace used in the connection.
1337 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
1338 },
1339 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001340 &quot;sdkVersion&quot;: { # The version of the SDK used to run the job. # The SDK version used to run the job.
1341 &quot;version&quot;: &quot;A String&quot;, # The version of the SDK used to run the job.
1342 &quot;sdkSupportStatus&quot;: &quot;A String&quot;, # The support status for this SDK version.
1343 &quot;versionDisplayName&quot;: &quot;A String&quot;, # A readable string describing the version of the SDK.
1344 },
1345 &quot;pubsubDetails&quot;: [ # Identification of a PubSub source used in the Dataflow job.
1346 { # Metadata for a PubSub connector used by the job.
1347 &quot;subscription&quot;: &quot;A String&quot;, # Subscription used in the connection.
1348 &quot;topic&quot;: &quot;A String&quot;, # Topic accessed in the connection.
1349 },
1350 ],
1351 &quot;bigqueryDetails&quot;: [ # Identification of a BigQuery source used in the Dataflow job.
1352 { # Metadata for a BigQuery connector used by the job.
1353 &quot;dataset&quot;: &quot;A String&quot;, # Dataset accessed in the connection.
1354 &quot;projectId&quot;: &quot;A String&quot;, # Project accessed in the connection.
1355 &quot;query&quot;: &quot;A String&quot;, # Query used to access data in the connection.
1356 &quot;table&quot;: &quot;A String&quot;, # Table accessed in the connection.
1357 },
1358 ],
1359 &quot;bigTableDetails&quot;: [ # Identification of a BigTable source used in the Dataflow job.
1360 { # Metadata for a BigTable connector used by the job.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001361 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001362 &quot;tableId&quot;: &quot;A String&quot;, # TableId accessed in the connection.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001363 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
1364 },
1365 ],
1366 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001367 &quot;stepsLocation&quot;: &quot;A String&quot;, # The GCS location where the steps are stored.
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001368 }</pre>
1369</div>
1370
1371<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001372 <code class="details" id="getMetrics">getMetrics(projectId, jobId, startTime=None, location=None, x__xgafv=None)</code>
1373 <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 -07001374
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001375Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001376 projectId: string, A project id. (required)
1377 jobId: string, The job to get metrics for. (required)
1378 startTime: string, Return only metric data that has changed since this time. Default is to return all information about all metrics for the job.
1379 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 -07001380 x__xgafv: string, V1 error format.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001381 Allowed values
1382 1 - v1 error format
1383 2 - v2 error format
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001384
1385Returns:
1386 An object of the form:
1387
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001388 { # 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.
1389 &quot;metrics&quot;: [ # All metrics for this job.
1390 { # Describes the state of a metric.
1391 &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.
1392 &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.
1393 &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.
1394 &quot;name&quot;: { # Identifies a metric, by describing the source which generated the metric. # Name of the metric.
1395 &quot;name&quot;: &quot;A String&quot;, # Worker-defined metric name.
1396 &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 -07001397 &quot;a_key&quot;: &quot;A String&quot;,
1398 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001399 &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.
Bu Sun Kim65020912020-05-20 12:08:20 -07001400 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001401 &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.
1402 &quot;internal&quot;: &quot;&quot;, # Worker-computed aggregate value for internal use by the Dataflow service.
1403 &quot;distribution&quot;: &quot;&quot;, # A struct value describing properties of a distribution of numeric values.
1404 &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.
1405 &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.
1406 &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.
1407 &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 -07001408 },
1409 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001410 &quot;metricTime&quot;: &quot;A String&quot;, # Timestamp as of which metric values are current.
1411 }</pre>
1412</div>
1413
1414<div class="method">
1415 <code class="details" id="list">list(projectId, filter=None, pageToken=None, view=None, location=None, pageSize=None, x__xgafv=None)</code>
1416 <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`.
1417
1418Args:
1419 projectId: string, The project which owns the jobs. (required)
1420 filter: string, The kind of filter to use.
1421 Allowed values
1422 UNKNOWN - The filter isn&#x27;t specified, or is unknown. This returns all jobs ordered on descending `JobUuid`.
1423 ALL - Returns all running jobs first ordered on creation timestamp, then returns all terminated jobs ordered on the termination timestamp.
1424 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.
1425 ACTIVE - Filters the jobs that are running ordered on the creation timestamp.
1426 pageToken: string, Set this to the &#x27;next_page_token&#x27; field of a previous response to request additional results in a long list.
1427 view: string, Level of information requested in response. Default is `JOB_VIEW_SUMMARY`.
1428 Allowed values
1429 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.
1430 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.
1431 JOB_VIEW_ALL - Request all information available for this job.
1432 JOB_VIEW_DESCRIPTION - Request summary info and limited job description data for steps, labels and environment.
1433 location: string, The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
1434 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.
1435 x__xgafv: string, V1 error format.
1436 Allowed values
1437 1 - v1 error format
1438 2 - v2 error format
1439
1440Returns:
1441 An object of the form:
1442
1443 { # 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 {}.
1444 &quot;jobs&quot;: [ # A subset of the requested job information.
1445 { # Defines a job to be run by the Cloud Dataflow service.
1446 &quot;stageStates&quot;: [ # This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
1447 { # A message describing the state of a particular execution stage.
1448 &quot;currentStateTime&quot;: &quot;A String&quot;, # The time at which the stage transitioned to this state.
1449 &quot;executionStageState&quot;: &quot;A String&quot;, # Executions stage states allow the same set of values as JobState.
1450 &quot;executionStageName&quot;: &quot;A String&quot;, # The name of the execution stage.
1451 },
1452 ],
1453 &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.
1454 &quot;originalPipelineTransform&quot;: [ # Description of each transform in the pipeline and collections between them.
1455 { # Description of the type, names/ids, and input/outputs for a transform.
1456 &quot;name&quot;: &quot;A String&quot;, # User provided name for this transform instance.
1457 &quot;displayData&quot;: [ # Transform-specific display data.
1458 { # Data provided with a pipeline or transform to provide descriptive info.
1459 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
1460 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
1461 &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.
1462 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
1463 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
1464 &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.
1465 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
1466 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
1467 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
1468 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
1469 &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.
1470 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
1471 },
1472 ],
1473 &quot;inputCollectionName&quot;: [ # User names for all collection inputs to this transform.
1474 &quot;A String&quot;,
1475 ],
1476 &quot;id&quot;: &quot;A String&quot;, # SDK generated id of this transform instance.
1477 &quot;kind&quot;: &quot;A String&quot;, # Type of transform.
1478 &quot;outputCollectionName&quot;: [ # User names for all collection outputs to this transform.
1479 &quot;A String&quot;,
1480 ],
1481 },
1482 ],
1483 &quot;executionPipelineStage&quot;: [ # Description of each stage of execution of the pipeline.
1484 { # 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.
1485 &quot;kind&quot;: &quot;A String&quot;, # Type of tranform this stage is executing.
1486 &quot;id&quot;: &quot;A String&quot;, # Dataflow service generated id for this stage.
1487 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this stage.
1488 &quot;componentTransform&quot;: [ # Transforms that comprise this execution stage.
1489 { # Description of a transform executed as part of an execution stage.
1490 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
1491 &quot;originalTransform&quot;: &quot;A String&quot;, # User name for the original user transform with which this transform is most closely associated.
1492 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1493 },
1494 ],
1495 &quot;componentSource&quot;: [ # Collections produced and consumed by component transforms of this stage.
1496 { # Description of an interstitial value between transforms in an execution stage.
1497 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
1498 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1499 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1500 },
1501 ],
1502 &quot;outputSource&quot;: [ # Output sources for this stage.
1503 { # Description of an input or output of an execution stage.
1504 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
1505 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1506 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
1507 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1508 },
1509 ],
1510 &quot;inputSource&quot;: [ # Input sources for this stage.
1511 { # Description of an input or output of an execution stage.
1512 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
1513 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1514 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
1515 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1516 },
1517 ],
1518 },
1519 ],
1520 &quot;displayData&quot;: [ # Pipeline level display data.
1521 { # Data provided with a pipeline or transform to provide descriptive info.
1522 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
1523 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
1524 &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.
1525 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
1526 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
1527 &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.
1528 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
1529 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
1530 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
1531 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
1532 &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.
1533 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
1534 },
1535 ],
1536 },
1537 &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.
1538 &quot;a_key&quot;: &quot;A String&quot;,
1539 },
1540 &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.
1541 { # 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.
1542 &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.
1543 &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.
1544 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1545 },
1546 &quot;kind&quot;: &quot;A String&quot;, # The kind of step in the Cloud Dataflow job.
1547 },
1548 ],
1549 &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])?`
1550 &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.
1551 &quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
1552 &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.
1553 &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
1554 &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}
1555 &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}
1556 &quot;version&quot;: { # A structure describing which components and their versions of the service are required in order to run the job.
1557 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1558 },
1559 &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.
1560 { # 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.
1561 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # The action to take on host maintenance, as defined by the Google Compute Engine API.
1562 &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.
1563 &quot;metadata&quot;: { # Metadata to set on the Google Compute Engine VMs.
1564 &quot;a_key&quot;: &quot;A String&quot;,
1565 },
1566 &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.
1567 &quot;poolArgs&quot;: { # Extra arguments for this worker pool.
1568 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1569 },
1570 &quot;ipConfiguration&quot;: &quot;A String&quot;, # Configuration for VM IPs.
1571 &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.
1572 &quot;packages&quot;: [ # Packages to be installed on workers.
1573 { # 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.
1574 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
1575 &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/
1576 },
1577 ],
1578 &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.
1579 &quot;commandlinesFileName&quot;: &quot;A String&quot;, # The file to store preprocessing commands in.
1580 &quot;languageHint&quot;: &quot;A String&quot;, # The suggested backend language.
1581 &quot;workflowFileName&quot;: &quot;A String&quot;, # The file to store the workflow in.
1582 &quot;streamingWorkerMainClass&quot;: &quot;A String&quot;, # The streaming worker main class name.
1583 &quot;vmId&quot;: &quot;A String&quot;, # The ID string of the VM.
1584 &quot;baseTaskDir&quot;: &quot;A String&quot;, # The location on the worker for task-specific subdirectories.
1585 &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;.
1586 &quot;continueOnException&quot;: True or False, # Whether to continue taskrunner if an exception is hit.
1587 &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}
1588 &quot;harnessCommand&quot;: &quot;A String&quot;, # The command to launch the worker harness.
1589 &quot;oauthScopes&quot;: [ # The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
1590 &quot;A String&quot;,
1591 ],
1592 &quot;dataflowApiVersion&quot;: &quot;A String&quot;, # The API version of endpoint, e.g. &quot;v1b3&quot;
1593 &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;.
1594 &quot;alsologtostderr&quot;: True or False, # Whether to also send taskrunner log info to stderr.
1595 &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}
1596 &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;
1597 &quot;logDir&quot;: &quot;A String&quot;, # The directory on the VM to store logs.
1598 &quot;logToSerialconsole&quot;: True or False, # Whether to send taskrunner log info to Google Compute Engine VM serial console.
1599 &quot;parallelWorkerSettings&quot;: { # Provides data to pass through to the worker harness. # The settings to pass to the parallel worker harness.
1600 &quot;servicePath&quot;: &quot;A String&quot;, # The Cloud Dataflow service path relative to the root URL, for example, &quot;dataflow/v1b3/projects&quot;.
1601 &quot;workerId&quot;: &quot;A String&quot;, # The ID of the worker running this pipeline.
1602 &quot;shuffleServicePath&quot;: &quot;A String&quot;, # The Shuffle service path relative to the root URL, for example, &quot;shuffle/v1beta1&quot;.
1603 &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;
1604 &quot;reportingEnabled&quot;: True or False, # Whether to send work progress updates to the service.
1605 &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}
1606 },
1607 },
1608 &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.
1609 &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.
1610 { # Defines a SDK harness container for executing Dataflow pipelines.
1611 &quot;containerImage&quot;: &quot;A String&quot;, # A docker container image that resides in Google Container Registry.
1612 &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.
1613 },
1614 ],
1615 &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;.
1616 &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.
1617 &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.
1618 &quot;autoscalingSettings&quot;: { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
1619 &quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap scaling at.
1620 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for autoscaling.
1621 },
1622 &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.
1623 &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).
1624 &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.
1625 &quot;dataDisks&quot;: [ # Data disks that are used by a VM in this workflow.
1626 { # Describes the data disk used by a workflow job.
1627 &quot;mountPoint&quot;: &quot;A String&quot;, # Directory in a VM where disk is mounted.
1628 &quot;sizeGb&quot;: 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
1629 &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
1630 },
1631 ],
1632 &quot;kind&quot;: &quot;A String&quot;, # The kind of the worker pool; currently only `harness` and `shuffle` are supported.
1633 &quot;diskSourceImage&quot;: &quot;A String&quot;, # Fully qualified source image for disks.
1634 &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;.
1635 },
1636 ],
1637 &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.
1638 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Identity to run virtual machines as. Defaults to the default account.
1639 &quot;flexResourceSchedulingGoal&quot;: &quot;A String&quot;, # Which Flexible Resource Scheduling mode to run in.
1640 &quot;userAgent&quot;: { # A description of the process that generated the request.
1641 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1642 },
1643 &quot;experiments&quot;: [ # The list of experiments to enable.
1644 &quot;A String&quot;,
1645 ],
1646 &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.
1647 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1648 },
1649 &quot;internalExperiments&quot;: { # Experimental settings.
1650 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1651 },
1652 &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;.
1653 },
1654 &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}
1655 &quot;A String&quot;,
1656 ],
1657 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
1658 &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.
1659 &quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
1660 &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.
1661 &quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
1662 &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.
1663 &quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
1664 &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.
1665 &quot;executionInfo&quot;: { # Additional information about how a Cloud Dataflow job will be executed that isn&#x27;t contained in the submitted job. # Deprecated.
1666 &quot;stages&quot;: { # A mapping from each stage to the information about that stage.
1667 &quot;a_key&quot;: { # Contains information about how a particular google.dataflow.v1beta3.Step will be executed.
1668 &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.
1669 &quot;A String&quot;,
1670 ],
1671 },
1672 },
1673 },
1674 &quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
1675 &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.
1676 &quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
1677 &quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
1678 &quot;a_key&quot;: &quot;A String&quot;,
1679 },
1680 &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.
1681 &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.
1682 &quot;fileDetails&quot;: [ # Identification of a File source used in the Dataflow job.
1683 { # Metadata for a File connector used by the job.
1684 &quot;filePattern&quot;: &quot;A String&quot;, # File Pattern used to access files by the connector.
1685 },
1686 ],
1687 &quot;spannerDetails&quot;: [ # Identification of a Spanner source used in the Dataflow job.
1688 { # Metadata for a Spanner connector used by the job.
1689 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
1690 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
1691 &quot;databaseId&quot;: &quot;A String&quot;, # DatabaseId accessed in the connection.
1692 },
1693 ],
1694 &quot;datastoreDetails&quot;: [ # Identification of a Datastore source used in the Dataflow job.
1695 { # Metadata for a Datastore connector used by the job.
1696 &quot;namespace&quot;: &quot;A String&quot;, # Namespace used in the connection.
1697 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
1698 },
1699 ],
1700 &quot;sdkVersion&quot;: { # The version of the SDK used to run the job. # The SDK version used to run the job.
1701 &quot;version&quot;: &quot;A String&quot;, # The version of the SDK used to run the job.
1702 &quot;sdkSupportStatus&quot;: &quot;A String&quot;, # The support status for this SDK version.
1703 &quot;versionDisplayName&quot;: &quot;A String&quot;, # A readable string describing the version of the SDK.
1704 },
1705 &quot;pubsubDetails&quot;: [ # Identification of a PubSub source used in the Dataflow job.
1706 { # Metadata for a PubSub connector used by the job.
1707 &quot;subscription&quot;: &quot;A String&quot;, # Subscription used in the connection.
1708 &quot;topic&quot;: &quot;A String&quot;, # Topic accessed in the connection.
1709 },
1710 ],
1711 &quot;bigqueryDetails&quot;: [ # Identification of a BigQuery source used in the Dataflow job.
1712 { # Metadata for a BigQuery connector used by the job.
1713 &quot;dataset&quot;: &quot;A String&quot;, # Dataset accessed in the connection.
1714 &quot;projectId&quot;: &quot;A String&quot;, # Project accessed in the connection.
1715 &quot;query&quot;: &quot;A String&quot;, # Query used to access data in the connection.
1716 &quot;table&quot;: &quot;A String&quot;, # Table accessed in the connection.
1717 },
1718 ],
1719 &quot;bigTableDetails&quot;: [ # Identification of a BigTable source used in the Dataflow job.
1720 { # Metadata for a BigTable connector used by the job.
1721 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
1722 &quot;tableId&quot;: &quot;A String&quot;, # TableId accessed in the connection.
1723 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
1724 },
1725 ],
1726 },
1727 &quot;stepsLocation&quot;: &quot;A String&quot;, # The GCS location where the steps are stored.
1728 },
1729 ],
1730 &quot;failedLocation&quot;: [ # Zero or more messages describing the [regional endpoints] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that failed to respond.
1731 { # Indicates which [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) failed to respond to a request for data.
1732 &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.
1733 },
1734 ],
1735 &quot;nextPageToken&quot;: &quot;A String&quot;, # Set if there may be more results than fit in this response.
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001736 }</pre>
1737</div>
1738
1739<div class="method">
1740 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
1741 <pre>Retrieves the next page of results.
1742
1743Args:
1744 previous_request: The request for the previous page. (required)
1745 previous_response: The response from the request for the previous page. (required)
1746
1747Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -07001748 A request object that you can call &#x27;execute()&#x27; on to request the next
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001749 page. Returns None if there are no more items in the collection.
1750 </pre>
1751</div>
1752
1753<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07001754 <code class="details" id="snapshot">snapshot(projectId, jobId, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001755 <pre>Snapshot the state of a streaming job.
1756
1757Args:
1758 projectId: string, The project which owns the job to be snapshotted. (required)
1759 jobId: string, The job to be snapshotted. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07001760 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001761 The object takes the form of:
1762
1763{ # Request to create a snapshot of a job.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001764 &quot;ttl&quot;: &quot;A String&quot;, # TTL for the snapshot.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001765 &quot;snapshotSources&quot;: True or False, # If true, perform snapshots for sources which support this.
1766 &quot;description&quot;: &quot;A String&quot;, # User specified description of the snapshot. Maybe empty.
1767 &quot;location&quot;: &quot;A String&quot;, # The location that contains this job.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001768 }
1769
1770 x__xgafv: string, V1 error format.
1771 Allowed values
1772 1 - v1 error format
1773 2 - v2 error format
1774
1775Returns:
1776 An object of the form:
1777
1778 { # Represents a snapshot of a job.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001779 &quot;projectId&quot;: &quot;A String&quot;, # The project this snapshot belongs to.
1780 &quot;diskSizeBytes&quot;: &quot;A String&quot;, # The disk byte size of the snapshot. Only available for snapshots in READY state.
1781 &quot;creationTime&quot;: &quot;A String&quot;, # The time this snapshot was created.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001782 &quot;ttl&quot;: &quot;A String&quot;, # The time after which this snapshot will be automatically deleted.
1783 &quot;state&quot;: &quot;A String&quot;, # State of the snapshot.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001784 &quot;sourceJobId&quot;: &quot;A String&quot;, # The job this snapshot was created from.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001785 &quot;description&quot;: &quot;A String&quot;, # User specified description of the snapshot. Maybe empty.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001786 &quot;id&quot;: &quot;A String&quot;, # The unique ID of this snapshot.
Bu Sun Kim65020912020-05-20 12:08:20 -07001787 &quot;pubsubMetadata&quot;: [ # PubSub snapshot metadata.
Dan O'Mearadd494642020-05-01 07:42:23 -07001788 { # Represents a Pubsub snapshot.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001789 &quot;expireTime&quot;: &quot;A String&quot;, # The expire time of the Pubsub snapshot.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001790 &quot;topicName&quot;: &quot;A String&quot;, # The name of the Pubsub topic.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001791 &quot;snapshotName&quot;: &quot;A String&quot;, # The name of the Pubsub snapshot.
Dan O'Mearadd494642020-05-01 07:42:23 -07001792 },
1793 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001794 }</pre>
1795</div>
1796
1797<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07001798 <code class="details" id="update">update(projectId, jobId, body=None, location=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001799 <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 -07001800
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001801Args:
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001802 projectId: string, The ID of the Cloud Platform project that the job belongs to. (required)
1803 jobId: string, The job ID. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07001804 body: object, The request body.
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001805 The object takes the form of:
1806
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001807{ # Defines a job to be run by the Cloud Dataflow service.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001808 &quot;stageStates&quot;: [ # This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
1809 { # A message describing the state of a particular execution stage.
1810 &quot;currentStateTime&quot;: &quot;A String&quot;, # The time at which the stage transitioned to this state.
1811 &quot;executionStageState&quot;: &quot;A String&quot;, # Executions stage states allow the same set of values as JobState.
1812 &quot;executionStageName&quot;: &quot;A String&quot;, # The name of the execution stage.
1813 },
1814 ],
1815 &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.
1816 &quot;originalPipelineTransform&quot;: [ # Description of each transform in the pipeline and collections between them.
1817 { # Description of the type, names/ids, and input/outputs for a transform.
1818 &quot;name&quot;: &quot;A String&quot;, # User provided name for this transform instance.
1819 &quot;displayData&quot;: [ # Transform-specific display data.
1820 { # Data provided with a pipeline or transform to provide descriptive info.
1821 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
1822 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
1823 &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.
1824 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
1825 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
1826 &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.
1827 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
1828 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
1829 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
1830 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
1831 &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.
1832 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
1833 },
1834 ],
1835 &quot;inputCollectionName&quot;: [ # User names for all collection inputs to this transform.
1836 &quot;A String&quot;,
1837 ],
1838 &quot;id&quot;: &quot;A String&quot;, # SDK generated id of this transform instance.
1839 &quot;kind&quot;: &quot;A String&quot;, # Type of transform.
1840 &quot;outputCollectionName&quot;: [ # User names for all collection outputs to this transform.
1841 &quot;A String&quot;,
1842 ],
1843 },
1844 ],
1845 &quot;executionPipelineStage&quot;: [ # Description of each stage of execution of the pipeline.
1846 { # 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.
1847 &quot;kind&quot;: &quot;A String&quot;, # Type of tranform this stage is executing.
1848 &quot;id&quot;: &quot;A String&quot;, # Dataflow service generated id for this stage.
1849 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this stage.
1850 &quot;componentTransform&quot;: [ # Transforms that comprise this execution stage.
1851 { # Description of a transform executed as part of an execution stage.
1852 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
1853 &quot;originalTransform&quot;: &quot;A String&quot;, # User name for the original user transform with which this transform is most closely associated.
1854 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1855 },
1856 ],
1857 &quot;componentSource&quot;: [ # Collections produced and consumed by component transforms of this stage.
1858 { # Description of an interstitial value between transforms in an execution stage.
1859 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
1860 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1861 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1862 },
1863 ],
1864 &quot;outputSource&quot;: [ # Output sources for this stage.
1865 { # Description of an input or output of an execution stage.
1866 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
1867 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1868 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
1869 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1870 },
1871 ],
1872 &quot;inputSource&quot;: [ # Input sources for this stage.
1873 { # Description of an input or output of an execution stage.
1874 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
1875 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1876 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
1877 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1878 },
1879 ],
1880 },
1881 ],
1882 &quot;displayData&quot;: [ # Pipeline level display data.
1883 { # Data provided with a pipeline or transform to provide descriptive info.
1884 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
1885 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
1886 &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.
1887 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
1888 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
1889 &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.
1890 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
1891 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
1892 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
1893 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
1894 &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.
1895 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
1896 },
1897 ],
1898 },
1899 &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.
1900 &quot;a_key&quot;: &quot;A String&quot;,
1901 },
1902 &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.
1903 { # 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.
1904 &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.
1905 &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.
1906 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1907 },
1908 &quot;kind&quot;: &quot;A String&quot;, # The kind of step in the Cloud Dataflow job.
1909 },
1910 ],
1911 &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])?`
1912 &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.
1913 &quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
1914 &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.
1915 &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
1916 &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}
1917 &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}
1918 &quot;version&quot;: { # A structure describing which components and their versions of the service are required in order to run the job.
1919 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1920 },
1921 &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.
1922 { # 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.
1923 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # The action to take on host maintenance, as defined by the Google Compute Engine API.
1924 &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.
1925 &quot;metadata&quot;: { # Metadata to set on the Google Compute Engine VMs.
1926 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001927 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001928 &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.
1929 &quot;poolArgs&quot;: { # Extra arguments for this worker pool.
1930 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1931 },
1932 &quot;ipConfiguration&quot;: &quot;A String&quot;, # Configuration for VM IPs.
1933 &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.
1934 &quot;packages&quot;: [ # Packages to be installed on workers.
1935 { # 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.
1936 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
1937 &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/
1938 },
1939 ],
1940 &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.
1941 &quot;commandlinesFileName&quot;: &quot;A String&quot;, # The file to store preprocessing commands in.
1942 &quot;languageHint&quot;: &quot;A String&quot;, # The suggested backend language.
1943 &quot;workflowFileName&quot;: &quot;A String&quot;, # The file to store the workflow in.
1944 &quot;streamingWorkerMainClass&quot;: &quot;A String&quot;, # The streaming worker main class name.
1945 &quot;vmId&quot;: &quot;A String&quot;, # The ID string of the VM.
1946 &quot;baseTaskDir&quot;: &quot;A String&quot;, # The location on the worker for task-specific subdirectories.
1947 &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;.
1948 &quot;continueOnException&quot;: True or False, # Whether to continue taskrunner if an exception is hit.
1949 &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}
1950 &quot;harnessCommand&quot;: &quot;A String&quot;, # The command to launch the worker harness.
1951 &quot;oauthScopes&quot;: [ # The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001952 &quot;A String&quot;,
1953 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001954 &quot;dataflowApiVersion&quot;: &quot;A String&quot;, # The API version of endpoint, e.g. &quot;v1b3&quot;
1955 &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;.
1956 &quot;alsologtostderr&quot;: True or False, # Whether to also send taskrunner log info to stderr.
1957 &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}
1958 &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;
1959 &quot;logDir&quot;: &quot;A String&quot;, # The directory on the VM to store logs.
1960 &quot;logToSerialconsole&quot;: True or False, # Whether to send taskrunner log info to Google Compute Engine VM serial console.
1961 &quot;parallelWorkerSettings&quot;: { # Provides data to pass through to the worker harness. # The settings to pass to the parallel worker harness.
1962 &quot;servicePath&quot;: &quot;A String&quot;, # The Cloud Dataflow service path relative to the root URL, for example, &quot;dataflow/v1b3/projects&quot;.
1963 &quot;workerId&quot;: &quot;A String&quot;, # The ID of the worker running this pipeline.
1964 &quot;shuffleServicePath&quot;: &quot;A String&quot;, # The Shuffle service path relative to the root URL, for example, &quot;shuffle/v1beta1&quot;.
1965 &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;
1966 &quot;reportingEnabled&quot;: True or False, # Whether to send work progress updates to the service.
1967 &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}
1968 },
1969 },
1970 &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.
1971 &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.
1972 { # Defines a SDK harness container for executing Dataflow pipelines.
1973 &quot;containerImage&quot;: &quot;A String&quot;, # A docker container image that resides in Google Container Registry.
1974 &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.
1975 },
1976 ],
1977 &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;.
1978 &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.
1979 &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.
1980 &quot;autoscalingSettings&quot;: { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
1981 &quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap scaling at.
1982 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for autoscaling.
1983 },
1984 &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.
1985 &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).
1986 &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.
1987 &quot;dataDisks&quot;: [ # Data disks that are used by a VM in this workflow.
1988 { # Describes the data disk used by a workflow job.
1989 &quot;mountPoint&quot;: &quot;A String&quot;, # Directory in a VM where disk is mounted.
1990 &quot;sizeGb&quot;: 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
1991 &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
1992 },
1993 ],
1994 &quot;kind&quot;: &quot;A String&quot;, # The kind of the worker pool; currently only `harness` and `shuffle` are supported.
1995 &quot;diskSourceImage&quot;: &quot;A String&quot;, # Fully qualified source image for disks.
1996 &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;.
1997 },
1998 ],
1999 &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.
2000 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Identity to run virtual machines as. Defaults to the default account.
2001 &quot;flexResourceSchedulingGoal&quot;: &quot;A String&quot;, # Which Flexible Resource Scheduling mode to run in.
2002 &quot;userAgent&quot;: { # A description of the process that generated the request.
2003 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2004 },
2005 &quot;experiments&quot;: [ # The list of experiments to enable.
2006 &quot;A String&quot;,
2007 ],
2008 &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.
2009 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2010 },
2011 &quot;internalExperiments&quot;: { # Experimental settings.
2012 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2013 },
2014 &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;.
2015 },
2016 &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}
2017 &quot;A String&quot;,
2018 ],
2019 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
2020 &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.
2021 &quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
2022 &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.
2023 &quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
2024 &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.
2025 &quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
2026 &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.
2027 &quot;executionInfo&quot;: { # Additional information about how a Cloud Dataflow job will be executed that isn&#x27;t contained in the submitted job. # Deprecated.
2028 &quot;stages&quot;: { # A mapping from each stage to the information about that stage.
2029 &quot;a_key&quot;: { # Contains information about how a particular google.dataflow.v1beta3.Step will be executed.
2030 &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.
2031 &quot;A String&quot;,
2032 ],
2033 },
2034 },
2035 },
2036 &quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
2037 &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.
2038 &quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
2039 &quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
2040 &quot;a_key&quot;: &quot;A String&quot;,
2041 },
2042 &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.
2043 &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.
2044 &quot;fileDetails&quot;: [ # Identification of a File source used in the Dataflow job.
2045 { # Metadata for a File connector used by the job.
2046 &quot;filePattern&quot;: &quot;A String&quot;, # File Pattern used to access files by the connector.
2047 },
2048 ],
2049 &quot;spannerDetails&quot;: [ # Identification of a Spanner source used in the Dataflow job.
2050 { # Metadata for a Spanner connector used by the job.
2051 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
2052 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
2053 &quot;databaseId&quot;: &quot;A String&quot;, # DatabaseId accessed in the connection.
2054 },
2055 ],
2056 &quot;datastoreDetails&quot;: [ # Identification of a Datastore source used in the Dataflow job.
2057 { # Metadata for a Datastore connector used by the job.
2058 &quot;namespace&quot;: &quot;A String&quot;, # Namespace used in the connection.
2059 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
2060 },
2061 ],
2062 &quot;sdkVersion&quot;: { # The version of the SDK used to run the job. # The SDK version used to run the job.
2063 &quot;version&quot;: &quot;A String&quot;, # The version of the SDK used to run the job.
2064 &quot;sdkSupportStatus&quot;: &quot;A String&quot;, # The support status for this SDK version.
2065 &quot;versionDisplayName&quot;: &quot;A String&quot;, # A readable string describing the version of the SDK.
2066 },
2067 &quot;pubsubDetails&quot;: [ # Identification of a PubSub source used in the Dataflow job.
2068 { # Metadata for a PubSub connector used by the job.
2069 &quot;subscription&quot;: &quot;A String&quot;, # Subscription used in the connection.
2070 &quot;topic&quot;: &quot;A String&quot;, # Topic accessed in the connection.
2071 },
2072 ],
2073 &quot;bigqueryDetails&quot;: [ # Identification of a BigQuery source used in the Dataflow job.
2074 { # Metadata for a BigQuery connector used by the job.
2075 &quot;dataset&quot;: &quot;A String&quot;, # Dataset accessed in the connection.
2076 &quot;projectId&quot;: &quot;A String&quot;, # Project accessed in the connection.
2077 &quot;query&quot;: &quot;A String&quot;, # Query used to access data in the connection.
2078 &quot;table&quot;: &quot;A String&quot;, # Table accessed in the connection.
2079 },
2080 ],
2081 &quot;bigTableDetails&quot;: [ # Identification of a BigTable source used in the Dataflow job.
2082 { # Metadata for a BigTable connector used by the job.
2083 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
2084 &quot;tableId&quot;: &quot;A String&quot;, # TableId accessed in the connection.
2085 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
2086 },
2087 ],
2088 },
2089 &quot;stepsLocation&quot;: &quot;A String&quot;, # The GCS location where the steps are stored.
2090}
2091
2092 location: string, The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
2093 x__xgafv: string, V1 error format.
2094 Allowed values
2095 1 - v1 error format
2096 2 - v2 error format
2097
2098Returns:
2099 An object of the form:
2100
2101 { # Defines a job to be run by the Cloud Dataflow service.
2102 &quot;stageStates&quot;: [ # This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
2103 { # A message describing the state of a particular execution stage.
2104 &quot;currentStateTime&quot;: &quot;A String&quot;, # The time at which the stage transitioned to this state.
2105 &quot;executionStageState&quot;: &quot;A String&quot;, # Executions stage states allow the same set of values as JobState.
2106 &quot;executionStageName&quot;: &quot;A String&quot;, # The name of the execution stage.
2107 },
2108 ],
2109 &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.
2110 &quot;originalPipelineTransform&quot;: [ # Description of each transform in the pipeline and collections between them.
2111 { # Description of the type, names/ids, and input/outputs for a transform.
2112 &quot;name&quot;: &quot;A String&quot;, # User provided name for this transform instance.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002113 &quot;displayData&quot;: [ # Transform-specific display data.
2114 { # Data provided with a pipeline or transform to provide descriptive info.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002115 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002116 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
2117 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002118 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002119 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
2120 &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.
2121 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
2122 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
2123 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
2124 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
2125 &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.
2126 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002127 },
2128 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002129 &quot;inputCollectionName&quot;: [ # User names for all collection inputs to this transform.
2130 &quot;A String&quot;,
2131 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002132 &quot;id&quot;: &quot;A String&quot;, # SDK generated id of this transform instance.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002133 &quot;kind&quot;: &quot;A String&quot;, # Type of transform.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002134 &quot;outputCollectionName&quot;: [ # User names for all collection outputs to this transform.
2135 &quot;A String&quot;,
2136 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002137 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002138 ],
2139 &quot;executionPipelineStage&quot;: [ # Description of each stage of execution of the pipeline.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002140 { # 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.
2141 &quot;kind&quot;: &quot;A String&quot;, # Type of tranform this stage is executing.
2142 &quot;id&quot;: &quot;A String&quot;, # Dataflow service generated id for this stage.
2143 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this stage.
2144 &quot;componentTransform&quot;: [ # Transforms that comprise this execution stage.
2145 { # Description of a transform executed as part of an execution stage.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002146 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002147 &quot;originalTransform&quot;: &quot;A String&quot;, # User name for the original user transform with which this transform is most closely associated.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002148 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002149 },
2150 ],
2151 &quot;componentSource&quot;: [ # Collections produced and consumed by component transforms of this stage.
2152 { # Description of an interstitial value between transforms in an execution stage.
2153 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
2154 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
2155 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
2156 },
2157 ],
2158 &quot;outputSource&quot;: [ # Output sources for this stage.
2159 { # Description of an input or output of an execution stage.
2160 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
2161 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
2162 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
2163 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002164 },
2165 ],
2166 &quot;inputSource&quot;: [ # Input sources for this stage.
2167 { # Description of an input or output of an execution stage.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002168 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
2169 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002170 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002171 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002172 },
2173 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002174 },
2175 ],
2176 &quot;displayData&quot;: [ # Pipeline level display data.
2177 { # Data provided with a pipeline or transform to provide descriptive info.
2178 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
2179 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
2180 &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.
2181 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
2182 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
2183 &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.
2184 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
2185 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
2186 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
2187 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
2188 &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.
2189 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002190 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002191 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002192 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002193 &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 -07002194 &quot;a_key&quot;: &quot;A String&quot;,
Nathaniel Manista4f877e52015-06-15 16:44:50 +00002195 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002196 &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.
2197 { # 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.
2198 &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.
2199 &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.
2200 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2201 },
2202 &quot;kind&quot;: &quot;A String&quot;, # The kind of step in the Cloud Dataflow job.
2203 },
2204 ],
2205 &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])?`
2206 &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.
Bu Sun Kim65020912020-05-20 12:08:20 -07002207 &quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002208 &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.
2209 &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
2210 &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}
2211 &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}
2212 &quot;version&quot;: { # A structure describing which components and their versions of the service are required in order to run the job.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002213 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2214 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002215 &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.
2216 { # 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.
2217 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # The action to take on host maintenance, as defined by the Google Compute Engine API.
2218 &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 Kimd059ad82020-07-22 17:02:09 -07002219 &quot;metadata&quot;: { # Metadata to set on the Google Compute Engine VMs.
2220 &quot;a_key&quot;: &quot;A String&quot;,
2221 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002222 &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.
2223 &quot;poolArgs&quot;: { # Extra arguments for this worker pool.
2224 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2225 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002226 &quot;ipConfiguration&quot;: &quot;A String&quot;, # Configuration for VM IPs.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002227 &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.
2228 &quot;packages&quot;: [ # Packages to be installed on workers.
2229 { # 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.
2230 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
2231 &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/
2232 },
2233 ],
2234 &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.
2235 &quot;commandlinesFileName&quot;: &quot;A String&quot;, # The file to store preprocessing commands in.
2236 &quot;languageHint&quot;: &quot;A String&quot;, # The suggested backend language.
2237 &quot;workflowFileName&quot;: &quot;A String&quot;, # The file to store the workflow in.
2238 &quot;streamingWorkerMainClass&quot;: &quot;A String&quot;, # The streaming worker main class name.
2239 &quot;vmId&quot;: &quot;A String&quot;, # The ID string of the VM.
2240 &quot;baseTaskDir&quot;: &quot;A String&quot;, # The location on the worker for task-specific subdirectories.
2241 &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;.
2242 &quot;continueOnException&quot;: True or False, # Whether to continue taskrunner if an exception is hit.
2243 &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}
2244 &quot;harnessCommand&quot;: &quot;A String&quot;, # The command to launch the worker harness.
2245 &quot;oauthScopes&quot;: [ # The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
2246 &quot;A String&quot;,
2247 ],
2248 &quot;dataflowApiVersion&quot;: &quot;A String&quot;, # The API version of endpoint, e.g. &quot;v1b3&quot;
2249 &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;.
2250 &quot;alsologtostderr&quot;: True or False, # Whether to also send taskrunner log info to stderr.
2251 &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}
2252 &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;
2253 &quot;logDir&quot;: &quot;A String&quot;, # The directory on the VM to store logs.
2254 &quot;logToSerialconsole&quot;: True or False, # Whether to send taskrunner log info to Google Compute Engine VM serial console.
2255 &quot;parallelWorkerSettings&quot;: { # Provides data to pass through to the worker harness. # The settings to pass to the parallel worker harness.
2256 &quot;servicePath&quot;: &quot;A String&quot;, # The Cloud Dataflow service path relative to the root URL, for example, &quot;dataflow/v1b3/projects&quot;.
2257 &quot;workerId&quot;: &quot;A String&quot;, # The ID of the worker running this pipeline.
2258 &quot;shuffleServicePath&quot;: &quot;A String&quot;, # The Shuffle service path relative to the root URL, for example, &quot;shuffle/v1beta1&quot;.
2259 &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;
2260 &quot;reportingEnabled&quot;: True or False, # Whether to send work progress updates to the service.
2261 &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}
2262 },
2263 },
2264 &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.
2265 &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.
2266 { # Defines a SDK harness container for executing Dataflow pipelines.
2267 &quot;containerImage&quot;: &quot;A String&quot;, # A docker container image that resides in Google Container Registry.
2268 &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.
2269 },
2270 ],
2271 &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;.
2272 &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.
2273 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002274 &quot;autoscalingSettings&quot;: { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
2275 &quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap scaling at.
2276 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for autoscaling.
2277 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002278 &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.
2279 &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).
2280 &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.
2281 &quot;dataDisks&quot;: [ # Data disks that are used by a VM in this workflow.
2282 { # Describes the data disk used by a workflow job.
2283 &quot;mountPoint&quot;: &quot;A String&quot;, # Directory in a VM where disk is mounted.
2284 &quot;sizeGb&quot;: 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
2285 &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 Kim4ed7d3f2020-05-27 12:20:54 -07002286 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002287 ],
2288 &quot;kind&quot;: &quot;A String&quot;, # The kind of the worker pool; currently only `harness` and `shuffle` are supported.
2289 &quot;diskSourceImage&quot;: &quot;A String&quot;, # Fully qualified source image for disks.
2290 &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 Kim4ed7d3f2020-05-27 12:20:54 -07002291 },
2292 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002293 &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.
2294 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Identity to run virtual machines as. Defaults to the default account.
2295 &quot;flexResourceSchedulingGoal&quot;: &quot;A String&quot;, # Which Flexible Resource Scheduling mode to run in.
2296 &quot;userAgent&quot;: { # A description of the process that generated the request.
2297 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2298 },
2299 &quot;experiments&quot;: [ # The list of experiments to enable.
2300 &quot;A String&quot;,
2301 ],
2302 &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.
2303 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2304 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002305 &quot;internalExperiments&quot;: { # Experimental settings.
2306 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2307 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002308 &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;.
Takashi Matsuo06694102015-09-11 13:55:40 -07002309 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002310 &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}
2311 &quot;A String&quot;,
2312 ],
2313 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
2314 &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.
2315 &quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
2316 &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.
2317 &quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
2318 &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.
2319 &quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
2320 &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.
2321 &quot;executionInfo&quot;: { # Additional information about how a Cloud Dataflow job will be executed that isn&#x27;t contained in the submitted job. # Deprecated.
2322 &quot;stages&quot;: { # A mapping from each stage to the information about that stage.
2323 &quot;a_key&quot;: { # Contains information about how a particular google.dataflow.v1beta3.Step will be executed.
2324 &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.
2325 &quot;A String&quot;,
2326 ],
Takashi Matsuo06694102015-09-11 13:55:40 -07002327 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002328 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002329 },
2330 &quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
2331 &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.
2332 &quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
2333 &quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
2334 &quot;a_key&quot;: &quot;A String&quot;,
2335 },
2336 &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.
2337 &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.
2338 &quot;fileDetails&quot;: [ # Identification of a File source used in the Dataflow job.
2339 { # Metadata for a File connector used by the job.
2340 &quot;filePattern&quot;: &quot;A String&quot;, # File Pattern used to access files by the connector.
2341 },
2342 ],
2343 &quot;spannerDetails&quot;: [ # Identification of a Spanner source used in the Dataflow job.
2344 { # Metadata for a Spanner connector used by the job.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002345 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002346 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
2347 &quot;databaseId&quot;: &quot;A String&quot;, # DatabaseId accessed in the connection.
2348 },
2349 ],
2350 &quot;datastoreDetails&quot;: [ # Identification of a Datastore source used in the Dataflow job.
2351 { # Metadata for a Datastore connector used by the job.
2352 &quot;namespace&quot;: &quot;A String&quot;, # Namespace used in the connection.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002353 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
2354 },
2355 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002356 &quot;sdkVersion&quot;: { # The version of the SDK used to run the job. # The SDK version used to run the job.
2357 &quot;version&quot;: &quot;A String&quot;, # The version of the SDK used to run the job.
2358 &quot;sdkSupportStatus&quot;: &quot;A String&quot;, # The support status for this SDK version.
2359 &quot;versionDisplayName&quot;: &quot;A String&quot;, # A readable string describing the version of the SDK.
2360 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002361 &quot;pubsubDetails&quot;: [ # Identification of a PubSub source used in the Dataflow job.
2362 { # Metadata for a PubSub connector used by the job.
2363 &quot;subscription&quot;: &quot;A String&quot;, # Subscription used in the connection.
2364 &quot;topic&quot;: &quot;A String&quot;, # Topic accessed in the connection.
2365 },
2366 ],
2367 &quot;bigqueryDetails&quot;: [ # Identification of a BigQuery source used in the Dataflow job.
2368 { # Metadata for a BigQuery connector used by the job.
2369 &quot;dataset&quot;: &quot;A String&quot;, # Dataset accessed in the connection.
2370 &quot;projectId&quot;: &quot;A String&quot;, # Project accessed in the connection.
2371 &quot;query&quot;: &quot;A String&quot;, # Query used to access data in the connection.
2372 &quot;table&quot;: &quot;A String&quot;, # Table accessed in the connection.
2373 },
2374 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002375 &quot;bigTableDetails&quot;: [ # Identification of a BigTable source used in the Dataflow job.
2376 { # Metadata for a BigTable connector used by the job.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002377 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002378 &quot;tableId&quot;: &quot;A String&quot;, # TableId accessed in the connection.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002379 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
2380 },
2381 ],
2382 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002383 &quot;stepsLocation&quot;: &quot;A String&quot;, # The GCS location where the steps are stored.
2384 }</pre>
Nathaniel Manista4f877e52015-06-15 16:44:50 +00002385</div>
2386
2387</body></html>