blob: 66a8c6407ef4b9396a5c2c9bafee0088b16bfaa9 [file] [log] [blame]
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070075<h1><a href="dataflow_v1b3.html">Dataflow API</a> . <a href="dataflow_v1b3.projects.html">projects</a> . <a href="dataflow_v1b3.projects.jobs.html">jobs</a></h1>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000076<h2>Instance Methods</h2>
77<p class="toc_element">
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -070078 <code><a href="dataflow_v1b3.projects.jobs.debug.html">debug()</a></code>
79</p>
80<p class="firstline">Returns the debug Resource.</p>
81
82<p class="toc_element">
Nathaniel Manista4f877e52015-06-15 16:44:50 +000083 <code><a href="dataflow_v1b3.projects.jobs.messages.html">messages()</a></code>
84</p>
85<p class="firstline">Returns the messages Resource.</p>
86
87<p class="toc_element">
88 <code><a href="dataflow_v1b3.projects.jobs.workItems.html">workItems()</a></code>
89</p>
90<p class="firstline">Returns the workItems Resource.</p>
91
92<p class="toc_element">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -080093 <code><a href="#aggregated">aggregated(projectId, filter=None, location=None, pageSize=None, pageToken=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">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800102 <code><a href="#create">create(projectId, body=None, location=None, replaceJobId=None, view=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700103<p class="firstline">Creates a Cloud Dataflow job. To create a job, we recommend using `projects.locations.jobs.create` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.create` is not recommended, as your job will always start in `us-central1`.</p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000104<p class="toc_element">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800105 <code><a href="#get">get(projectId, jobId, location=None, view=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700106<p class="firstline">Gets the state of the specified Cloud Dataflow job. To get the state of a job, we recommend using `projects.locations.jobs.get` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.get` is not recommended, as you can only get the state of jobs that are running in `us-central1`.</p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000107<p class="toc_element">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800108 <code><a href="#getMetrics">getMetrics(projectId, jobId, location=None, startTime=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700109<p class="firstline">Request the job status. To request the status of a job, we recommend using `projects.locations.jobs.getMetrics` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.getMetrics` is not recommended, as you can only request the status of jobs that are running in `us-central1`.</p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000110<p class="toc_element">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800111 <code><a href="#list">list(projectId, filter=None, location=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700112<p class="firstline">List the jobs of a project. To list the jobs of a project in a region, we recommend using `projects.locations.jobs.list` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). To list the all jobs across all regions, use `projects.jobs.aggregated`. Using `projects.jobs.list` is not recommended, as you can only get the list of jobs that are running in `us-central1`.</p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000113<p class="toc_element">
114 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
115<p class="firstline">Retrieves the next page of results.</p>
116<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700117 <code><a href="#snapshot">snapshot(projectId, jobId, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700118<p class="firstline">Snapshot the state of a streaming job.</p>
119<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700120 <code><a href="#update">update(projectId, jobId, body=None, location=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700121<p class="firstline">Updates the state of an existing Cloud Dataflow job. To update the state of an existing job, we recommend using `projects.locations.jobs.update` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.update` is not recommended, as you can only update the state of jobs that are running in `us-central1`.</p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000122<h3>Method Details</h3>
123<div class="method">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800124 <code class="details" id="aggregated">aggregated(projectId, filter=None, location=None, pageSize=None, pageToken=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)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700129 filter: string, The kind of filter to use.
130 Allowed values
131 UNKNOWN - The filter isn&#x27;t specified, or is unknown. This returns all jobs ordered on descending `JobUuid`.
132 ALL - Returns all running jobs first ordered on creation timestamp, then returns all terminated jobs ordered on the termination timestamp.
133 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.
134 ACTIVE - Filters the jobs that are running ordered on the creation timestamp.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800135 location: string, The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800137 pageToken: string, Set this to the &#x27;next_page_token&#x27; field of a previous response to request additional results in a long list.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800138 view: string, Deprecated. ListJobs always returns summaries now. Use GetJob for other JobViews.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800139 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 {}.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800153 &quot;failedLocation&quot;: [ # Zero or more messages describing the [regional endpoints] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that failed to respond.
154 { # Indicates which [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) failed to respond to a request for data.
155 &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.
156 },
157 ],
158 &quot;jobs&quot;: [ # A subset of the requested job information.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800159 { # Defines a job to be run by the Cloud Dataflow service. nextID: 26
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800160 &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.
161 &quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
162 &quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
163 &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.
164 &quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
165 &quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
166 &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;.
167 &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}
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700168 &quot;debugOptions&quot;: { # Describes any options that have an effect on the debugging of pipelines. # Any debugging options to be supplied to the job.
169 &quot;enableHotKeyLogging&quot;: True or False, # When true, enables the logging of the literal hot key to the user&#x27;s Cloud Logging.
170 },
yoshi-code-bot4d1153d2021-06-07 00:50:01 -0700171 &quot;experiments&quot;: [ # The list of experiments to enable. This field should be used for SDK related experiments and not for service related experiments. The proper field for service related experiments is service_options.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800172 &quot;A String&quot;,
173 ],
174 &quot;flexResourceSchedulingGoal&quot;: &quot;A String&quot;, # Which Flexible Resource Scheduling mode to run in.
175 &quot;internalExperiments&quot;: { # Experimental settings.
176 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
177 },
178 &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.
179 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
180 },
181 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Identity to run virtual machines as. Defaults to the default account.
182 &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
yoshi-code-bot4d1153d2021-06-07 00:50:01 -0700183 &quot;serviceOptions&quot;: [ # The list of service options to enable. This field should be used for service related experiments only. These experiments, when graduating to GA, should be replaced by dedicated fields or become default (i.e. always on).
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800184 &quot;A String&quot;,
185 ],
186 &quot;shuffleMode&quot;: &quot;A String&quot;, # Output only. The shuffle mode used for the job.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800187 &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}
188 &quot;userAgent&quot;: { # A description of the process that generated the request.
189 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
190 },
191 &quot;version&quot;: { # A structure describing which components and their versions of the service are required in order to run the job.
192 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
193 },
194 &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.
195 { # 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.
196 &quot;autoscalingSettings&quot;: { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
197 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for autoscaling.
198 &quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap scaling at.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800199 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800200 &quot;dataDisks&quot;: [ # Data disks that are used by a VM in this workflow.
201 { # Describes the data disk used by a workflow job.
202 &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
203 &quot;mountPoint&quot;: &quot;A String&quot;, # Directory in a VM where disk is mounted.
204 &quot;sizeGb&quot;: 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800205 },
206 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800207 &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.
208 &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.
209 &quot;diskSourceImage&quot;: &quot;A String&quot;, # Fully qualified source image for disks.
210 &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.
211 &quot;ipConfiguration&quot;: &quot;A String&quot;, # Configuration for VM IPs.
212 &quot;kind&quot;: &quot;A String&quot;, # The kind of the worker pool; currently only `harness` and `shuffle` are supported.
213 &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.
214 &quot;metadata&quot;: { # Metadata to set on the Google Compute Engine VMs.
215 &quot;a_key&quot;: &quot;A String&quot;,
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800216 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800217 &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;.
218 &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).
219 &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.
220 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # The action to take on host maintenance, as defined by the Google Compute Engine API.
221 &quot;packages&quot;: [ # Packages to be installed on workers.
222 { # 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.
223 &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/
224 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800225 },
226 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800227 &quot;poolArgs&quot;: { # Extra arguments for this worker pool.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800228 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
229 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800230 &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.
231 { # Defines a SDK harness container for executing Dataflow pipelines.
232 &quot;containerImage&quot;: &quot;A String&quot;, # A docker container image that resides in Google Container Registry.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800233 &quot;environmentId&quot;: &quot;A String&quot;, # Environment ID for the Beam runner API proto Environment that corresponds to the current SDK Harness.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800234 &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.
235 },
236 ],
237 &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;.
238 &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.
239 &quot;alsologtostderr&quot;: True or False, # Whether to also send taskrunner log info to stderr.
240 &quot;baseTaskDir&quot;: &quot;A String&quot;, # The location on the worker for task-specific subdirectories.
241 &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;
242 &quot;commandlinesFileName&quot;: &quot;A String&quot;, # The file to store preprocessing commands in.
243 &quot;continueOnException&quot;: True or False, # Whether to continue taskrunner if an exception is hit.
244 &quot;dataflowApiVersion&quot;: &quot;A String&quot;, # The API version of endpoint, e.g. &quot;v1b3&quot;
245 &quot;harnessCommand&quot;: &quot;A String&quot;, # The command to launch the worker harness.
246 &quot;languageHint&quot;: &quot;A String&quot;, # The suggested backend language.
247 &quot;logDir&quot;: &quot;A String&quot;, # The directory on the VM to store logs.
248 &quot;logToSerialconsole&quot;: True or False, # Whether to send taskrunner log info to Google Compute Engine VM serial console.
249 &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}
250 &quot;oauthScopes&quot;: [ # The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
251 &quot;A String&quot;,
252 ],
253 &quot;parallelWorkerSettings&quot;: { # Provides data to pass through to the worker harness. # The settings to pass to the parallel worker harness.
254 &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;
255 &quot;reportingEnabled&quot;: True or False, # Whether to send work progress updates to the service.
256 &quot;servicePath&quot;: &quot;A String&quot;, # The Cloud Dataflow service path relative to the root URL, for example, &quot;dataflow/v1b3/projects&quot;.
257 &quot;shuffleServicePath&quot;: &quot;A String&quot;, # The Shuffle service path relative to the root URL, for example, &quot;shuffle/v1beta1&quot;.
258 &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}
259 &quot;workerId&quot;: &quot;A String&quot;, # The ID of the worker running this pipeline.
260 },
261 &quot;streamingWorkerMainClass&quot;: &quot;A String&quot;, # The streaming worker main class name.
262 &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;.
263 &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;.
264 &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}
265 &quot;vmId&quot;: &quot;A String&quot;, # The ID string of the VM.
266 &quot;workflowFileName&quot;: &quot;A String&quot;, # The file to store the workflow in.
267 },
268 &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.
269 &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.
270 &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.
271 },
272 ],
273 &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.
274 &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.
275 },
276 &quot;executionInfo&quot;: { # Additional information about how a Cloud Dataflow job will be executed that isn&#x27;t contained in the submitted job. # Deprecated.
277 &quot;stages&quot;: { # A mapping from each stage to the information about that stage.
278 &quot;a_key&quot;: { # Contains information about how a particular google.dataflow.v1beta3.Step will be executed.
279 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800280 &quot;A String&quot;,
281 ],
282 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800283 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800284 },
285 &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.
286 &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.
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400287 &quot;bigTableDetails&quot;: [ # Identification of a Cloud BigTable source used in the Dataflow job.
288 { # Metadata for a Cloud BigTable connector used by the job.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800289 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
290 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
291 &quot;tableId&quot;: &quot;A String&quot;, # TableId accessed in the connection.
292 },
293 ],
294 &quot;bigqueryDetails&quot;: [ # Identification of a BigQuery source used in the Dataflow job.
295 { # Metadata for a BigQuery connector used by the job.
296 &quot;dataset&quot;: &quot;A String&quot;, # Dataset accessed in the connection.
297 &quot;projectId&quot;: &quot;A String&quot;, # Project accessed in the connection.
298 &quot;query&quot;: &quot;A String&quot;, # Query used to access data in the connection.
299 &quot;table&quot;: &quot;A String&quot;, # Table accessed in the connection.
300 },
301 ],
302 &quot;datastoreDetails&quot;: [ # Identification of a Datastore source used in the Dataflow job.
303 { # Metadata for a Datastore connector used by the job.
304 &quot;namespace&quot;: &quot;A String&quot;, # Namespace used in the connection.
305 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
306 },
307 ],
308 &quot;fileDetails&quot;: [ # Identification of a File source used in the Dataflow job.
309 { # Metadata for a File connector used by the job.
310 &quot;filePattern&quot;: &quot;A String&quot;, # File Pattern used to access files by the connector.
311 },
312 ],
313 &quot;pubsubDetails&quot;: [ # Identification of a PubSub source used in the Dataflow job.
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400314 { # Metadata for a Pub/Sub connector used by the job.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800315 &quot;subscription&quot;: &quot;A String&quot;, # Subscription used in the connection.
316 &quot;topic&quot;: &quot;A String&quot;, # Topic accessed in the connection.
317 },
318 ],
319 &quot;sdkVersion&quot;: { # The version of the SDK used to run the job. # The SDK version used to run the job.
320 &quot;sdkSupportStatus&quot;: &quot;A String&quot;, # The support status for this SDK version.
321 &quot;version&quot;: &quot;A String&quot;, # The version of the SDK used to run the job.
322 &quot;versionDisplayName&quot;: &quot;A String&quot;, # A readable string describing the version of the SDK.
323 },
324 &quot;spannerDetails&quot;: [ # Identification of a Spanner source used in the Dataflow job.
325 { # Metadata for a Spanner connector used by the job.
326 &quot;databaseId&quot;: &quot;A String&quot;, # DatabaseId accessed in the connection.
327 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
328 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
329 },
330 ],
331 },
332 &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.
333 &quot;a_key&quot;: &quot;A String&quot;,
334 },
335 &quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
336 &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])?`
337 &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.
338 &quot;displayData&quot;: [ # Pipeline level display data.
339 { # Data provided with a pipeline or transform to provide descriptive info.
340 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
341 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
342 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
343 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
344 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
345 &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.
346 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
347 &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.
348 &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.
349 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
350 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
351 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
352 },
353 ],
354 &quot;executionPipelineStage&quot;: [ # Description of each stage of execution of the pipeline.
355 { # 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.
356 &quot;componentSource&quot;: [ # Collections produced and consumed by component transforms of this stage.
357 { # Description of an interstitial value between transforms in an execution stage.
358 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
359 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
360 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
361 },
362 ],
363 &quot;componentTransform&quot;: [ # Transforms that comprise this execution stage.
364 { # Description of a transform executed as part of an execution stage.
365 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
366 &quot;originalTransform&quot;: &quot;A String&quot;, # User name for the original user transform with which this transform is most closely associated.
367 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
368 },
369 ],
370 &quot;id&quot;: &quot;A String&quot;, # Dataflow service generated id for this stage.
371 &quot;inputSource&quot;: [ # Input sources for this stage.
372 { # Description of an input or output of an execution stage.
373 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
374 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
375 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
376 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
377 },
378 ],
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400379 &quot;kind&quot;: &quot;A String&quot;, # Type of transform this stage is executing.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800380 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this stage.
381 &quot;outputSource&quot;: [ # Output sources for this stage.
382 { # Description of an input or output of an execution stage.
383 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
384 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
385 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
386 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
387 },
388 ],
389 &quot;prerequisiteStage&quot;: [ # Other stages that must complete before this stage can run.
390 &quot;A String&quot;,
391 ],
392 },
393 ],
394 &quot;originalPipelineTransform&quot;: [ # Description of each transform in the pipeline and collections between them.
395 { # Description of the type, names/ids, and input/outputs for a transform.
396 &quot;displayData&quot;: [ # Transform-specific display data.
397 { # Data provided with a pipeline or transform to provide descriptive info.
398 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
399 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
400 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
401 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
402 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
403 &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.
404 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
405 &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.
406 &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.
407 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
408 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
409 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
410 },
411 ],
412 &quot;id&quot;: &quot;A String&quot;, # SDK generated id of this transform instance.
413 &quot;inputCollectionName&quot;: [ # User names for all collection inputs to this transform.
414 &quot;A String&quot;,
415 ],
416 &quot;kind&quot;: &quot;A String&quot;, # Type of transform.
417 &quot;name&quot;: &quot;A String&quot;, # User provided name for this transform instance.
418 &quot;outputCollectionName&quot;: [ # User names for all collection outputs to this transform.
419 &quot;A String&quot;,
420 ],
421 },
422 ],
423 },
424 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
425 &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.
426 &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.
427 &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.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800428 &quot;satisfiesPzs&quot;: True or False, # Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800429 &quot;stageStates&quot;: [ # This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
430 { # A message describing the state of a particular execution stage.
431 &quot;currentStateTime&quot;: &quot;A String&quot;, # The time at which the stage transitioned to this state.
432 &quot;executionStageName&quot;: &quot;A String&quot;, # The name of the execution stage.
433 &quot;executionStageState&quot;: &quot;A String&quot;, # Executions stage states allow the same set of values as JobState.
434 },
435 ],
436 &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.
437 &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.
438 { # 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.
439 &quot;kind&quot;: &quot;A String&quot;, # The kind of step in the Cloud Dataflow job.
440 &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.
441 &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.
442 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
443 },
444 },
445 ],
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400446 &quot;stepsLocation&quot;: &quot;A String&quot;, # The Cloud Storage location where the steps are stored.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800447 &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}
448 &quot;A String&quot;,
449 ],
450 &quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
451 &quot;a_key&quot;: &quot;A String&quot;,
452 },
453 &quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
454 },
455 ],
456 &quot;nextPageToken&quot;: &quot;A String&quot;, # Set if there may be more results than fit in this response.
457}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700458</div>
459
460<div class="method">
461 <code class="details" id="aggregated_next">aggregated_next(previous_request, previous_response)</code>
462 <pre>Retrieves the next page of results.
463
464Args:
465 previous_request: The request for the previous page. (required)
466 previous_response: The response from the request for the previous page. (required)
467
468Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700469 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700470 page. Returns None if there are no more items in the collection.
471 </pre>
472</div>
473
474<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700475 <code class="details" id="close">close()</code>
476 <pre>Close httplib2 connections.</pre>
477</div>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000478
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700479<div class="method">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800480 <code class="details" id="create">create(projectId, body=None, location=None, replaceJobId=None, view=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700481 <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 -0700482
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000483Args:
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400484 projectId: string, The ID of the Cloud Platform project that the job belongs to. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700485 body: object, The request body.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000486 The object takes the form of:
487
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800488{ # Defines a job to be run by the Cloud Dataflow service. nextID: 26
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800489 &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.
490 &quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
491 &quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
492 &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.
493 &quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
494 &quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
495 &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;.
496 &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}
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700497 &quot;debugOptions&quot;: { # Describes any options that have an effect on the debugging of pipelines. # Any debugging options to be supplied to the job.
498 &quot;enableHotKeyLogging&quot;: True or False, # When true, enables the logging of the literal hot key to the user&#x27;s Cloud Logging.
499 },
yoshi-code-bot4d1153d2021-06-07 00:50:01 -0700500 &quot;experiments&quot;: [ # The list of experiments to enable. This field should be used for SDK related experiments and not for service related experiments. The proper field for service related experiments is service_options.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800501 &quot;A String&quot;,
502 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800503 &quot;flexResourceSchedulingGoal&quot;: &quot;A String&quot;, # Which Flexible Resource Scheduling mode to run in.
504 &quot;internalExperiments&quot;: { # Experimental settings.
505 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
506 },
507 &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.
508 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
509 },
510 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Identity to run virtual machines as. Defaults to the default account.
511 &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
yoshi-code-bot4d1153d2021-06-07 00:50:01 -0700512 &quot;serviceOptions&quot;: [ # The list of service options to enable. This field should be used for service related experiments only. These experiments, when graduating to GA, should be replaced by dedicated fields or become default (i.e. always on).
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800513 &quot;A String&quot;,
514 ],
515 &quot;shuffleMode&quot;: &quot;A String&quot;, # Output only. The shuffle mode used for the job.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800516 &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}
517 &quot;userAgent&quot;: { # A description of the process that generated the request.
518 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
519 },
520 &quot;version&quot;: { # A structure describing which components and their versions of the service are required in order to run the job.
521 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
522 },
523 &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.
524 { # 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.
525 &quot;autoscalingSettings&quot;: { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
526 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for autoscaling.
527 &quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap scaling at.
528 },
529 &quot;dataDisks&quot;: [ # Data disks that are used by a VM in this workflow.
530 { # Describes the data disk used by a workflow job.
531 &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
532 &quot;mountPoint&quot;: &quot;A String&quot;, # Directory in a VM where disk is mounted.
533 &quot;sizeGb&quot;: 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
534 },
535 ],
536 &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.
537 &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.
538 &quot;diskSourceImage&quot;: &quot;A String&quot;, # Fully qualified source image for disks.
539 &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.
540 &quot;ipConfiguration&quot;: &quot;A String&quot;, # Configuration for VM IPs.
541 &quot;kind&quot;: &quot;A String&quot;, # The kind of the worker pool; currently only `harness` and `shuffle` are supported.
542 &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.
543 &quot;metadata&quot;: { # Metadata to set on the Google Compute Engine VMs.
544 &quot;a_key&quot;: &quot;A String&quot;,
545 },
546 &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;.
547 &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).
548 &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.
549 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # The action to take on host maintenance, as defined by the Google Compute Engine API.
550 &quot;packages&quot;: [ # Packages to be installed on workers.
551 { # 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.
552 &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/
553 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
554 },
555 ],
556 &quot;poolArgs&quot;: { # Extra arguments for this worker pool.
557 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
558 },
559 &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.
560 { # Defines a SDK harness container for executing Dataflow pipelines.
561 &quot;containerImage&quot;: &quot;A String&quot;, # A docker container image that resides in Google Container Registry.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800562 &quot;environmentId&quot;: &quot;A String&quot;, # Environment ID for the Beam runner API proto Environment that corresponds to the current SDK Harness.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800563 &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.
564 },
565 ],
566 &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;.
567 &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.
568 &quot;alsologtostderr&quot;: True or False, # Whether to also send taskrunner log info to stderr.
569 &quot;baseTaskDir&quot;: &quot;A String&quot;, # The location on the worker for task-specific subdirectories.
570 &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;
571 &quot;commandlinesFileName&quot;: &quot;A String&quot;, # The file to store preprocessing commands in.
572 &quot;continueOnException&quot;: True or False, # Whether to continue taskrunner if an exception is hit.
573 &quot;dataflowApiVersion&quot;: &quot;A String&quot;, # The API version of endpoint, e.g. &quot;v1b3&quot;
574 &quot;harnessCommand&quot;: &quot;A String&quot;, # The command to launch the worker harness.
575 &quot;languageHint&quot;: &quot;A String&quot;, # The suggested backend language.
576 &quot;logDir&quot;: &quot;A String&quot;, # The directory on the VM to store logs.
577 &quot;logToSerialconsole&quot;: True or False, # Whether to send taskrunner log info to Google Compute Engine VM serial console.
578 &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}
579 &quot;oauthScopes&quot;: [ # The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800580 &quot;A String&quot;,
581 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800582 &quot;parallelWorkerSettings&quot;: { # Provides data to pass through to the worker harness. # The settings to pass to the parallel worker harness.
583 &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;
584 &quot;reportingEnabled&quot;: True or False, # Whether to send work progress updates to the service.
585 &quot;servicePath&quot;: &quot;A String&quot;, # The Cloud Dataflow service path relative to the root URL, for example, &quot;dataflow/v1b3/projects&quot;.
586 &quot;shuffleServicePath&quot;: &quot;A String&quot;, # The Shuffle service path relative to the root URL, for example, &quot;shuffle/v1beta1&quot;.
587 &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}
588 &quot;workerId&quot;: &quot;A String&quot;, # The ID of the worker running this pipeline.
589 },
590 &quot;streamingWorkerMainClass&quot;: &quot;A String&quot;, # The streaming worker main class name.
591 &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;.
592 &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;.
593 &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}
594 &quot;vmId&quot;: &quot;A String&quot;, # The ID string of the VM.
595 &quot;workflowFileName&quot;: &quot;A String&quot;, # The file to store the workflow in.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800596 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800597 &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.
598 &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.
599 &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.
600 },
601 ],
602 &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.
603 &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.
604 },
605 &quot;executionInfo&quot;: { # Additional information about how a Cloud Dataflow job will be executed that isn&#x27;t contained in the submitted job. # Deprecated.
606 &quot;stages&quot;: { # A mapping from each stage to the information about that stage.
607 &quot;a_key&quot;: { # Contains information about how a particular google.dataflow.v1beta3.Step will be executed.
608 &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.
609 &quot;A String&quot;,
610 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800611 },
612 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800613 },
614 &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.
615 &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.
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400616 &quot;bigTableDetails&quot;: [ # Identification of a Cloud BigTable source used in the Dataflow job.
617 { # Metadata for a Cloud BigTable connector used by the job.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800618 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
619 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
620 &quot;tableId&quot;: &quot;A String&quot;, # TableId accessed in the connection.
621 },
622 ],
623 &quot;bigqueryDetails&quot;: [ # Identification of a BigQuery source used in the Dataflow job.
624 { # Metadata for a BigQuery connector used by the job.
625 &quot;dataset&quot;: &quot;A String&quot;, # Dataset accessed in the connection.
626 &quot;projectId&quot;: &quot;A String&quot;, # Project accessed in the connection.
627 &quot;query&quot;: &quot;A String&quot;, # Query used to access data in the connection.
628 &quot;table&quot;: &quot;A String&quot;, # Table accessed in the connection.
629 },
630 ],
631 &quot;datastoreDetails&quot;: [ # Identification of a Datastore source used in the Dataflow job.
632 { # Metadata for a Datastore connector used by the job.
633 &quot;namespace&quot;: &quot;A String&quot;, # Namespace used in the connection.
634 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
635 },
636 ],
637 &quot;fileDetails&quot;: [ # Identification of a File source used in the Dataflow job.
638 { # Metadata for a File connector used by the job.
639 &quot;filePattern&quot;: &quot;A String&quot;, # File Pattern used to access files by the connector.
640 },
641 ],
642 &quot;pubsubDetails&quot;: [ # Identification of a PubSub source used in the Dataflow job.
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400643 { # Metadata for a Pub/Sub connector used by the job.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800644 &quot;subscription&quot;: &quot;A String&quot;, # Subscription used in the connection.
645 &quot;topic&quot;: &quot;A String&quot;, # Topic accessed in the connection.
646 },
647 ],
648 &quot;sdkVersion&quot;: { # The version of the SDK used to run the job. # The SDK version used to run the job.
649 &quot;sdkSupportStatus&quot;: &quot;A String&quot;, # The support status for this SDK version.
650 &quot;version&quot;: &quot;A String&quot;, # The version of the SDK used to run the job.
651 &quot;versionDisplayName&quot;: &quot;A String&quot;, # A readable string describing the version of the SDK.
652 },
653 &quot;spannerDetails&quot;: [ # Identification of a Spanner source used in the Dataflow job.
654 { # Metadata for a Spanner connector used by the job.
655 &quot;databaseId&quot;: &quot;A String&quot;, # DatabaseId accessed in the connection.
656 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
657 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
658 },
659 ],
660 },
661 &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.
662 &quot;a_key&quot;: &quot;A String&quot;,
663 },
664 &quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
665 &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])?`
666 &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.
667 &quot;displayData&quot;: [ # Pipeline level display data.
668 { # Data provided with a pipeline or transform to provide descriptive info.
669 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
670 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
671 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
672 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
673 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
674 &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.
675 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
676 &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.
677 &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.
678 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
679 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
680 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
681 },
682 ],
683 &quot;executionPipelineStage&quot;: [ # Description of each stage of execution of the pipeline.
684 { # 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.
685 &quot;componentSource&quot;: [ # Collections produced and consumed by component transforms of this stage.
686 { # Description of an interstitial value between transforms in an execution stage.
687 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
688 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
689 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
690 },
691 ],
692 &quot;componentTransform&quot;: [ # Transforms that comprise this execution stage.
693 { # Description of a transform executed as part of an execution stage.
694 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
695 &quot;originalTransform&quot;: &quot;A String&quot;, # User name for the original user transform with which this transform is most closely associated.
696 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
697 },
698 ],
699 &quot;id&quot;: &quot;A String&quot;, # Dataflow service generated id for this stage.
700 &quot;inputSource&quot;: [ # Input sources for this stage.
701 { # Description of an input or output of an execution stage.
702 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
703 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
704 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
705 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
706 },
707 ],
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400708 &quot;kind&quot;: &quot;A String&quot;, # Type of transform this stage is executing.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800709 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this stage.
710 &quot;outputSource&quot;: [ # Output sources for this stage.
711 { # Description of an input or output of an execution stage.
712 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
713 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
714 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
715 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
716 },
717 ],
718 &quot;prerequisiteStage&quot;: [ # Other stages that must complete before this stage can run.
719 &quot;A String&quot;,
720 ],
721 },
722 ],
723 &quot;originalPipelineTransform&quot;: [ # Description of each transform in the pipeline and collections between them.
724 { # Description of the type, names/ids, and input/outputs for a transform.
725 &quot;displayData&quot;: [ # Transform-specific display data.
726 { # Data provided with a pipeline or transform to provide descriptive info.
727 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
728 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
729 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
730 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
731 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
732 &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.
733 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
734 &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.
735 &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.
736 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
737 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
738 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
739 },
740 ],
741 &quot;id&quot;: &quot;A String&quot;, # SDK generated id of this transform instance.
742 &quot;inputCollectionName&quot;: [ # User names for all collection inputs to this transform.
743 &quot;A String&quot;,
744 ],
745 &quot;kind&quot;: &quot;A String&quot;, # Type of transform.
746 &quot;name&quot;: &quot;A String&quot;, # User provided name for this transform instance.
747 &quot;outputCollectionName&quot;: [ # User names for all collection outputs to this transform.
748 &quot;A String&quot;,
749 ],
750 },
751 ],
752 },
753 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
754 &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.
755 &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.
756 &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.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800757 &quot;satisfiesPzs&quot;: True or False, # Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800758 &quot;stageStates&quot;: [ # This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
759 { # A message describing the state of a particular execution stage.
760 &quot;currentStateTime&quot;: &quot;A String&quot;, # The time at which the stage transitioned to this state.
761 &quot;executionStageName&quot;: &quot;A String&quot;, # The name of the execution stage.
762 &quot;executionStageState&quot;: &quot;A String&quot;, # Executions stage states allow the same set of values as JobState.
763 },
764 ],
765 &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.
766 &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.
767 { # 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.
768 &quot;kind&quot;: &quot;A String&quot;, # The kind of step in the Cloud Dataflow job.
769 &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.
770 &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.
771 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
772 },
773 },
774 ],
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400775 &quot;stepsLocation&quot;: &quot;A String&quot;, # The Cloud Storage location where the steps are stored.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800776 &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}
777 &quot;A String&quot;,
778 ],
779 &quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
780 &quot;a_key&quot;: &quot;A String&quot;,
781 },
782 &quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
783}
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800784
785 location: string, The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
786 replaceJobId: string, Deprecated. This field is now in the Job message.
787 view: string, The level of information requested in response.
788 Allowed values
789 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.
790 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.
791 JOB_VIEW_ALL - Request all information available for this job.
792 JOB_VIEW_DESCRIPTION - Request summary info and limited job description data for steps, labels and environment.
793 x__xgafv: string, V1 error format.
794 Allowed values
795 1 - v1 error format
796 2 - v2 error format
797
798Returns:
799 An object of the form:
800
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800801 { # Defines a job to be run by the Cloud Dataflow service. nextID: 26
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800802 &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.
803 &quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
804 &quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
805 &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.
806 &quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
807 &quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
808 &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;.
809 &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}
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700810 &quot;debugOptions&quot;: { # Describes any options that have an effect on the debugging of pipelines. # Any debugging options to be supplied to the job.
811 &quot;enableHotKeyLogging&quot;: True or False, # When true, enables the logging of the literal hot key to the user&#x27;s Cloud Logging.
812 },
yoshi-code-bot4d1153d2021-06-07 00:50:01 -0700813 &quot;experiments&quot;: [ # The list of experiments to enable. This field should be used for SDK related experiments and not for service related experiments. The proper field for service related experiments is service_options.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800814 &quot;A String&quot;,
815 ],
816 &quot;flexResourceSchedulingGoal&quot;: &quot;A String&quot;, # Which Flexible Resource Scheduling mode to run in.
817 &quot;internalExperiments&quot;: { # Experimental settings.
818 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
819 },
820 &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.
821 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
822 },
823 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Identity to run virtual machines as. Defaults to the default account.
824 &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
yoshi-code-bot4d1153d2021-06-07 00:50:01 -0700825 &quot;serviceOptions&quot;: [ # The list of service options to enable. This field should be used for service related experiments only. These experiments, when graduating to GA, should be replaced by dedicated fields or become default (i.e. always on).
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800826 &quot;A String&quot;,
827 ],
828 &quot;shuffleMode&quot;: &quot;A String&quot;, # Output only. The shuffle mode used for the job.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800829 &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}
830 &quot;userAgent&quot;: { # A description of the process that generated the request.
831 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
832 },
833 &quot;version&quot;: { # A structure describing which components and their versions of the service are required in order to run the job.
834 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
835 },
836 &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.
837 { # 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.
838 &quot;autoscalingSettings&quot;: { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
839 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for autoscaling.
840 &quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap scaling at.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800841 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800842 &quot;dataDisks&quot;: [ # Data disks that are used by a VM in this workflow.
843 { # Describes the data disk used by a workflow job.
844 &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
845 &quot;mountPoint&quot;: &quot;A String&quot;, # Directory in a VM where disk is mounted.
846 &quot;sizeGb&quot;: 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800847 },
848 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800849 &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.
850 &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.
851 &quot;diskSourceImage&quot;: &quot;A String&quot;, # Fully qualified source image for disks.
852 &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.
853 &quot;ipConfiguration&quot;: &quot;A String&quot;, # Configuration for VM IPs.
854 &quot;kind&quot;: &quot;A String&quot;, # The kind of the worker pool; currently only `harness` and `shuffle` are supported.
855 &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.
856 &quot;metadata&quot;: { # Metadata to set on the Google Compute Engine VMs.
857 &quot;a_key&quot;: &quot;A String&quot;,
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800858 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800859 &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;.
860 &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).
861 &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.
862 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # The action to take on host maintenance, as defined by the Google Compute Engine API.
863 &quot;packages&quot;: [ # Packages to be installed on workers.
864 { # 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.
865 &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/
866 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800867 },
868 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800869 &quot;poolArgs&quot;: { # Extra arguments for this worker pool.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800870 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
871 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800872 &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.
873 { # Defines a SDK harness container for executing Dataflow pipelines.
874 &quot;containerImage&quot;: &quot;A String&quot;, # A docker container image that resides in Google Container Registry.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800875 &quot;environmentId&quot;: &quot;A String&quot;, # Environment ID for the Beam runner API proto Environment that corresponds to the current SDK Harness.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800876 &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.
877 },
878 ],
879 &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;.
880 &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.
881 &quot;alsologtostderr&quot;: True or False, # Whether to also send taskrunner log info to stderr.
882 &quot;baseTaskDir&quot;: &quot;A String&quot;, # The location on the worker for task-specific subdirectories.
883 &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;
884 &quot;commandlinesFileName&quot;: &quot;A String&quot;, # The file to store preprocessing commands in.
885 &quot;continueOnException&quot;: True or False, # Whether to continue taskrunner if an exception is hit.
886 &quot;dataflowApiVersion&quot;: &quot;A String&quot;, # The API version of endpoint, e.g. &quot;v1b3&quot;
887 &quot;harnessCommand&quot;: &quot;A String&quot;, # The command to launch the worker harness.
888 &quot;languageHint&quot;: &quot;A String&quot;, # The suggested backend language.
889 &quot;logDir&quot;: &quot;A String&quot;, # The directory on the VM to store logs.
890 &quot;logToSerialconsole&quot;: True or False, # Whether to send taskrunner log info to Google Compute Engine VM serial console.
891 &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}
892 &quot;oauthScopes&quot;: [ # The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
893 &quot;A String&quot;,
894 ],
895 &quot;parallelWorkerSettings&quot;: { # Provides data to pass through to the worker harness. # The settings to pass to the parallel worker harness.
896 &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;
897 &quot;reportingEnabled&quot;: True or False, # Whether to send work progress updates to the service.
898 &quot;servicePath&quot;: &quot;A String&quot;, # The Cloud Dataflow service path relative to the root URL, for example, &quot;dataflow/v1b3/projects&quot;.
899 &quot;shuffleServicePath&quot;: &quot;A String&quot;, # The Shuffle service path relative to the root URL, for example, &quot;shuffle/v1beta1&quot;.
900 &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}
901 &quot;workerId&quot;: &quot;A String&quot;, # The ID of the worker running this pipeline.
902 },
903 &quot;streamingWorkerMainClass&quot;: &quot;A String&quot;, # The streaming worker main class name.
904 &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;.
905 &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;.
906 &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}
907 &quot;vmId&quot;: &quot;A String&quot;, # The ID string of the VM.
908 &quot;workflowFileName&quot;: &quot;A String&quot;, # The file to store the workflow in.
909 },
910 &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.
911 &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.
912 &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.
913 },
914 ],
915 &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.
916 &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.
917 },
918 &quot;executionInfo&quot;: { # Additional information about how a Cloud Dataflow job will be executed that isn&#x27;t contained in the submitted job. # Deprecated.
919 &quot;stages&quot;: { # A mapping from each stage to the information about that stage.
920 &quot;a_key&quot;: { # Contains information about how a particular google.dataflow.v1beta3.Step will be executed.
921 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800922 &quot;A String&quot;,
923 ],
924 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800925 },
926 },
927 &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.
928 &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.
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400929 &quot;bigTableDetails&quot;: [ # Identification of a Cloud BigTable source used in the Dataflow job.
930 { # Metadata for a Cloud BigTable connector used by the job.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800931 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
932 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
933 &quot;tableId&quot;: &quot;A String&quot;, # TableId accessed in the connection.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800934 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800935 ],
936 &quot;bigqueryDetails&quot;: [ # Identification of a BigQuery source used in the Dataflow job.
937 { # Metadata for a BigQuery connector used by the job.
938 &quot;dataset&quot;: &quot;A String&quot;, # Dataset accessed in the connection.
939 &quot;projectId&quot;: &quot;A String&quot;, # Project accessed in the connection.
940 &quot;query&quot;: &quot;A String&quot;, # Query used to access data in the connection.
941 &quot;table&quot;: &quot;A String&quot;, # Table accessed in the connection.
942 },
943 ],
944 &quot;datastoreDetails&quot;: [ # Identification of a Datastore source used in the Dataflow job.
945 { # Metadata for a Datastore connector used by the job.
946 &quot;namespace&quot;: &quot;A String&quot;, # Namespace used in the connection.
947 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
948 },
949 ],
950 &quot;fileDetails&quot;: [ # Identification of a File source used in the Dataflow job.
951 { # Metadata for a File connector used by the job.
952 &quot;filePattern&quot;: &quot;A String&quot;, # File Pattern used to access files by the connector.
953 },
954 ],
955 &quot;pubsubDetails&quot;: [ # Identification of a PubSub source used in the Dataflow job.
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400956 { # Metadata for a Pub/Sub connector used by the job.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800957 &quot;subscription&quot;: &quot;A String&quot;, # Subscription used in the connection.
958 &quot;topic&quot;: &quot;A String&quot;, # Topic accessed in the connection.
959 },
960 ],
961 &quot;sdkVersion&quot;: { # The version of the SDK used to run the job. # The SDK version used to run the job.
962 &quot;sdkSupportStatus&quot;: &quot;A String&quot;, # The support status for this SDK version.
963 &quot;version&quot;: &quot;A String&quot;, # The version of the SDK used to run the job.
964 &quot;versionDisplayName&quot;: &quot;A String&quot;, # A readable string describing the version of the SDK.
965 },
966 &quot;spannerDetails&quot;: [ # Identification of a Spanner source used in the Dataflow job.
967 { # Metadata for a Spanner connector used by the job.
968 &quot;databaseId&quot;: &quot;A String&quot;, # DatabaseId accessed in the connection.
969 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
970 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
971 },
972 ],
973 },
974 &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.
975 &quot;a_key&quot;: &quot;A String&quot;,
976 },
977 &quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
978 &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])?`
979 &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.
980 &quot;displayData&quot;: [ # Pipeline level display data.
981 { # Data provided with a pipeline or transform to provide descriptive info.
982 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
983 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
984 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
985 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
986 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
987 &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.
988 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
989 &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.
990 &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.
991 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
992 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
993 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
994 },
995 ],
996 &quot;executionPipelineStage&quot;: [ # Description of each stage of execution of the pipeline.
997 { # 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.
998 &quot;componentSource&quot;: [ # Collections produced and consumed by component transforms of this stage.
999 { # Description of an interstitial value between transforms in an execution stage.
1000 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1001 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1002 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001003 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001004 ],
1005 &quot;componentTransform&quot;: [ # Transforms that comprise this execution stage.
1006 { # Description of a transform executed as part of an execution stage.
1007 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1008 &quot;originalTransform&quot;: &quot;A String&quot;, # User name for the original user transform with which this transform is most closely associated.
1009 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
1010 },
1011 ],
1012 &quot;id&quot;: &quot;A String&quot;, # Dataflow service generated id for this stage.
1013 &quot;inputSource&quot;: [ # Input sources for this stage.
1014 { # Description of an input or output of an execution stage.
1015 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1016 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1017 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
1018 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
1019 },
1020 ],
Anthonios Partheniou10f4b672021-04-13 14:47:53 -04001021 &quot;kind&quot;: &quot;A String&quot;, # Type of transform this stage is executing.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001022 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this stage.
1023 &quot;outputSource&quot;: [ # Output sources for this stage.
1024 { # Description of an input or output of an execution stage.
1025 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1026 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1027 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
1028 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
1029 },
1030 ],
1031 &quot;prerequisiteStage&quot;: [ # Other stages that must complete before this stage can run.
1032 &quot;A String&quot;,
1033 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001034 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001035 ],
1036 &quot;originalPipelineTransform&quot;: [ # Description of each transform in the pipeline and collections between them.
1037 { # Description of the type, names/ids, and input/outputs for a transform.
1038 &quot;displayData&quot;: [ # Transform-specific display data.
1039 { # Data provided with a pipeline or transform to provide descriptive info.
1040 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
1041 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
1042 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
1043 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
1044 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
1045 &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.
1046 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
1047 &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.
1048 &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.
1049 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
1050 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
1051 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
1052 },
1053 ],
1054 &quot;id&quot;: &quot;A String&quot;, # SDK generated id of this transform instance.
1055 &quot;inputCollectionName&quot;: [ # User names for all collection inputs to this transform.
1056 &quot;A String&quot;,
1057 ],
1058 &quot;kind&quot;: &quot;A String&quot;, # Type of transform.
1059 &quot;name&quot;: &quot;A String&quot;, # User provided name for this transform instance.
1060 &quot;outputCollectionName&quot;: [ # User names for all collection outputs to this transform.
1061 &quot;A String&quot;,
1062 ],
1063 },
1064 ],
1065 },
1066 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
1067 &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.
1068 &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.
1069 &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.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001070 &quot;satisfiesPzs&quot;: True or False, # Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001071 &quot;stageStates&quot;: [ # This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
1072 { # A message describing the state of a particular execution stage.
1073 &quot;currentStateTime&quot;: &quot;A String&quot;, # The time at which the stage transitioned to this state.
1074 &quot;executionStageName&quot;: &quot;A String&quot;, # The name of the execution stage.
1075 &quot;executionStageState&quot;: &quot;A String&quot;, # Executions stage states allow the same set of values as JobState.
1076 },
1077 ],
1078 &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.
1079 &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.
1080 { # 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.
1081 &quot;kind&quot;: &quot;A String&quot;, # The kind of step in the Cloud Dataflow job.
1082 &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.
1083 &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.
1084 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1085 },
1086 },
1087 ],
Anthonios Partheniou10f4b672021-04-13 14:47:53 -04001088 &quot;stepsLocation&quot;: &quot;A String&quot;, # The Cloud Storage location where the steps are stored.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001089 &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}
1090 &quot;A String&quot;,
1091 ],
1092 &quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
1093 &quot;a_key&quot;: &quot;A String&quot;,
1094 },
1095 &quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
1096}</pre>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001097</div>
1098
1099<div class="method">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001100 <code class="details" id="get">get(projectId, jobId, location=None, view=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001101 <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`.
1102
1103Args:
1104 projectId: string, The ID of the Cloud Platform project that the job belongs to. (required)
1105 jobId: string, The job ID. (required)
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001106 location: string, The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001107 view: string, The level of information requested in response.
1108 Allowed values
1109 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.
1110 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.
1111 JOB_VIEW_ALL - Request all information available for this job.
1112 JOB_VIEW_DESCRIPTION - Request summary info and limited job description data for steps, labels and environment.
1113 x__xgafv: string, V1 error format.
1114 Allowed values
1115 1 - v1 error format
1116 2 - v2 error format
1117
1118Returns:
1119 An object of the form:
1120
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001121 { # Defines a job to be run by the Cloud Dataflow service. nextID: 26
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001122 &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.
1123 &quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
1124 &quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
1125 &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.
1126 &quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
1127 &quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
1128 &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;.
1129 &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}
yoshi-code-bota8b35b92021-03-31 13:33:30 -07001130 &quot;debugOptions&quot;: { # Describes any options that have an effect on the debugging of pipelines. # Any debugging options to be supplied to the job.
1131 &quot;enableHotKeyLogging&quot;: True or False, # When true, enables the logging of the literal hot key to the user&#x27;s Cloud Logging.
1132 },
yoshi-code-bot4d1153d2021-06-07 00:50:01 -07001133 &quot;experiments&quot;: [ # The list of experiments to enable. This field should be used for SDK related experiments and not for service related experiments. The proper field for service related experiments is service_options.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001134 &quot;A String&quot;,
1135 ],
1136 &quot;flexResourceSchedulingGoal&quot;: &quot;A String&quot;, # Which Flexible Resource Scheduling mode to run in.
1137 &quot;internalExperiments&quot;: { # Experimental settings.
1138 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1139 },
1140 &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.
1141 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1142 },
1143 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Identity to run virtual machines as. Defaults to the default account.
1144 &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
yoshi-code-bot4d1153d2021-06-07 00:50:01 -07001145 &quot;serviceOptions&quot;: [ # The list of service options to enable. This field should be used for service related experiments only. These experiments, when graduating to GA, should be replaced by dedicated fields or become default (i.e. always on).
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001146 &quot;A String&quot;,
1147 ],
1148 &quot;shuffleMode&quot;: &quot;A String&quot;, # Output only. The shuffle mode used for the job.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001149 &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}
1150 &quot;userAgent&quot;: { # A description of the process that generated the request.
1151 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1152 },
1153 &quot;version&quot;: { # A structure describing which components and their versions of the service are required in order to run the job.
1154 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1155 },
1156 &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.
1157 { # 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.
1158 &quot;autoscalingSettings&quot;: { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
1159 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for autoscaling.
1160 &quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap scaling at.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001161 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001162 &quot;dataDisks&quot;: [ # Data disks that are used by a VM in this workflow.
1163 { # Describes the data disk used by a workflow job.
1164 &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
1165 &quot;mountPoint&quot;: &quot;A String&quot;, # Directory in a VM where disk is mounted.
1166 &quot;sizeGb&quot;: 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001167 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001168 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001169 &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.
1170 &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.
1171 &quot;diskSourceImage&quot;: &quot;A String&quot;, # Fully qualified source image for disks.
1172 &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.
1173 &quot;ipConfiguration&quot;: &quot;A String&quot;, # Configuration for VM IPs.
1174 &quot;kind&quot;: &quot;A String&quot;, # The kind of the worker pool; currently only `harness` and `shuffle` are supported.
1175 &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.
1176 &quot;metadata&quot;: { # Metadata to set on the Google Compute Engine VMs.
1177 &quot;a_key&quot;: &quot;A String&quot;,
1178 },
1179 &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;.
1180 &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).
1181 &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.
1182 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # The action to take on host maintenance, as defined by the Google Compute Engine API.
1183 &quot;packages&quot;: [ # Packages to be installed on workers.
1184 { # 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.
1185 &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/
1186 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001187 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001188 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001189 &quot;poolArgs&quot;: { # Extra arguments for this worker pool.
1190 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1191 },
1192 &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.
1193 { # Defines a SDK harness container for executing Dataflow pipelines.
1194 &quot;containerImage&quot;: &quot;A String&quot;, # A docker container image that resides in Google Container Registry.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001195 &quot;environmentId&quot;: &quot;A String&quot;, # Environment ID for the Beam runner API proto Environment that corresponds to the current SDK Harness.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001196 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001197 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001198 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001199 &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;.
1200 &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.
1201 &quot;alsologtostderr&quot;: True or False, # Whether to also send taskrunner log info to stderr.
1202 &quot;baseTaskDir&quot;: &quot;A String&quot;, # The location on the worker for task-specific subdirectories.
1203 &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;
1204 &quot;commandlinesFileName&quot;: &quot;A String&quot;, # The file to store preprocessing commands in.
1205 &quot;continueOnException&quot;: True or False, # Whether to continue taskrunner if an exception is hit.
1206 &quot;dataflowApiVersion&quot;: &quot;A String&quot;, # The API version of endpoint, e.g. &quot;v1b3&quot;
1207 &quot;harnessCommand&quot;: &quot;A String&quot;, # The command to launch the worker harness.
1208 &quot;languageHint&quot;: &quot;A String&quot;, # The suggested backend language.
1209 &quot;logDir&quot;: &quot;A String&quot;, # The directory on the VM to store logs.
1210 &quot;logToSerialconsole&quot;: True or False, # Whether to send taskrunner log info to Google Compute Engine VM serial console.
1211 &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}
1212 &quot;oauthScopes&quot;: [ # The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
1213 &quot;A String&quot;,
1214 ],
1215 &quot;parallelWorkerSettings&quot;: { # Provides data to pass through to the worker harness. # The settings to pass to the parallel worker harness.
1216 &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;
1217 &quot;reportingEnabled&quot;: True or False, # Whether to send work progress updates to the service.
1218 &quot;servicePath&quot;: &quot;A String&quot;, # The Cloud Dataflow service path relative to the root URL, for example, &quot;dataflow/v1b3/projects&quot;.
1219 &quot;shuffleServicePath&quot;: &quot;A String&quot;, # The Shuffle service path relative to the root URL, for example, &quot;shuffle/v1beta1&quot;.
1220 &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}
1221 &quot;workerId&quot;: &quot;A String&quot;, # The ID of the worker running this pipeline.
1222 },
1223 &quot;streamingWorkerMainClass&quot;: &quot;A String&quot;, # The streaming worker main class name.
1224 &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;.
1225 &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;.
1226 &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}
1227 &quot;vmId&quot;: &quot;A String&quot;, # The ID string of the VM.
1228 &quot;workflowFileName&quot;: &quot;A String&quot;, # The file to store the workflow in.
1229 },
1230 &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.
1231 &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.
1232 &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.
1233 },
1234 ],
1235 &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.
1236 &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.
1237 },
1238 &quot;executionInfo&quot;: { # Additional information about how a Cloud Dataflow job will be executed that isn&#x27;t contained in the submitted job. # Deprecated.
1239 &quot;stages&quot;: { # A mapping from each stage to the information about that stage.
1240 &quot;a_key&quot;: { # Contains information about how a particular google.dataflow.v1beta3.Step will be executed.
1241 &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.
1242 &quot;A String&quot;,
1243 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001244 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001245 },
1246 },
1247 &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.
1248 &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.
Anthonios Partheniou10f4b672021-04-13 14:47:53 -04001249 &quot;bigTableDetails&quot;: [ # Identification of a Cloud BigTable source used in the Dataflow job.
1250 { # Metadata for a Cloud BigTable connector used by the job.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001251 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
1252 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
1253 &quot;tableId&quot;: &quot;A String&quot;, # TableId accessed in the connection.
1254 },
1255 ],
1256 &quot;bigqueryDetails&quot;: [ # Identification of a BigQuery source used in the Dataflow job.
1257 { # Metadata for a BigQuery connector used by the job.
1258 &quot;dataset&quot;: &quot;A String&quot;, # Dataset accessed in the connection.
1259 &quot;projectId&quot;: &quot;A String&quot;, # Project accessed in the connection.
1260 &quot;query&quot;: &quot;A String&quot;, # Query used to access data in the connection.
1261 &quot;table&quot;: &quot;A String&quot;, # Table accessed in the connection.
1262 },
1263 ],
1264 &quot;datastoreDetails&quot;: [ # Identification of a Datastore source used in the Dataflow job.
1265 { # Metadata for a Datastore connector used by the job.
1266 &quot;namespace&quot;: &quot;A String&quot;, # Namespace used in the connection.
1267 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
1268 },
1269 ],
1270 &quot;fileDetails&quot;: [ # Identification of a File source used in the Dataflow job.
1271 { # Metadata for a File connector used by the job.
1272 &quot;filePattern&quot;: &quot;A String&quot;, # File Pattern used to access files by the connector.
1273 },
1274 ],
1275 &quot;pubsubDetails&quot;: [ # Identification of a PubSub source used in the Dataflow job.
Anthonios Partheniou10f4b672021-04-13 14:47:53 -04001276 { # Metadata for a Pub/Sub connector used by the job.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001277 &quot;subscription&quot;: &quot;A String&quot;, # Subscription used in the connection.
1278 &quot;topic&quot;: &quot;A String&quot;, # Topic accessed in the connection.
1279 },
1280 ],
1281 &quot;sdkVersion&quot;: { # The version of the SDK used to run the job. # The SDK version used to run the job.
1282 &quot;sdkSupportStatus&quot;: &quot;A String&quot;, # The support status for this SDK version.
1283 &quot;version&quot;: &quot;A String&quot;, # The version of the SDK used to run the job.
1284 &quot;versionDisplayName&quot;: &quot;A String&quot;, # A readable string describing the version of the SDK.
1285 },
1286 &quot;spannerDetails&quot;: [ # Identification of a Spanner source used in the Dataflow job.
1287 { # Metadata for a Spanner connector used by the job.
1288 &quot;databaseId&quot;: &quot;A String&quot;, # DatabaseId accessed in the connection.
1289 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
1290 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
1291 },
1292 ],
1293 },
1294 &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.
1295 &quot;a_key&quot;: &quot;A String&quot;,
1296 },
1297 &quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
1298 &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])?`
1299 &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.
1300 &quot;displayData&quot;: [ # Pipeline level display data.
1301 { # Data provided with a pipeline or transform to provide descriptive info.
1302 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
1303 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
1304 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
1305 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
1306 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
1307 &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.
1308 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
1309 &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.
1310 &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.
1311 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
1312 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
1313 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
1314 },
1315 ],
1316 &quot;executionPipelineStage&quot;: [ # Description of each stage of execution of the pipeline.
1317 { # 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.
1318 &quot;componentSource&quot;: [ # Collections produced and consumed by component transforms of this stage.
1319 { # Description of an interstitial value between transforms in an execution stage.
1320 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1321 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1322 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
1323 },
1324 ],
1325 &quot;componentTransform&quot;: [ # Transforms that comprise this execution stage.
1326 { # Description of a transform executed as part of an execution stage.
1327 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1328 &quot;originalTransform&quot;: &quot;A String&quot;, # User name for the original user transform with which this transform is most closely associated.
1329 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
1330 },
1331 ],
1332 &quot;id&quot;: &quot;A String&quot;, # Dataflow service generated id for this stage.
1333 &quot;inputSource&quot;: [ # Input sources for this stage.
1334 { # Description of an input or output of an execution stage.
1335 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1336 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1337 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
1338 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
1339 },
1340 ],
Anthonios Partheniou10f4b672021-04-13 14:47:53 -04001341 &quot;kind&quot;: &quot;A String&quot;, # Type of transform this stage is executing.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001342 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this stage.
1343 &quot;outputSource&quot;: [ # Output sources for this stage.
1344 { # Description of an input or output of an execution stage.
1345 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1346 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1347 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
1348 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
1349 },
1350 ],
1351 &quot;prerequisiteStage&quot;: [ # Other stages that must complete before this stage can run.
1352 &quot;A String&quot;,
1353 ],
1354 },
1355 ],
1356 &quot;originalPipelineTransform&quot;: [ # Description of each transform in the pipeline and collections between them.
1357 { # Description of the type, names/ids, and input/outputs for a transform.
1358 &quot;displayData&quot;: [ # Transform-specific display data.
1359 { # Data provided with a pipeline or transform to provide descriptive info.
1360 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
1361 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
1362 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
1363 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
1364 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
1365 &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.
1366 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
1367 &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.
1368 &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.
1369 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
1370 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
1371 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
1372 },
1373 ],
1374 &quot;id&quot;: &quot;A String&quot;, # SDK generated id of this transform instance.
1375 &quot;inputCollectionName&quot;: [ # User names for all collection inputs to this transform.
1376 &quot;A String&quot;,
1377 ],
1378 &quot;kind&quot;: &quot;A String&quot;, # Type of transform.
1379 &quot;name&quot;: &quot;A String&quot;, # User provided name for this transform instance.
1380 &quot;outputCollectionName&quot;: [ # User names for all collection outputs to this transform.
1381 &quot;A String&quot;,
1382 ],
1383 },
1384 ],
1385 },
1386 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
1387 &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.
1388 &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.
1389 &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.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001390 &quot;satisfiesPzs&quot;: True or False, # Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001391 &quot;stageStates&quot;: [ # This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
1392 { # A message describing the state of a particular execution stage.
1393 &quot;currentStateTime&quot;: &quot;A String&quot;, # The time at which the stage transitioned to this state.
1394 &quot;executionStageName&quot;: &quot;A String&quot;, # The name of the execution stage.
1395 &quot;executionStageState&quot;: &quot;A String&quot;, # Executions stage states allow the same set of values as JobState.
1396 },
1397 ],
1398 &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.
1399 &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.
1400 { # 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.
1401 &quot;kind&quot;: &quot;A String&quot;, # The kind of step in the Cloud Dataflow job.
1402 &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.
1403 &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.
1404 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1405 },
1406 },
1407 ],
Anthonios Partheniou10f4b672021-04-13 14:47:53 -04001408 &quot;stepsLocation&quot;: &quot;A String&quot;, # The Cloud Storage location where the steps are stored.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001409 &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}
1410 &quot;A String&quot;,
1411 ],
1412 &quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
1413 &quot;a_key&quot;: &quot;A String&quot;,
1414 },
1415 &quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
1416}</pre>
1417</div>
1418
1419<div class="method">
1420 <code class="details" id="getMetrics">getMetrics(projectId, jobId, location=None, startTime=None, x__xgafv=None)</code>
1421 <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`.
1422
1423Args:
1424 projectId: string, A project id. (required)
1425 jobId: string, The job to get metrics for. (required)
1426 location: string, The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.
1427 startTime: string, Return only metric data that has changed since this time. Default is to return all information about all metrics for the job.
1428 x__xgafv: string, V1 error format.
1429 Allowed values
1430 1 - v1 error format
1431 2 - v2 error format
1432
1433Returns:
1434 An object of the form:
1435
1436 { # 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.
1437 &quot;metricTime&quot;: &quot;A String&quot;, # Timestamp as of which metric values are current.
1438 &quot;metrics&quot;: [ # All metrics for this job.
1439 { # Describes the state of a metric.
1440 &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.
1441 &quot;distribution&quot;: &quot;&quot;, # A struct value describing properties of a distribution of numeric values.
1442 &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.
1443 &quot;internal&quot;: &quot;&quot;, # Worker-computed aggregate value for internal use by the Dataflow service.
1444 &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.
1445 &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.
1446 &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.
1447 &quot;name&quot;: { # Identifies a metric, by describing the source which generated the metric. # Name of the metric.
1448 &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;] = .
1449 &quot;a_key&quot;: &quot;A String&quot;,
1450 },
1451 &quot;name&quot;: &quot;A String&quot;, # Worker-defined metric name.
1452 &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.
1453 },
1454 &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.
1455 &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.
1456 &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.
1457 },
1458 ],
1459}</pre>
1460</div>
1461
1462<div class="method">
1463 <code class="details" id="list">list(projectId, filter=None, location=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)</code>
1464 <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`.
1465
1466Args:
1467 projectId: string, The project which owns the jobs. (required)
1468 filter: string, The kind of filter to use.
1469 Allowed values
1470 UNKNOWN - The filter isn&#x27;t specified, or is unknown. This returns all jobs ordered on descending `JobUuid`.
1471 ALL - Returns all running jobs first ordered on creation timestamp, then returns all terminated jobs ordered on the termination timestamp.
1472 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.
1473 ACTIVE - Filters the jobs that are running ordered on the creation timestamp.
1474 location: string, The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
1475 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.
1476 pageToken: string, Set this to the &#x27;next_page_token&#x27; field of a previous response to request additional results in a long list.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001477 view: string, Deprecated. ListJobs always returns summaries now. Use GetJob for other JobViews.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001478 Allowed values
1479 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.
1480 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.
1481 JOB_VIEW_ALL - Request all information available for this job.
1482 JOB_VIEW_DESCRIPTION - Request summary info and limited job description data for steps, labels and environment.
1483 x__xgafv: string, V1 error format.
1484 Allowed values
1485 1 - v1 error format
1486 2 - v2 error format
1487
1488Returns:
1489 An object of the form:
1490
1491 { # 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 {}.
1492 &quot;failedLocation&quot;: [ # Zero or more messages describing the [regional endpoints] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that failed to respond.
1493 { # Indicates which [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) failed to respond to a request for data.
1494 &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.
1495 },
1496 ],
1497 &quot;jobs&quot;: [ # A subset of the requested job information.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001498 { # Defines a job to be run by the Cloud Dataflow service. nextID: 26
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001499 &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.
1500 &quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
1501 &quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
1502 &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.
1503 &quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
1504 &quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
1505 &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;.
1506 &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}
yoshi-code-bota8b35b92021-03-31 13:33:30 -07001507 &quot;debugOptions&quot;: { # Describes any options that have an effect on the debugging of pipelines. # Any debugging options to be supplied to the job.
1508 &quot;enableHotKeyLogging&quot;: True or False, # When true, enables the logging of the literal hot key to the user&#x27;s Cloud Logging.
1509 },
yoshi-code-bot4d1153d2021-06-07 00:50:01 -07001510 &quot;experiments&quot;: [ # The list of experiments to enable. This field should be used for SDK related experiments and not for service related experiments. The proper field for service related experiments is service_options.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001511 &quot;A String&quot;,
1512 ],
1513 &quot;flexResourceSchedulingGoal&quot;: &quot;A String&quot;, # Which Flexible Resource Scheduling mode to run in.
1514 &quot;internalExperiments&quot;: { # Experimental settings.
1515 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1516 },
1517 &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.
1518 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1519 },
1520 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Identity to run virtual machines as. Defaults to the default account.
1521 &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
yoshi-code-bot4d1153d2021-06-07 00:50:01 -07001522 &quot;serviceOptions&quot;: [ # The list of service options to enable. This field should be used for service related experiments only. These experiments, when graduating to GA, should be replaced by dedicated fields or become default (i.e. always on).
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001523 &quot;A String&quot;,
1524 ],
1525 &quot;shuffleMode&quot;: &quot;A String&quot;, # Output only. The shuffle mode used for the job.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001526 &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}
1527 &quot;userAgent&quot;: { # A description of the process that generated the request.
1528 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1529 },
1530 &quot;version&quot;: { # A structure describing which components and their versions of the service are required in order to run the job.
1531 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1532 },
1533 &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.
1534 { # 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.
1535 &quot;autoscalingSettings&quot;: { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
1536 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for autoscaling.
1537 &quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap scaling at.
1538 },
1539 &quot;dataDisks&quot;: [ # Data disks that are used by a VM in this workflow.
1540 { # Describes the data disk used by a workflow job.
1541 &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
1542 &quot;mountPoint&quot;: &quot;A String&quot;, # Directory in a VM where disk is mounted.
1543 &quot;sizeGb&quot;: 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
1544 },
1545 ],
1546 &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.
1547 &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.
1548 &quot;diskSourceImage&quot;: &quot;A String&quot;, # Fully qualified source image for disks.
1549 &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.
1550 &quot;ipConfiguration&quot;: &quot;A String&quot;, # Configuration for VM IPs.
1551 &quot;kind&quot;: &quot;A String&quot;, # The kind of the worker pool; currently only `harness` and `shuffle` are supported.
1552 &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.
1553 &quot;metadata&quot;: { # Metadata to set on the Google Compute Engine VMs.
1554 &quot;a_key&quot;: &quot;A String&quot;,
1555 },
1556 &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;.
1557 &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).
1558 &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.
1559 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # The action to take on host maintenance, as defined by the Google Compute Engine API.
1560 &quot;packages&quot;: [ # Packages to be installed on workers.
1561 { # 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.
1562 &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/
1563 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
1564 },
1565 ],
1566 &quot;poolArgs&quot;: { # Extra arguments for this worker pool.
1567 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1568 },
1569 &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.
1570 { # Defines a SDK harness container for executing Dataflow pipelines.
1571 &quot;containerImage&quot;: &quot;A String&quot;, # A docker container image that resides in Google Container Registry.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001572 &quot;environmentId&quot;: &quot;A String&quot;, # Environment ID for the Beam runner API proto Environment that corresponds to the current SDK Harness.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001573 &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.
1574 },
1575 ],
1576 &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;.
1577 &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.
1578 &quot;alsologtostderr&quot;: True or False, # Whether to also send taskrunner log info to stderr.
1579 &quot;baseTaskDir&quot;: &quot;A String&quot;, # The location on the worker for task-specific subdirectories.
1580 &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;
1581 &quot;commandlinesFileName&quot;: &quot;A String&quot;, # The file to store preprocessing commands in.
1582 &quot;continueOnException&quot;: True or False, # Whether to continue taskrunner if an exception is hit.
1583 &quot;dataflowApiVersion&quot;: &quot;A String&quot;, # The API version of endpoint, e.g. &quot;v1b3&quot;
1584 &quot;harnessCommand&quot;: &quot;A String&quot;, # The command to launch the worker harness.
1585 &quot;languageHint&quot;: &quot;A String&quot;, # The suggested backend language.
1586 &quot;logDir&quot;: &quot;A String&quot;, # The directory on the VM to store logs.
1587 &quot;logToSerialconsole&quot;: True or False, # Whether to send taskrunner log info to Google Compute Engine VM serial console.
1588 &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}
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;parallelWorkerSettings&quot;: { # Provides data to pass through to the worker harness. # The settings to pass to the parallel worker harness.
1593 &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;
1594 &quot;reportingEnabled&quot;: True or False, # Whether to send work progress updates to the service.
1595 &quot;servicePath&quot;: &quot;A String&quot;, # The Cloud Dataflow service path relative to the root URL, for example, &quot;dataflow/v1b3/projects&quot;.
1596 &quot;shuffleServicePath&quot;: &quot;A String&quot;, # The Shuffle service path relative to the root URL, for example, &quot;shuffle/v1beta1&quot;.
1597 &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}
1598 &quot;workerId&quot;: &quot;A String&quot;, # The ID of the worker running this pipeline.
1599 },
1600 &quot;streamingWorkerMainClass&quot;: &quot;A String&quot;, # The streaming worker main class name.
1601 &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;.
1602 &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;.
1603 &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}
1604 &quot;vmId&quot;: &quot;A String&quot;, # The ID string of the VM.
1605 &quot;workflowFileName&quot;: &quot;A String&quot;, # The file to store the workflow in.
1606 },
1607 &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.
1608 &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.
1609 &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.
1610 },
1611 ],
1612 &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.
1613 &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.
1614 },
1615 &quot;executionInfo&quot;: { # Additional information about how a Cloud Dataflow job will be executed that isn&#x27;t contained in the submitted job. # Deprecated.
1616 &quot;stages&quot;: { # A mapping from each stage to the information about that stage.
1617 &quot;a_key&quot;: { # Contains information about how a particular google.dataflow.v1beta3.Step will be executed.
1618 &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.
1619 &quot;A String&quot;,
1620 ],
1621 },
1622 },
1623 },
1624 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001625 &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.
Anthonios Partheniou10f4b672021-04-13 14:47:53 -04001626 &quot;bigTableDetails&quot;: [ # Identification of a Cloud BigTable source used in the Dataflow job.
1627 { # Metadata for a Cloud BigTable connector used by the job.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001628 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
1629 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
1630 &quot;tableId&quot;: &quot;A String&quot;, # TableId accessed in the connection.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001631 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001632 ],
1633 &quot;bigqueryDetails&quot;: [ # Identification of a BigQuery source used in the Dataflow job.
1634 { # Metadata for a BigQuery connector used by the job.
1635 &quot;dataset&quot;: &quot;A String&quot;, # Dataset accessed in the connection.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001636 &quot;projectId&quot;: &quot;A String&quot;, # Project accessed in the connection.
1637 &quot;query&quot;: &quot;A String&quot;, # Query used to access data in the connection.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001638 &quot;table&quot;: &quot;A String&quot;, # Table accessed in the connection.
1639 },
1640 ],
1641 &quot;datastoreDetails&quot;: [ # Identification of a Datastore source used in the Dataflow job.
1642 { # Metadata for a Datastore connector used by the job.
1643 &quot;namespace&quot;: &quot;A String&quot;, # Namespace used in the connection.
1644 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001645 },
1646 ],
1647 &quot;fileDetails&quot;: [ # Identification of a File source used in the Dataflow job.
1648 { # Metadata for a File connector used by the job.
1649 &quot;filePattern&quot;: &quot;A String&quot;, # File Pattern used to access files by the connector.
1650 },
1651 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001652 &quot;pubsubDetails&quot;: [ # Identification of a PubSub source used in the Dataflow job.
Anthonios Partheniou10f4b672021-04-13 14:47:53 -04001653 { # Metadata for a Pub/Sub connector used by the job.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001654 &quot;subscription&quot;: &quot;A String&quot;, # Subscription used in the connection.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001655 &quot;topic&quot;: &quot;A String&quot;, # Topic accessed in the connection.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001656 },
1657 ],
1658 &quot;sdkVersion&quot;: { # The version of the SDK used to run the job. # The SDK version used to run the job.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001659 &quot;sdkSupportStatus&quot;: &quot;A String&quot;, # The support status for this SDK version.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001660 &quot;version&quot;: &quot;A String&quot;, # The version of the SDK used to run the job.
1661 &quot;versionDisplayName&quot;: &quot;A String&quot;, # A readable string describing the version of the SDK.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001662 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001663 &quot;spannerDetails&quot;: [ # Identification of a Spanner source used in the Dataflow job.
1664 { # Metadata for a Spanner connector used by the job.
1665 &quot;databaseId&quot;: &quot;A String&quot;, # DatabaseId accessed in the connection.
1666 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001667 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
1668 },
1669 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001670 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001671 &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.
1672 &quot;a_key&quot;: &quot;A String&quot;,
1673 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001674 &quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
1675 &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])?`
1676 &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.
1677 &quot;displayData&quot;: [ # Pipeline level display data.
1678 { # Data provided with a pipeline or transform to provide descriptive info.
1679 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
1680 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
1681 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
1682 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
1683 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
1684 &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.
1685 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
1686 &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.
1687 &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.
1688 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
1689 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
1690 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
1691 },
1692 ],
1693 &quot;executionPipelineStage&quot;: [ # Description of each stage of execution of the pipeline.
1694 { # 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.
1695 &quot;componentSource&quot;: [ # Collections produced and consumed by component transforms of this stage.
1696 { # Description of an interstitial value between transforms in an execution stage.
1697 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1698 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1699 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
1700 },
1701 ],
1702 &quot;componentTransform&quot;: [ # Transforms that comprise this execution stage.
1703 { # Description of a transform executed as part of an execution stage.
1704 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1705 &quot;originalTransform&quot;: &quot;A String&quot;, # User name for the original user transform with which this transform is most closely associated.
1706 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
1707 },
1708 ],
1709 &quot;id&quot;: &quot;A String&quot;, # Dataflow service generated id for this stage.
1710 &quot;inputSource&quot;: [ # Input sources for this stage.
1711 { # Description of an input or output of an execution stage.
1712 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1713 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1714 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
1715 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
1716 },
1717 ],
Anthonios Partheniou10f4b672021-04-13 14:47:53 -04001718 &quot;kind&quot;: &quot;A String&quot;, # Type of transform this stage is executing.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001719 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this stage.
1720 &quot;outputSource&quot;: [ # Output sources for this stage.
1721 { # Description of an input or output of an execution stage.
1722 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1723 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1724 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
1725 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
1726 },
1727 ],
1728 &quot;prerequisiteStage&quot;: [ # Other stages that must complete before this stage can run.
1729 &quot;A String&quot;,
1730 ],
1731 },
1732 ],
1733 &quot;originalPipelineTransform&quot;: [ # Description of each transform in the pipeline and collections between them.
1734 { # Description of the type, names/ids, and input/outputs for a transform.
1735 &quot;displayData&quot;: [ # Transform-specific display data.
1736 { # Data provided with a pipeline or transform to provide descriptive info.
1737 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
1738 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
1739 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
1740 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
1741 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
1742 &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.
1743 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
1744 &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.
1745 &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.
1746 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
1747 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
1748 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
1749 },
1750 ],
1751 &quot;id&quot;: &quot;A String&quot;, # SDK generated id of this transform instance.
1752 &quot;inputCollectionName&quot;: [ # User names for all collection inputs to this transform.
1753 &quot;A String&quot;,
1754 ],
1755 &quot;kind&quot;: &quot;A String&quot;, # Type of transform.
1756 &quot;name&quot;: &quot;A String&quot;, # User provided name for this transform instance.
1757 &quot;outputCollectionName&quot;: [ # User names for all collection outputs to this transform.
1758 &quot;A String&quot;,
1759 ],
1760 },
1761 ],
1762 },
1763 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001764 &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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001765 &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.
1766 &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.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001767 &quot;satisfiesPzs&quot;: True or False, # Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001768 &quot;stageStates&quot;: [ # This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
1769 { # A message describing the state of a particular execution stage.
1770 &quot;currentStateTime&quot;: &quot;A String&quot;, # The time at which the stage transitioned to this state.
1771 &quot;executionStageName&quot;: &quot;A String&quot;, # The name of the execution stage.
1772 &quot;executionStageState&quot;: &quot;A String&quot;, # Executions stage states allow the same set of values as JobState.
1773 },
1774 ],
1775 &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.
1776 &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.
1777 { # 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.
1778 &quot;kind&quot;: &quot;A String&quot;, # The kind of step in the Cloud Dataflow job.
1779 &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.
1780 &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.
1781 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1782 },
1783 },
1784 ],
Anthonios Partheniou10f4b672021-04-13 14:47:53 -04001785 &quot;stepsLocation&quot;: &quot;A String&quot;, # The Cloud Storage location where the steps are stored.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001786 &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}
1787 &quot;A String&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001788 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001789 &quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
1790 &quot;a_key&quot;: &quot;A String&quot;,
1791 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001792 &quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001793 },
1794 ],
1795 &quot;nextPageToken&quot;: &quot;A String&quot;, # Set if there may be more results than fit in this response.
1796}</pre>
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001797</div>
1798
1799<div class="method">
1800 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
1801 <pre>Retrieves the next page of results.
1802
1803Args:
1804 previous_request: The request for the previous page. (required)
1805 previous_response: The response from the request for the previous page. (required)
1806
1807Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -07001808 A request object that you can call &#x27;execute()&#x27; on to request the next
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001809 page. Returns None if there are no more items in the collection.
1810 </pre>
1811</div>
1812
1813<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07001814 <code class="details" id="snapshot">snapshot(projectId, jobId, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001815 <pre>Snapshot the state of a streaming job.
1816
1817Args:
1818 projectId: string, The project which owns the job to be snapshotted. (required)
1819 jobId: string, The job to be snapshotted. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07001820 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001821 The object takes the form of:
1822
1823{ # Request to create a snapshot of a job.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001824 &quot;description&quot;: &quot;A String&quot;, # User specified description of the snapshot. Maybe empty.
1825 &quot;location&quot;: &quot;A String&quot;, # The location that contains this job.
1826 &quot;snapshotSources&quot;: True or False, # If true, perform snapshots for sources which support this.
1827 &quot;ttl&quot;: &quot;A String&quot;, # TTL for the snapshot.
1828}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001829
1830 x__xgafv: string, V1 error format.
1831 Allowed values
1832 1 - v1 error format
1833 2 - v2 error format
1834
1835Returns:
1836 An object of the form:
1837
1838 { # Represents a snapshot of a job.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001839 &quot;creationTime&quot;: &quot;A String&quot;, # The time this snapshot was created.
1840 &quot;description&quot;: &quot;A String&quot;, # User specified description of the snapshot. Maybe empty.
1841 &quot;diskSizeBytes&quot;: &quot;A String&quot;, # The disk byte size of the snapshot. Only available for snapshots in READY state.
1842 &quot;id&quot;: &quot;A String&quot;, # The unique ID of this snapshot.
1843 &quot;projectId&quot;: &quot;A String&quot;, # The project this snapshot belongs to.
1844 &quot;pubsubMetadata&quot;: [ # PubSub snapshot metadata.
1845 { # Represents a Pubsub snapshot.
1846 &quot;expireTime&quot;: &quot;A String&quot;, # The expire time of the Pubsub snapshot.
1847 &quot;snapshotName&quot;: &quot;A String&quot;, # The name of the Pubsub snapshot.
1848 &quot;topicName&quot;: &quot;A String&quot;, # The name of the Pubsub topic.
1849 },
1850 ],
yoshi-code-bot3fd11cb2021-04-28 05:44:03 -07001851 &quot;region&quot;: &quot;A String&quot;, # Cloud region where this snapshot lives in, e.g., &quot;us-central1&quot;.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001852 &quot;sourceJobId&quot;: &quot;A String&quot;, # The job this snapshot was created from.
1853 &quot;state&quot;: &quot;A String&quot;, # State of the snapshot.
1854 &quot;ttl&quot;: &quot;A String&quot;, # The time after which this snapshot will be automatically deleted.
1855}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001856</div>
1857
1858<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07001859 <code class="details" id="update">update(projectId, jobId, body=None, location=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001860 <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 -07001861
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001862Args:
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001863 projectId: string, The ID of the Cloud Platform project that the job belongs to. (required)
1864 jobId: string, The job ID. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07001865 body: object, The request body.
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001866 The object takes the form of:
1867
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001868{ # Defines a job to be run by the Cloud Dataflow service. nextID: 26
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001869 &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.
1870 &quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
1871 &quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
1872 &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.
1873 &quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
1874 &quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
1875 &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;.
1876 &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}
yoshi-code-bota8b35b92021-03-31 13:33:30 -07001877 &quot;debugOptions&quot;: { # Describes any options that have an effect on the debugging of pipelines. # Any debugging options to be supplied to the job.
1878 &quot;enableHotKeyLogging&quot;: True or False, # When true, enables the logging of the literal hot key to the user&#x27;s Cloud Logging.
1879 },
yoshi-code-bot4d1153d2021-06-07 00:50:01 -07001880 &quot;experiments&quot;: [ # The list of experiments to enable. This field should be used for SDK related experiments and not for service related experiments. The proper field for service related experiments is service_options.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001881 &quot;A String&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001882 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001883 &quot;flexResourceSchedulingGoal&quot;: &quot;A String&quot;, # Which Flexible Resource Scheduling mode to run in.
1884 &quot;internalExperiments&quot;: { # Experimental settings.
1885 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1886 },
1887 &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.
1888 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1889 },
1890 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Identity to run virtual machines as. Defaults to the default account.
1891 &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
yoshi-code-bot4d1153d2021-06-07 00:50:01 -07001892 &quot;serviceOptions&quot;: [ # The list of service options to enable. This field should be used for service related experiments only. These experiments, when graduating to GA, should be replaced by dedicated fields or become default (i.e. always on).
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001893 &quot;A String&quot;,
1894 ],
1895 &quot;shuffleMode&quot;: &quot;A String&quot;, # Output only. The shuffle mode used for the job.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001896 &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}
1897 &quot;userAgent&quot;: { # A description of the process that generated the request.
1898 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1899 },
1900 &quot;version&quot;: { # A structure describing which components and their versions of the service are required in order to run the job.
1901 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1902 },
1903 &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.
1904 { # 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.
1905 &quot;autoscalingSettings&quot;: { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
1906 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for autoscaling.
1907 &quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap scaling at.
1908 },
1909 &quot;dataDisks&quot;: [ # Data disks that are used by a VM in this workflow.
1910 { # Describes the data disk used by a workflow job.
1911 &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
1912 &quot;mountPoint&quot;: &quot;A String&quot;, # Directory in a VM where disk is mounted.
1913 &quot;sizeGb&quot;: 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
1914 },
1915 ],
1916 &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.
1917 &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.
1918 &quot;diskSourceImage&quot;: &quot;A String&quot;, # Fully qualified source image for disks.
1919 &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.
1920 &quot;ipConfiguration&quot;: &quot;A String&quot;, # Configuration for VM IPs.
1921 &quot;kind&quot;: &quot;A String&quot;, # The kind of the worker pool; currently only `harness` and `shuffle` are supported.
1922 &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.
1923 &quot;metadata&quot;: { # Metadata to set on the Google Compute Engine VMs.
1924 &quot;a_key&quot;: &quot;A String&quot;,
1925 },
1926 &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;.
1927 &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).
1928 &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.
1929 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # The action to take on host maintenance, as defined by the Google Compute Engine API.
1930 &quot;packages&quot;: [ # Packages to be installed on workers.
1931 { # 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.
1932 &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/
1933 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
1934 },
1935 ],
1936 &quot;poolArgs&quot;: { # Extra arguments for this worker pool.
1937 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1938 },
1939 &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.
1940 { # Defines a SDK harness container for executing Dataflow pipelines.
1941 &quot;containerImage&quot;: &quot;A String&quot;, # A docker container image that resides in Google Container Registry.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001942 &quot;environmentId&quot;: &quot;A String&quot;, # Environment ID for the Beam runner API proto Environment that corresponds to the current SDK Harness.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001943 &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.
1944 },
1945 ],
1946 &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;.
1947 &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.
1948 &quot;alsologtostderr&quot;: True or False, # Whether to also send taskrunner log info to stderr.
1949 &quot;baseTaskDir&quot;: &quot;A String&quot;, # The location on the worker for task-specific subdirectories.
1950 &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;
1951 &quot;commandlinesFileName&quot;: &quot;A String&quot;, # The file to store preprocessing commands in.
1952 &quot;continueOnException&quot;: True or False, # Whether to continue taskrunner if an exception is hit.
1953 &quot;dataflowApiVersion&quot;: &quot;A String&quot;, # The API version of endpoint, e.g. &quot;v1b3&quot;
1954 &quot;harnessCommand&quot;: &quot;A String&quot;, # The command to launch the worker harness.
1955 &quot;languageHint&quot;: &quot;A String&quot;, # The suggested backend language.
1956 &quot;logDir&quot;: &quot;A String&quot;, # The directory on the VM to store logs.
1957 &quot;logToSerialconsole&quot;: True or False, # Whether to send taskrunner log info to Google Compute Engine VM serial console.
1958 &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}
1959 &quot;oauthScopes&quot;: [ # The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001960 &quot;A String&quot;,
1961 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001962 &quot;parallelWorkerSettings&quot;: { # Provides data to pass through to the worker harness. # The settings to pass to the parallel worker harness.
1963 &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;
1964 &quot;reportingEnabled&quot;: True or False, # Whether to send work progress updates to the service.
1965 &quot;servicePath&quot;: &quot;A String&quot;, # The Cloud Dataflow service path relative to the root URL, for example, &quot;dataflow/v1b3/projects&quot;.
1966 &quot;shuffleServicePath&quot;: &quot;A String&quot;, # The Shuffle service path relative to the root URL, for example, &quot;shuffle/v1beta1&quot;.
1967 &quot;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 &quot;workerId&quot;: &quot;A String&quot;, # The ID of the worker running this pipeline.
1969 },
1970 &quot;streamingWorkerMainClass&quot;: &quot;A String&quot;, # The streaming worker main class name.
1971 &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;.
1972 &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;.
1973 &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}
1974 &quot;vmId&quot;: &quot;A String&quot;, # The ID string of the VM.
1975 &quot;workflowFileName&quot;: &quot;A String&quot;, # The file to store the workflow in.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001976 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001977 &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.
1978 &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.
1979 &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.
1980 },
1981 ],
1982 &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.
1983 &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.
1984 },
1985 &quot;executionInfo&quot;: { # Additional information about how a Cloud Dataflow job will be executed that isn&#x27;t contained in the submitted job. # Deprecated.
1986 &quot;stages&quot;: { # A mapping from each stage to the information about that stage.
1987 &quot;a_key&quot;: { # Contains information about how a particular google.dataflow.v1beta3.Step will be executed.
1988 &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.
1989 &quot;A String&quot;,
1990 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001991 },
1992 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001993 },
1994 &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.
1995 &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.
Anthonios Partheniou10f4b672021-04-13 14:47:53 -04001996 &quot;bigTableDetails&quot;: [ # Identification of a Cloud BigTable source used in the Dataflow job.
1997 { # Metadata for a Cloud BigTable connector used by the job.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001998 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
1999 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
2000 &quot;tableId&quot;: &quot;A String&quot;, # TableId accessed in the connection.
2001 },
2002 ],
2003 &quot;bigqueryDetails&quot;: [ # Identification of a BigQuery source used in the Dataflow job.
2004 { # Metadata for a BigQuery connector used by the job.
2005 &quot;dataset&quot;: &quot;A String&quot;, # Dataset accessed in the connection.
2006 &quot;projectId&quot;: &quot;A String&quot;, # Project accessed in the connection.
2007 &quot;query&quot;: &quot;A String&quot;, # Query used to access data in the connection.
2008 &quot;table&quot;: &quot;A String&quot;, # Table accessed in the connection.
2009 },
2010 ],
2011 &quot;datastoreDetails&quot;: [ # Identification of a Datastore source used in the Dataflow job.
2012 { # Metadata for a Datastore connector used by the job.
2013 &quot;namespace&quot;: &quot;A String&quot;, # Namespace used in the connection.
2014 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
2015 },
2016 ],
2017 &quot;fileDetails&quot;: [ # Identification of a File source used in the Dataflow job.
2018 { # Metadata for a File connector used by the job.
2019 &quot;filePattern&quot;: &quot;A String&quot;, # File Pattern used to access files by the connector.
2020 },
2021 ],
2022 &quot;pubsubDetails&quot;: [ # Identification of a PubSub source used in the Dataflow job.
Anthonios Partheniou10f4b672021-04-13 14:47:53 -04002023 { # Metadata for a Pub/Sub connector used by the job.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002024 &quot;subscription&quot;: &quot;A String&quot;, # Subscription used in the connection.
2025 &quot;topic&quot;: &quot;A String&quot;, # Topic accessed in the connection.
2026 },
2027 ],
2028 &quot;sdkVersion&quot;: { # The version of the SDK used to run the job. # The SDK version used to run the job.
2029 &quot;sdkSupportStatus&quot;: &quot;A String&quot;, # The support status for this SDK version.
2030 &quot;version&quot;: &quot;A String&quot;, # The version of the SDK used to run the job.
2031 &quot;versionDisplayName&quot;: &quot;A String&quot;, # A readable string describing the version of the SDK.
2032 },
2033 &quot;spannerDetails&quot;: [ # Identification of a Spanner source used in the Dataflow job.
2034 { # Metadata for a Spanner connector used by the job.
2035 &quot;databaseId&quot;: &quot;A String&quot;, # DatabaseId accessed in the connection.
2036 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
2037 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
2038 },
2039 ],
2040 },
2041 &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.
2042 &quot;a_key&quot;: &quot;A String&quot;,
2043 },
2044 &quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
2045 &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])?`
2046 &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.
2047 &quot;displayData&quot;: [ # Pipeline level display data.
2048 { # Data provided with a pipeline or transform to provide descriptive info.
2049 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
2050 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
2051 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
2052 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
2053 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
2054 &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.
2055 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
2056 &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.
2057 &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.
2058 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
2059 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
2060 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
2061 },
2062 ],
2063 &quot;executionPipelineStage&quot;: [ # Description of each stage of execution of the pipeline.
2064 { # 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.
2065 &quot;componentSource&quot;: [ # Collections produced and consumed by component transforms of this stage.
2066 { # Description of an interstitial value between transforms in an execution stage.
2067 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
2068 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
2069 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
2070 },
2071 ],
2072 &quot;componentTransform&quot;: [ # Transforms that comprise this execution stage.
2073 { # Description of a transform executed as part of an execution stage.
2074 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
2075 &quot;originalTransform&quot;: &quot;A String&quot;, # User name for the original user transform with which this transform is most closely associated.
2076 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
2077 },
2078 ],
2079 &quot;id&quot;: &quot;A String&quot;, # Dataflow service generated id for this stage.
2080 &quot;inputSource&quot;: [ # Input sources for this stage.
2081 { # Description of an input or output of an execution stage.
2082 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
2083 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
2084 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
2085 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
2086 },
2087 ],
Anthonios Partheniou10f4b672021-04-13 14:47:53 -04002088 &quot;kind&quot;: &quot;A String&quot;, # Type of transform this stage is executing.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002089 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this stage.
2090 &quot;outputSource&quot;: [ # Output sources for this stage.
2091 { # Description of an input or output of an execution stage.
2092 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
2093 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
2094 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
2095 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
2096 },
2097 ],
2098 &quot;prerequisiteStage&quot;: [ # Other stages that must complete before this stage can run.
2099 &quot;A String&quot;,
2100 ],
2101 },
2102 ],
2103 &quot;originalPipelineTransform&quot;: [ # Description of each transform in the pipeline and collections between them.
2104 { # Description of the type, names/ids, and input/outputs for a transform.
2105 &quot;displayData&quot;: [ # Transform-specific display data.
2106 { # Data provided with a pipeline or transform to provide descriptive info.
2107 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
2108 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
2109 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
2110 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
2111 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
2112 &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.
2113 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
2114 &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.
2115 &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.
2116 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
2117 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
2118 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
2119 },
2120 ],
2121 &quot;id&quot;: &quot;A String&quot;, # SDK generated id of this transform instance.
2122 &quot;inputCollectionName&quot;: [ # User names for all collection inputs to this transform.
2123 &quot;A String&quot;,
2124 ],
2125 &quot;kind&quot;: &quot;A String&quot;, # Type of transform.
2126 &quot;name&quot;: &quot;A String&quot;, # User provided name for this transform instance.
2127 &quot;outputCollectionName&quot;: [ # User names for all collection outputs to this transform.
2128 &quot;A String&quot;,
2129 ],
2130 },
2131 ],
2132 },
2133 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
2134 &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.
2135 &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.
2136 &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.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08002137 &quot;satisfiesPzs&quot;: True or False, # Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002138 &quot;stageStates&quot;: [ # This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
2139 { # A message describing the state of a particular execution stage.
2140 &quot;currentStateTime&quot;: &quot;A String&quot;, # The time at which the stage transitioned to this state.
2141 &quot;executionStageName&quot;: &quot;A String&quot;, # The name of the execution stage.
2142 &quot;executionStageState&quot;: &quot;A String&quot;, # Executions stage states allow the same set of values as JobState.
2143 },
2144 ],
2145 &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.
2146 &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.
2147 { # 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.
2148 &quot;kind&quot;: &quot;A String&quot;, # The kind of step in the Cloud Dataflow job.
2149 &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.
2150 &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.
2151 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2152 },
2153 },
2154 ],
Anthonios Partheniou10f4b672021-04-13 14:47:53 -04002155 &quot;stepsLocation&quot;: &quot;A String&quot;, # The Cloud Storage location where the steps are stored.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002156 &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}
2157 &quot;A String&quot;,
2158 ],
2159 &quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
2160 &quot;a_key&quot;: &quot;A String&quot;,
2161 },
2162 &quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
2163}
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002164
2165 location: string, The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
2166 x__xgafv: string, V1 error format.
2167 Allowed values
2168 1 - v1 error format
2169 2 - v2 error format
2170
2171Returns:
2172 An object of the form:
2173
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08002174 { # Defines a job to be run by the Cloud Dataflow service. nextID: 26
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002175 &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.
2176 &quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
2177 &quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
2178 &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.
2179 &quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
2180 &quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
2181 &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;.
2182 &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}
yoshi-code-bota8b35b92021-03-31 13:33:30 -07002183 &quot;debugOptions&quot;: { # Describes any options that have an effect on the debugging of pipelines. # Any debugging options to be supplied to the job.
2184 &quot;enableHotKeyLogging&quot;: True or False, # When true, enables the logging of the literal hot key to the user&#x27;s Cloud Logging.
2185 },
yoshi-code-bot4d1153d2021-06-07 00:50:01 -07002186 &quot;experiments&quot;: [ # The list of experiments to enable. This field should be used for SDK related experiments and not for service related experiments. The proper field for service related experiments is service_options.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002187 &quot;A String&quot;,
2188 ],
2189 &quot;flexResourceSchedulingGoal&quot;: &quot;A String&quot;, # Which Flexible Resource Scheduling mode to run in.
2190 &quot;internalExperiments&quot;: { # Experimental settings.
2191 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2192 },
2193 &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.
2194 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2195 },
2196 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Identity to run virtual machines as. Defaults to the default account.
2197 &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
yoshi-code-bot4d1153d2021-06-07 00:50:01 -07002198 &quot;serviceOptions&quot;: [ # The list of service options to enable. This field should be used for service related experiments only. These experiments, when graduating to GA, should be replaced by dedicated fields or become default (i.e. always on).
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08002199 &quot;A String&quot;,
2200 ],
2201 &quot;shuffleMode&quot;: &quot;A String&quot;, # Output only. The shuffle mode used for the job.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002202 &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}
2203 &quot;userAgent&quot;: { # A description of the process that generated the request.
2204 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2205 },
2206 &quot;version&quot;: { # A structure describing which components and their versions of the service are required in order to run the job.
2207 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2208 },
2209 &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.
2210 { # 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.
2211 &quot;autoscalingSettings&quot;: { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
2212 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for autoscaling.
2213 &quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap scaling at.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002214 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002215 &quot;dataDisks&quot;: [ # Data disks that are used by a VM in this workflow.
2216 { # Describes the data disk used by a workflow job.
2217 &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
2218 &quot;mountPoint&quot;: &quot;A String&quot;, # Directory in a VM where disk is mounted.
2219 &quot;sizeGb&quot;: 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002220 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002221 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002222 &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.
2223 &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.
2224 &quot;diskSourceImage&quot;: &quot;A String&quot;, # Fully qualified source image for disks.
2225 &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.
2226 &quot;ipConfiguration&quot;: &quot;A String&quot;, # Configuration for VM IPs.
2227 &quot;kind&quot;: &quot;A String&quot;, # The kind of the worker pool; currently only `harness` and `shuffle` are supported.
2228 &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.
2229 &quot;metadata&quot;: { # Metadata to set on the Google Compute Engine VMs.
2230 &quot;a_key&quot;: &quot;A String&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002231 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002232 &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;.
2233 &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).
2234 &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.
2235 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # The action to take on host maintenance, as defined by the Google Compute Engine API.
2236 &quot;packages&quot;: [ # Packages to be installed on workers.
2237 { # 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.
2238 &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/
2239 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002240 },
2241 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002242 &quot;poolArgs&quot;: { # Extra arguments for this worker pool.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002243 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2244 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002245 &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.
2246 { # Defines a SDK harness container for executing Dataflow pipelines.
2247 &quot;containerImage&quot;: &quot;A String&quot;, # A docker container image that resides in Google Container Registry.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08002248 &quot;environmentId&quot;: &quot;A String&quot;, # Environment ID for the Beam runner API proto Environment that corresponds to the current SDK Harness.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002249 &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.
2250 },
2251 ],
2252 &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;.
2253 &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.
2254 &quot;alsologtostderr&quot;: True or False, # Whether to also send taskrunner log info to stderr.
2255 &quot;baseTaskDir&quot;: &quot;A String&quot;, # The location on the worker for task-specific subdirectories.
2256 &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;
2257 &quot;commandlinesFileName&quot;: &quot;A String&quot;, # The file to store preprocessing commands in.
2258 &quot;continueOnException&quot;: True or False, # Whether to continue taskrunner if an exception is hit.
2259 &quot;dataflowApiVersion&quot;: &quot;A String&quot;, # The API version of endpoint, e.g. &quot;v1b3&quot;
2260 &quot;harnessCommand&quot;: &quot;A String&quot;, # The command to launch the worker harness.
2261 &quot;languageHint&quot;: &quot;A String&quot;, # The suggested backend language.
2262 &quot;logDir&quot;: &quot;A String&quot;, # The directory on the VM to store logs.
2263 &quot;logToSerialconsole&quot;: True or False, # Whether to send taskrunner log info to Google Compute Engine VM serial console.
2264 &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}
2265 &quot;oauthScopes&quot;: [ # The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
2266 &quot;A String&quot;,
2267 ],
2268 &quot;parallelWorkerSettings&quot;: { # Provides data to pass through to the worker harness. # The settings to pass to the parallel worker harness.
2269 &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;
2270 &quot;reportingEnabled&quot;: True or False, # Whether to send work progress updates to the service.
2271 &quot;servicePath&quot;: &quot;A String&quot;, # The Cloud Dataflow service path relative to the root URL, for example, &quot;dataflow/v1b3/projects&quot;.
2272 &quot;shuffleServicePath&quot;: &quot;A String&quot;, # The Shuffle service path relative to the root URL, for example, &quot;shuffle/v1beta1&quot;.
2273 &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}
2274 &quot;workerId&quot;: &quot;A String&quot;, # The ID of the worker running this pipeline.
2275 },
2276 &quot;streamingWorkerMainClass&quot;: &quot;A String&quot;, # The streaming worker main class name.
2277 &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;.
2278 &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;.
2279 &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}
2280 &quot;vmId&quot;: &quot;A String&quot;, # The ID string of the VM.
2281 &quot;workflowFileName&quot;: &quot;A String&quot;, # The file to store the workflow in.
2282 },
2283 &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.
2284 &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.
2285 &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.
2286 },
2287 ],
2288 &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.
2289 &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.
2290 },
2291 &quot;executionInfo&quot;: { # Additional information about how a Cloud Dataflow job will be executed that isn&#x27;t contained in the submitted job. # Deprecated.
2292 &quot;stages&quot;: { # A mapping from each stage to the information about that stage.
2293 &quot;a_key&quot;: { # Contains information about how a particular google.dataflow.v1beta3.Step will be executed.
2294 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002295 &quot;A String&quot;,
2296 ],
2297 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002298 },
2299 },
2300 &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.
2301 &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.
Anthonios Partheniou10f4b672021-04-13 14:47:53 -04002302 &quot;bigTableDetails&quot;: [ # Identification of a Cloud BigTable source used in the Dataflow job.
2303 { # Metadata for a Cloud BigTable connector used by the job.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002304 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
2305 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
2306 &quot;tableId&quot;: &quot;A String&quot;, # TableId accessed in the connection.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002307 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002308 ],
2309 &quot;bigqueryDetails&quot;: [ # Identification of a BigQuery source used in the Dataflow job.
2310 { # Metadata for a BigQuery connector used by the job.
2311 &quot;dataset&quot;: &quot;A String&quot;, # Dataset accessed in the connection.
2312 &quot;projectId&quot;: &quot;A String&quot;, # Project accessed in the connection.
2313 &quot;query&quot;: &quot;A String&quot;, # Query used to access data in the connection.
2314 &quot;table&quot;: &quot;A String&quot;, # Table accessed in the connection.
2315 },
2316 ],
2317 &quot;datastoreDetails&quot;: [ # Identification of a Datastore source used in the Dataflow job.
2318 { # Metadata for a Datastore connector used by the job.
2319 &quot;namespace&quot;: &quot;A String&quot;, # Namespace used in the connection.
2320 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
2321 },
2322 ],
2323 &quot;fileDetails&quot;: [ # Identification of a File source used in the Dataflow job.
2324 { # Metadata for a File connector used by the job.
2325 &quot;filePattern&quot;: &quot;A String&quot;, # File Pattern used to access files by the connector.
2326 },
2327 ],
2328 &quot;pubsubDetails&quot;: [ # Identification of a PubSub source used in the Dataflow job.
Anthonios Partheniou10f4b672021-04-13 14:47:53 -04002329 { # Metadata for a Pub/Sub connector used by the job.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002330 &quot;subscription&quot;: &quot;A String&quot;, # Subscription used in the connection.
2331 &quot;topic&quot;: &quot;A String&quot;, # Topic accessed in the connection.
2332 },
2333 ],
2334 &quot;sdkVersion&quot;: { # The version of the SDK used to run the job. # The SDK version used to run the job.
2335 &quot;sdkSupportStatus&quot;: &quot;A String&quot;, # The support status for this SDK version.
2336 &quot;version&quot;: &quot;A String&quot;, # The version of the SDK used to run the job.
2337 &quot;versionDisplayName&quot;: &quot;A String&quot;, # A readable string describing the version of the SDK.
2338 },
2339 &quot;spannerDetails&quot;: [ # Identification of a Spanner source used in the Dataflow job.
2340 { # Metadata for a Spanner connector used by the job.
2341 &quot;databaseId&quot;: &quot;A String&quot;, # DatabaseId accessed in the connection.
2342 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
2343 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
2344 },
2345 ],
2346 },
2347 &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.
2348 &quot;a_key&quot;: &quot;A String&quot;,
2349 },
2350 &quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
2351 &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])?`
2352 &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.
2353 &quot;displayData&quot;: [ # Pipeline level display data.
2354 { # Data provided with a pipeline or transform to provide descriptive info.
2355 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
2356 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
2357 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
2358 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
2359 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
2360 &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.
2361 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
2362 &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.
2363 &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.
2364 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
2365 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
2366 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
2367 },
2368 ],
2369 &quot;executionPipelineStage&quot;: [ # Description of each stage of execution of the pipeline.
2370 { # 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.
2371 &quot;componentSource&quot;: [ # Collections produced and consumed by component transforms of this stage.
2372 { # Description of an interstitial value between transforms in an execution stage.
2373 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
2374 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
2375 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002376 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002377 ],
2378 &quot;componentTransform&quot;: [ # Transforms that comprise this execution stage.
2379 { # Description of a transform executed as part of an execution stage.
2380 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
2381 &quot;originalTransform&quot;: &quot;A String&quot;, # User name for the original user transform with which this transform is most closely associated.
2382 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
2383 },
2384 ],
2385 &quot;id&quot;: &quot;A String&quot;, # Dataflow service generated id for this stage.
2386 &quot;inputSource&quot;: [ # Input sources for this stage.
2387 { # Description of an input or output of an execution stage.
2388 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
2389 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
2390 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
2391 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
2392 },
2393 ],
Anthonios Partheniou10f4b672021-04-13 14:47:53 -04002394 &quot;kind&quot;: &quot;A String&quot;, # Type of transform this stage is executing.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002395 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this stage.
2396 &quot;outputSource&quot;: [ # Output sources for this stage.
2397 { # Description of an input or output of an execution stage.
2398 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
2399 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
2400 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
2401 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
2402 },
2403 ],
2404 &quot;prerequisiteStage&quot;: [ # Other stages that must complete before this stage can run.
2405 &quot;A String&quot;,
2406 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002407 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002408 ],
2409 &quot;originalPipelineTransform&quot;: [ # Description of each transform in the pipeline and collections between them.
2410 { # Description of the type, names/ids, and input/outputs for a transform.
2411 &quot;displayData&quot;: [ # Transform-specific display data.
2412 { # Data provided with a pipeline or transform to provide descriptive info.
2413 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
2414 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
2415 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
2416 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
2417 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
2418 &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.
2419 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
2420 &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.
2421 &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.
2422 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
2423 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
2424 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
2425 },
2426 ],
2427 &quot;id&quot;: &quot;A String&quot;, # SDK generated id of this transform instance.
2428 &quot;inputCollectionName&quot;: [ # User names for all collection inputs to this transform.
2429 &quot;A String&quot;,
2430 ],
2431 &quot;kind&quot;: &quot;A String&quot;, # Type of transform.
2432 &quot;name&quot;: &quot;A String&quot;, # User provided name for this transform instance.
2433 &quot;outputCollectionName&quot;: [ # User names for all collection outputs to this transform.
2434 &quot;A String&quot;,
2435 ],
2436 },
2437 ],
2438 },
2439 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
2440 &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.
2441 &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.
2442 &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.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08002443 &quot;satisfiesPzs&quot;: True or False, # Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002444 &quot;stageStates&quot;: [ # This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
2445 { # A message describing the state of a particular execution stage.
2446 &quot;currentStateTime&quot;: &quot;A String&quot;, # The time at which the stage transitioned to this state.
2447 &quot;executionStageName&quot;: &quot;A String&quot;, # The name of the execution stage.
2448 &quot;executionStageState&quot;: &quot;A String&quot;, # Executions stage states allow the same set of values as JobState.
2449 },
2450 ],
2451 &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.
2452 &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.
2453 { # 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.
2454 &quot;kind&quot;: &quot;A String&quot;, # The kind of step in the Cloud Dataflow job.
2455 &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.
2456 &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.
2457 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2458 },
2459 },
2460 ],
Anthonios Partheniou10f4b672021-04-13 14:47:53 -04002461 &quot;stepsLocation&quot;: &quot;A String&quot;, # The Cloud Storage location where the steps are stored.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002462 &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}
2463 &quot;A String&quot;,
2464 ],
2465 &quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
2466 &quot;a_key&quot;: &quot;A String&quot;,
2467 },
2468 &quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
2469}</pre>
Nathaniel Manista4f877e52015-06-15 16:44:50 +00002470</div>
2471
2472</body></html>