blob: 7a306ebee5893ffaadd8b4afab97dbebdbab85c6 [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 Botb6971b02020-11-26 17:16:03 -080093 <code><a href="#aggregated">aggregated(projectId, filter=None, pageToken=None, location=None, view=None, pageSize=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 Bot0d561ef2020-11-25 07:50:41 -0800102 <code><a href="#create">create(projectId, body=None, location=None, view=None, replaceJobId=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 Botb6971b02020-11-26 17:16:03 -0800108 <code><a href="#getMetrics">getMetrics(projectId, jobId, startTime=None, location=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700109<p class="firstline">Request the job status. To request the status of a job, we recommend using `projects.locations.jobs.getMetrics` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.getMetrics` is not recommended, as you can only request the status of jobs that are running in `us-central1`.</p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000110<p class="toc_element">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800111 <code><a href="#list">list(projectId, view=None, pageSize=None, location=None, pageToken=None, filter=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 Botb6971b02020-11-26 17:16:03 -0800124 <code class="details" id="aggregated">aggregated(projectId, filter=None, pageToken=None, location=None, view=None, pageSize=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 Bot0d561ef2020-11-25 07:50:41 -0800135 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 Automation Botb6971b02020-11-26 17:16:03 -0800136 location: string, The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
137 view: string, Level of information requested in response. Default is `JOB_VIEW_SUMMARY`.
138 Allowed values
139 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.
140 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.
141 JOB_VIEW_ALL - Request all information available for this job.
142 JOB_VIEW_DESCRIPTION - Request summary info and limited job description data for steps, labels and environment.
143 pageSize: integer, If there are many jobs, limit response to at most this many. The actual number of jobs returned will be the lesser of max_responses and an unspecified server-defined limit.
Bu Sun 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 Botb6971b02020-11-26 17:16:03 -0800153 &quot;jobs&quot;: [ # A subset of the requested job information.
154 { # Defines a job to be run by the Cloud Dataflow service.
155 &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.
156 &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.
157 { # 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.
158 &quot;kind&quot;: &quot;A String&quot;, # The kind of step in the Cloud Dataflow job.
159 &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.
160 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
161 },
162 &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.
163 },
164 ],
165 &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.
166 &quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
167 &quot;flexResourceSchedulingGoal&quot;: &quot;A String&quot;, # Which Flexible Resource Scheduling mode to run in.
168 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Identity to run virtual machines as. Defaults to the default account.
169 &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}
170 &quot;userAgent&quot;: { # A description of the process that generated the request.
171 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
172 },
173 &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
174 &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.
175 &quot;experiments&quot;: [ # The list of experiments to enable.
176 &quot;A String&quot;,
177 ],
178 &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.
179 { # 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.
180 &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.
181 &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.
182 &quot;parallelWorkerSettings&quot;: { # Provides data to pass through to the worker harness. # The settings to pass to the parallel worker harness.
183 &quot;workerId&quot;: &quot;A String&quot;, # The ID of the worker running this pipeline.
184 &quot;reportingEnabled&quot;: True or False, # Whether to send work progress updates to the service.
185 &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;
186 &quot;shuffleServicePath&quot;: &quot;A String&quot;, # The Shuffle service path relative to the root URL, for example, &quot;shuffle/v1beta1&quot;.
187 &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}
188 &quot;servicePath&quot;: &quot;A String&quot;, # The Cloud Dataflow service path relative to the root URL, for example, &quot;dataflow/v1b3/projects&quot;.
189 },
190 &quot;logToSerialconsole&quot;: True or False, # Whether to send taskrunner log info to Google Compute Engine VM serial console.
191 &quot;dataflowApiVersion&quot;: &quot;A String&quot;, # The API version of endpoint, e.g. &quot;v1b3&quot;
192 &quot;commandlinesFileName&quot;: &quot;A String&quot;, # The file to store preprocessing commands in.
193 &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;.
194 &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}
195 &quot;oauthScopes&quot;: [ # The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
196 &quot;A String&quot;,
197 ],
198 &quot;vmId&quot;: &quot;A String&quot;, # The ID string of the VM.
199 &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;
200 &quot;workflowFileName&quot;: &quot;A String&quot;, # The file to store the workflow in.
201 &quot;languageHint&quot;: &quot;A String&quot;, # The suggested backend language.
202 &quot;alsologtostderr&quot;: True or False, # Whether to also send taskrunner log info to stderr.
203 &quot;streamingWorkerMainClass&quot;: &quot;A String&quot;, # The streaming worker main class name.
204 &quot;harnessCommand&quot;: &quot;A String&quot;, # The command to launch the worker harness.
205 &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}
206 &quot;logDir&quot;: &quot;A String&quot;, # The directory on the VM to store logs.
207 &quot;continueOnException&quot;: True or False, # Whether to continue taskrunner if an exception is hit.
208 &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;.
209 &quot;baseTaskDir&quot;: &quot;A String&quot;, # The location on the worker for task-specific subdirectories.
210 },
211 &quot;diskSourceImage&quot;: &quot;A String&quot;, # Fully qualified source image for disks.
212 &quot;metadata&quot;: { # Metadata to set on the Google Compute Engine VMs.
213 &quot;a_key&quot;: &quot;A String&quot;,
214 },
215 &quot;dataDisks&quot;: [ # Data disks that are used by a VM in this workflow.
216 { # Describes the data disk used by a workflow job.
217 &quot;sizeGb&quot;: 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
218 &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
219 &quot;mountPoint&quot;: &quot;A String&quot;, # Directory in a VM where disk is mounted.
220 },
221 ],
222 &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.
223 &quot;packages&quot;: [ # Packages to be installed on workers.
224 { # 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.
225 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
226 &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/
227 },
228 ],
229 &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.
230 { # Defines a SDK harness container for executing Dataflow pipelines.
231 &quot;containerImage&quot;: &quot;A String&quot;, # A docker container image that resides in Google Container Registry.
232 &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.
233 },
234 ],
235 &quot;kind&quot;: &quot;A String&quot;, # The kind of the worker pool; currently only `harness` and `shuffle` are supported.
236 &quot;autoscalingSettings&quot;: { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
237 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for autoscaling.
238 &quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap scaling at.
239 },
240 &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.
241 &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.
242 &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.
243 &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.
244 &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.
245 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # The action to take on host maintenance, as defined by the Google Compute Engine API.
246 &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;.
247 &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).
248 &quot;poolArgs&quot;: { # Extra arguments for this worker pool.
249 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
250 },
251 &quot;ipConfiguration&quot;: &quot;A String&quot;, # Configuration for VM IPs.
252 &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.
253 &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;.
254 },
255 ],
256 &quot;internalExperiments&quot;: { # Experimental settings.
257 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
258 },
259 &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.
260 &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;.
261 &quot;version&quot;: { # A structure describing which components and their versions of the service are required in order to run the job.
262 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
263 },
264 &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.
265 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
266 },
267 &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}
268 },
269 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
270 &quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
271 &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}
272 &quot;A String&quot;,
273 ],
274 &quot;executionInfo&quot;: { # Additional information about how a Cloud Dataflow job will be executed that isn&#x27;t contained in the submitted job. # Deprecated.
275 &quot;stages&quot;: { # A mapping from each stage to the information about that stage.
276 &quot;a_key&quot;: { # Contains information about how a particular google.dataflow.v1beta3.Step will be executed.
277 &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.
278 &quot;A String&quot;,
279 ],
280 },
281 },
282 },
283 &quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
284 &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.
285 &quot;sdkVersion&quot;: { # The version of the SDK used to run the job. # The SDK version used to run the job.
286 &quot;sdkSupportStatus&quot;: &quot;A String&quot;, # The support status for this SDK version.
287 &quot;version&quot;: &quot;A String&quot;, # The version of the SDK used to run the job.
288 &quot;versionDisplayName&quot;: &quot;A String&quot;, # A readable string describing the version of the SDK.
289 },
290 &quot;bigqueryDetails&quot;: [ # Identification of a BigQuery source used in the Dataflow job.
291 { # Metadata for a BigQuery connector used by the job.
292 &quot;query&quot;: &quot;A String&quot;, # Query used to access data in the connection.
293 &quot;projectId&quot;: &quot;A String&quot;, # Project accessed in the connection.
294 &quot;table&quot;: &quot;A String&quot;, # Table accessed in the connection.
295 &quot;dataset&quot;: &quot;A String&quot;, # Dataset accessed in the connection.
296 },
297 ],
298 &quot;datastoreDetails&quot;: [ # Identification of a Datastore source used in the Dataflow job.
299 { # Metadata for a Datastore connector used by the job.
300 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
301 &quot;namespace&quot;: &quot;A String&quot;, # Namespace used in the connection.
302 },
303 ],
304 &quot;fileDetails&quot;: [ # Identification of a File source used in the Dataflow job.
305 { # Metadata for a File connector used by the job.
306 &quot;filePattern&quot;: &quot;A String&quot;, # File Pattern used to access files by the connector.
307 },
308 ],
309 &quot;spannerDetails&quot;: [ # Identification of a Spanner source used in the Dataflow job.
310 { # Metadata for a Spanner connector used by the job.
311 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
312 &quot;databaseId&quot;: &quot;A String&quot;, # DatabaseId accessed in the connection.
313 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
314 },
315 ],
316 &quot;pubsubDetails&quot;: [ # Identification of a PubSub source used in the Dataflow job.
317 { # Metadata for a PubSub connector used by the job.
318 &quot;topic&quot;: &quot;A String&quot;, # Topic accessed in the connection.
319 &quot;subscription&quot;: &quot;A String&quot;, # Subscription used in the connection.
320 },
321 ],
322 &quot;bigTableDetails&quot;: [ # Identification of a BigTable source used in the Dataflow job.
323 { # Metadata for a BigTable connector used by the job.
324 &quot;tableId&quot;: &quot;A String&quot;, # TableId accessed in the connection.
325 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
326 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
327 },
328 ],
329 },
330 &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.
331 &quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
332 &quot;stageStates&quot;: [ # This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
333 { # A message describing the state of a particular execution stage.
334 &quot;executionStageState&quot;: &quot;A String&quot;, # Executions stage states allow the same set of values as JobState.
335 &quot;executionStageName&quot;: &quot;A String&quot;, # The name of the execution stage.
336 &quot;currentStateTime&quot;: &quot;A String&quot;, # The time at which the stage transitioned to this state.
337 },
338 ],
339 &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])?`
340 &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.
341 &quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
342 &quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
343 &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.
344 &quot;a_key&quot;: &quot;A String&quot;,
345 },
346 &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.
347 &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.
348 &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.
349 &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.
350 &quot;executionPipelineStage&quot;: [ # Description of each stage of execution of the pipeline.
351 { # 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.
352 &quot;kind&quot;: &quot;A String&quot;, # Type of tranform this stage is executing.
353 &quot;id&quot;: &quot;A String&quot;, # Dataflow service generated id for this stage.
354 &quot;componentTransform&quot;: [ # Transforms that comprise this execution stage.
355 { # Description of a transform executed as part of an execution stage.
356 &quot;originalTransform&quot;: &quot;A String&quot;, # User name for the original user transform with which this transform is most closely associated.
357 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
358 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
359 },
360 ],
361 &quot;prerequisiteStage&quot;: [ # Other stages that must complete before this stage can run.
362 &quot;A String&quot;,
363 ],
364 &quot;outputSource&quot;: [ # Output sources for this stage.
365 { # Description of an input or output of an execution stage.
366 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
367 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
368 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
369 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
370 },
371 ],
372 &quot;inputSource&quot;: [ # Input sources for this stage.
373 { # Description of an input or output of an execution stage.
374 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
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 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
378 },
379 ],
380 &quot;componentSource&quot;: [ # Collections produced and consumed by component transforms of this stage.
381 { # Description of an interstitial value between transforms in an execution stage.
382 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
383 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
384 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
385 },
386 ],
387 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this stage.
388 },
389 ],
390 &quot;originalPipelineTransform&quot;: [ # Description of each transform in the pipeline and collections between them.
391 { # Description of the type, names/ids, and input/outputs for a transform.
392 &quot;inputCollectionName&quot;: [ # User names for all collection inputs to this transform.
393 &quot;A String&quot;,
394 ],
395 &quot;id&quot;: &quot;A String&quot;, # SDK generated id of this transform instance.
396 &quot;name&quot;: &quot;A String&quot;, # User provided name for this transform instance.
397 &quot;outputCollectionName&quot;: [ # User names for all collection outputs to this transform.
398 &quot;A String&quot;,
399 ],
400 &quot;kind&quot;: &quot;A String&quot;, # Type of transform.
401 &quot;displayData&quot;: [ # Transform-specific display data.
402 { # Data provided with a pipeline or transform to provide descriptive info.
403 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
404 &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.
405 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
406 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
407 &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.
408 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
409 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
410 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
411 &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.
412 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
413 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
414 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
415 },
416 ],
417 },
418 ],
419 &quot;displayData&quot;: [ # Pipeline level display data.
420 { # Data provided with a pipeline or transform to provide descriptive info.
421 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
422 &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.
423 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
424 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
425 &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.
426 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
427 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
428 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
429 &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.
430 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
431 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
432 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
433 },
434 ],
435 },
436 &quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
437 &quot;a_key&quot;: &quot;A String&quot;,
438 },
439 &quot;stepsLocation&quot;: &quot;A String&quot;, # The GCS location where the steps are stored.
440 },
441 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700442 &quot;failedLocation&quot;: [ # Zero or more messages describing the [regional endpoints] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that failed to respond.
443 { # Indicates which [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) failed to respond to a request for data.
444 &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.
445 },
446 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800447 &quot;nextPageToken&quot;: &quot;A String&quot;, # Set if there may be more results than fit in this response.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700448 }</pre>
449</div>
450
451<div class="method">
452 <code class="details" id="aggregated_next">aggregated_next(previous_request, previous_response)</code>
453 <pre>Retrieves the next page of results.
454
455Args:
456 previous_request: The request for the previous page. (required)
457 previous_response: The response from the request for the previous page. (required)
458
459Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700460 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700461 page. Returns None if there are no more items in the collection.
462 </pre>
463</div>
464
465<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700466 <code class="details" id="close">close()</code>
467 <pre>Close httplib2 connections.</pre>
468</div>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000469
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700470<div class="method">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800471 <code class="details" id="create">create(projectId, body=None, location=None, view=None, replaceJobId=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700472 <pre>Creates a Cloud Dataflow job. To create a job, we recommend using `projects.locations.jobs.create` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.create` is not recommended, as your job will always start in `us-central1`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700473
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000474Args:
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400475 projectId: string, The ID of the Cloud Platform project that the job belongs to. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700476 body: object, The request body.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000477 The object takes the form of:
478
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400479{ # Defines a job to be run by the Cloud Dataflow service.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800480 &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.
481 &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.
482 { # 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.
483 &quot;kind&quot;: &quot;A String&quot;, # The kind of step in the Cloud Dataflow job.
484 &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.
485 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
486 },
487 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800488 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800489 ],
490 &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.
491 &quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
492 &quot;flexResourceSchedulingGoal&quot;: &quot;A String&quot;, # Which Flexible Resource Scheduling mode to run in.
493 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Identity to run virtual machines as. Defaults to the default account.
494 &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}
495 &quot;userAgent&quot;: { # A description of the process that generated the request.
496 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800497 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800498 &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
499 &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.
500 &quot;experiments&quot;: [ # The list of experiments to enable.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800501 &quot;A String&quot;,
502 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800503 &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.
504 { # 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.
505 &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.
506 &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.
507 &quot;parallelWorkerSettings&quot;: { # Provides data to pass through to the worker harness. # The settings to pass to the parallel worker harness.
508 &quot;workerId&quot;: &quot;A String&quot;, # The ID of the worker running this pipeline.
509 &quot;reportingEnabled&quot;: True or False, # Whether to send work progress updates to the service.
510 &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;
511 &quot;shuffleServicePath&quot;: &quot;A String&quot;, # The Shuffle service path relative to the root URL, for example, &quot;shuffle/v1beta1&quot;.
512 &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}
513 &quot;servicePath&quot;: &quot;A String&quot;, # The Cloud Dataflow service path relative to the root URL, for example, &quot;dataflow/v1b3/projects&quot;.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800514 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800515 &quot;logToSerialconsole&quot;: True or False, # Whether to send taskrunner log info to Google Compute Engine VM serial console.
516 &quot;dataflowApiVersion&quot;: &quot;A String&quot;, # The API version of endpoint, e.g. &quot;v1b3&quot;
517 &quot;commandlinesFileName&quot;: &quot;A String&quot;, # The file to store preprocessing commands in.
518 &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;.
519 &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}
520 &quot;oauthScopes&quot;: [ # The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700521 &quot;A String&quot;,
522 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800523 &quot;vmId&quot;: &quot;A String&quot;, # The ID string of the VM.
524 &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;
525 &quot;workflowFileName&quot;: &quot;A String&quot;, # The file to store the workflow in.
526 &quot;languageHint&quot;: &quot;A String&quot;, # The suggested backend language.
527 &quot;alsologtostderr&quot;: True or False, # Whether to also send taskrunner log info to stderr.
528 &quot;streamingWorkerMainClass&quot;: &quot;A String&quot;, # The streaming worker main class name.
529 &quot;harnessCommand&quot;: &quot;A String&quot;, # The command to launch the worker harness.
530 &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}
531 &quot;logDir&quot;: &quot;A String&quot;, # The directory on the VM to store logs.
532 &quot;continueOnException&quot;: True or False, # Whether to continue taskrunner if an exception is hit.
533 &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;.
534 &quot;baseTaskDir&quot;: &quot;A String&quot;, # The location on the worker for task-specific subdirectories.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700535 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800536 &quot;diskSourceImage&quot;: &quot;A String&quot;, # Fully qualified source image for disks.
537 &quot;metadata&quot;: { # Metadata to set on the Google Compute Engine VMs.
538 &quot;a_key&quot;: &quot;A String&quot;,
539 },
540 &quot;dataDisks&quot;: [ # Data disks that are used by a VM in this workflow.
541 { # Describes the data disk used by a workflow job.
542 &quot;sizeGb&quot;: 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
543 &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
544 &quot;mountPoint&quot;: &quot;A String&quot;, # Directory in a VM where disk is mounted.
545 },
546 ],
547 &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.
548 &quot;packages&quot;: [ # Packages to be installed on workers.
549 { # 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.
550 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
551 &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/
552 },
553 ],
554 &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.
555 { # Defines a SDK harness container for executing Dataflow pipelines.
556 &quot;containerImage&quot;: &quot;A String&quot;, # A docker container image that resides in Google Container Registry.
557 &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.
558 },
559 ],
560 &quot;kind&quot;: &quot;A String&quot;, # The kind of the worker pool; currently only `harness` and `shuffle` are supported.
561 &quot;autoscalingSettings&quot;: { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
562 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for autoscaling.
563 &quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap scaling at.
564 },
565 &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.
566 &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.
567 &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.
568 &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.
569 &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.
570 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # The action to take on host maintenance, as defined by the Google Compute Engine API.
571 &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;.
572 &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).
573 &quot;poolArgs&quot;: { # Extra arguments for this worker pool.
574 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
575 },
576 &quot;ipConfiguration&quot;: &quot;A String&quot;, # Configuration for VM IPs.
577 &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.
578 &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;.
579 },
580 ],
581 &quot;internalExperiments&quot;: { # Experimental settings.
582 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
583 },
584 &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.
585 &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;.
586 &quot;version&quot;: { # A structure describing which components and their versions of the service are required in order to run the job.
587 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
588 },
589 &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.
590 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
591 },
592 &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}
593 },
594 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
595 &quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
596 &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}
597 &quot;A String&quot;,
598 ],
599 &quot;executionInfo&quot;: { # Additional information about how a Cloud Dataflow job will be executed that isn&#x27;t contained in the submitted job. # Deprecated.
600 &quot;stages&quot;: { # A mapping from each stage to the information about that stage.
601 &quot;a_key&quot;: { # Contains information about how a particular google.dataflow.v1beta3.Step will be executed.
602 &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.
603 &quot;A String&quot;,
604 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700605 },
606 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800607 },
608 &quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
609 &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.
610 &quot;sdkVersion&quot;: { # The version of the SDK used to run the job. # The SDK version used to run the job.
611 &quot;sdkSupportStatus&quot;: &quot;A String&quot;, # The support status for this SDK version.
612 &quot;version&quot;: &quot;A String&quot;, # The version of the SDK used to run the job.
613 &quot;versionDisplayName&quot;: &quot;A String&quot;, # A readable string describing the version of the SDK.
614 },
615 &quot;bigqueryDetails&quot;: [ # Identification of a BigQuery source used in the Dataflow job.
616 { # Metadata for a BigQuery connector used by the job.
617 &quot;query&quot;: &quot;A String&quot;, # Query used to access data in the connection.
618 &quot;projectId&quot;: &quot;A String&quot;, # Project accessed in the connection.
619 &quot;table&quot;: &quot;A String&quot;, # Table accessed in the connection.
620 &quot;dataset&quot;: &quot;A String&quot;, # Dataset accessed in the connection.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800621 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800622 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800623 &quot;datastoreDetails&quot;: [ # Identification of a Datastore source used in the Dataflow job.
624 { # Metadata for a Datastore connector used by the job.
625 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
626 &quot;namespace&quot;: &quot;A String&quot;, # Namespace used in the connection.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800627 },
628 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800629 &quot;fileDetails&quot;: [ # Identification of a File source used in the Dataflow job.
630 { # Metadata for a File connector used by the job.
631 &quot;filePattern&quot;: &quot;A String&quot;, # File Pattern used to access files by the connector.
632 },
633 ],
634 &quot;spannerDetails&quot;: [ # Identification of a Spanner source used in the Dataflow job.
635 { # Metadata for a Spanner connector used by the job.
636 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
637 &quot;databaseId&quot;: &quot;A String&quot;, # DatabaseId accessed in the connection.
638 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
639 },
640 ],
641 &quot;pubsubDetails&quot;: [ # Identification of a PubSub source used in the Dataflow job.
642 { # Metadata for a PubSub connector used by the job.
643 &quot;topic&quot;: &quot;A String&quot;, # Topic accessed in the connection.
644 &quot;subscription&quot;: &quot;A String&quot;, # Subscription used in the connection.
645 },
646 ],
647 &quot;bigTableDetails&quot;: [ # Identification of a BigTable source used in the Dataflow job.
648 { # Metadata for a BigTable connector used by the job.
649 &quot;tableId&quot;: &quot;A String&quot;, # TableId accessed in the connection.
650 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
651 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
652 },
653 ],
654 },
655 &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.
656 &quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
657 &quot;stageStates&quot;: [ # This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
658 { # A message describing the state of a particular execution stage.
659 &quot;executionStageState&quot;: &quot;A String&quot;, # Executions stage states allow the same set of values as JobState.
660 &quot;executionStageName&quot;: &quot;A String&quot;, # The name of the execution stage.
661 &quot;currentStateTime&quot;: &quot;A String&quot;, # The time at which the stage transitioned to this state.
662 },
663 ],
664 &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])?`
665 &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.
666 &quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
667 &quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
668 &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.
669 &quot;a_key&quot;: &quot;A String&quot;,
670 },
671 &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.
672 &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.
673 &quot;requestedState&quot;: &quot;A String&quot;, # The job&#x27;s requested state. `UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and `JOB_STATE_RUNNING` states, by setting requested_state. `UpdateJob` may also be used to directly set a job&#x27;s requested state to `JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the job if it has not already reached a terminal state.
674 &quot;pipelineDescription&quot;: { # A descriptive representation of submitted pipeline as well as the executed form. This data is provided by the Dataflow service for ease of visualizing the pipeline and interpreting Dataflow provided metrics. # Preliminary field: The format of this data may change at any time. A description of the user pipeline and stages through which it is executed. Created by Cloud Dataflow service. Only retrieved with JOB_VIEW_DESCRIPTION or JOB_VIEW_ALL.
675 &quot;executionPipelineStage&quot;: [ # Description of each stage of execution of the pipeline.
676 { # Description of the composing transforms, names/ids, and input/outputs of a stage of execution. Some composing transforms and sources may have been generated by the Dataflow service during execution planning.
677 &quot;kind&quot;: &quot;A String&quot;, # Type of tranform this stage is executing.
678 &quot;id&quot;: &quot;A String&quot;, # Dataflow service generated id for this stage.
679 &quot;componentTransform&quot;: [ # Transforms that comprise this execution stage.
680 { # Description of a transform executed as part of an execution stage.
681 &quot;originalTransform&quot;: &quot;A String&quot;, # User name for the original user transform with which this transform is most closely associated.
682 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
683 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
684 },
685 ],
686 &quot;prerequisiteStage&quot;: [ # Other stages that must complete before this stage can run.
687 &quot;A String&quot;,
688 ],
689 &quot;outputSource&quot;: [ # Output sources for this stage.
690 { # Description of an input or output of an execution stage.
691 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
692 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
693 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
694 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
695 },
696 ],
697 &quot;inputSource&quot;: [ # Input sources for this stage.
698 { # Description of an input or output of an execution stage.
699 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
700 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
701 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
702 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
703 },
704 ],
705 &quot;componentSource&quot;: [ # Collections produced and consumed by component transforms of this stage.
706 { # Description of an interstitial value between transforms in an execution stage.
707 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
708 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
709 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
710 },
711 ],
712 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this stage.
713 },
714 ],
715 &quot;originalPipelineTransform&quot;: [ # Description of each transform in the pipeline and collections between them.
716 { # Description of the type, names/ids, and input/outputs for a transform.
717 &quot;inputCollectionName&quot;: [ # User names for all collection inputs to this transform.
718 &quot;A String&quot;,
719 ],
720 &quot;id&quot;: &quot;A String&quot;, # SDK generated id of this transform instance.
721 &quot;name&quot;: &quot;A String&quot;, # User provided name for this transform instance.
722 &quot;outputCollectionName&quot;: [ # User names for all collection outputs to this transform.
723 &quot;A String&quot;,
724 ],
725 &quot;kind&quot;: &quot;A String&quot;, # Type of transform.
726 &quot;displayData&quot;: [ # Transform-specific display data.
727 { # Data provided with a pipeline or transform to provide descriptive info.
728 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
729 &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.
730 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
731 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
732 &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.
733 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
734 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
735 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
736 &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.
737 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
738 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
739 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
740 },
741 ],
742 },
743 ],
744 &quot;displayData&quot;: [ # Pipeline level display data.
745 { # Data provided with a pipeline or transform to provide descriptive info.
746 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
747 &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.
748 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
749 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
750 &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.
751 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
752 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
753 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
754 &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.
755 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
756 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
757 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
758 },
759 ],
760 },
761 &quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
762 &quot;a_key&quot;: &quot;A String&quot;,
763 },
764 &quot;stepsLocation&quot;: &quot;A String&quot;, # The GCS location where the steps are stored.
765}
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800766
767 location: string, The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800768 view: string, The level of information requested in response.
769 Allowed values
770 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.
771 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.
772 JOB_VIEW_ALL - Request all information available for this job.
773 JOB_VIEW_DESCRIPTION - Request summary info and limited job description data for steps, labels and environment.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800774 replaceJobId: string, Deprecated. This field is now in the Job message.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800775 x__xgafv: string, V1 error format.
776 Allowed values
777 1 - v1 error format
778 2 - v2 error format
779
780Returns:
781 An object of the form:
782
783 { # Defines a job to be run by the Cloud Dataflow service.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800784 &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.
785 &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.
786 { # 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.
787 &quot;kind&quot;: &quot;A String&quot;, # The kind of step in the Cloud Dataflow job.
788 &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.
789 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
790 },
791 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800792 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800793 ],
794 &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.
795 &quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
796 &quot;flexResourceSchedulingGoal&quot;: &quot;A String&quot;, # Which Flexible Resource Scheduling mode to run in.
797 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Identity to run virtual machines as. Defaults to the default account.
798 &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}
799 &quot;userAgent&quot;: { # A description of the process that generated the request.
800 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800801 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800802 &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
803 &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.
804 &quot;experiments&quot;: [ # The list of experiments to enable.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800805 &quot;A String&quot;,
806 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800807 &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.
808 { # 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.
809 &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.
810 &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.
811 &quot;parallelWorkerSettings&quot;: { # Provides data to pass through to the worker harness. # The settings to pass to the parallel worker harness.
812 &quot;workerId&quot;: &quot;A String&quot;, # The ID of the worker running this pipeline.
813 &quot;reportingEnabled&quot;: True or False, # Whether to send work progress updates to the service.
814 &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;
815 &quot;shuffleServicePath&quot;: &quot;A String&quot;, # The Shuffle service path relative to the root URL, for example, &quot;shuffle/v1beta1&quot;.
816 &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}
817 &quot;servicePath&quot;: &quot;A String&quot;, # The Cloud Dataflow service path relative to the root URL, for example, &quot;dataflow/v1b3/projects&quot;.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800818 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800819 &quot;logToSerialconsole&quot;: True or False, # Whether to send taskrunner log info to Google Compute Engine VM serial console.
820 &quot;dataflowApiVersion&quot;: &quot;A String&quot;, # The API version of endpoint, e.g. &quot;v1b3&quot;
821 &quot;commandlinesFileName&quot;: &quot;A String&quot;, # The file to store preprocessing commands in.
822 &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;.
823 &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}
824 &quot;oauthScopes&quot;: [ # The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800825 &quot;A String&quot;,
826 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800827 &quot;vmId&quot;: &quot;A String&quot;, # The ID string of the VM.
828 &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;
829 &quot;workflowFileName&quot;: &quot;A String&quot;, # The file to store the workflow in.
830 &quot;languageHint&quot;: &quot;A String&quot;, # The suggested backend language.
831 &quot;alsologtostderr&quot;: True or False, # Whether to also send taskrunner log info to stderr.
832 &quot;streamingWorkerMainClass&quot;: &quot;A String&quot;, # The streaming worker main class name.
833 &quot;harnessCommand&quot;: &quot;A String&quot;, # The command to launch the worker harness.
834 &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}
835 &quot;logDir&quot;: &quot;A String&quot;, # The directory on the VM to store logs.
836 &quot;continueOnException&quot;: True or False, # Whether to continue taskrunner if an exception is hit.
837 &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;.
838 &quot;baseTaskDir&quot;: &quot;A String&quot;, # The location on the worker for task-specific subdirectories.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800839 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800840 &quot;diskSourceImage&quot;: &quot;A String&quot;, # Fully qualified source image for disks.
841 &quot;metadata&quot;: { # Metadata to set on the Google Compute Engine VMs.
842 &quot;a_key&quot;: &quot;A String&quot;,
843 },
844 &quot;dataDisks&quot;: [ # Data disks that are used by a VM in this workflow.
845 { # Describes the data disk used by a workflow job.
846 &quot;sizeGb&quot;: 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
847 &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
848 &quot;mountPoint&quot;: &quot;A String&quot;, # Directory in a VM where disk is mounted.
849 },
850 ],
851 &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.
852 &quot;packages&quot;: [ # Packages to be installed on workers.
853 { # 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.
854 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
855 &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/
856 },
857 ],
858 &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.
859 { # Defines a SDK harness container for executing Dataflow pipelines.
860 &quot;containerImage&quot;: &quot;A String&quot;, # A docker container image that resides in Google Container Registry.
861 &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.
862 },
863 ],
864 &quot;kind&quot;: &quot;A String&quot;, # The kind of the worker pool; currently only `harness` and `shuffle` are supported.
865 &quot;autoscalingSettings&quot;: { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
866 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for autoscaling.
867 &quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap scaling at.
868 },
869 &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.
870 &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.
871 &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.
872 &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.
873 &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.
874 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # The action to take on host maintenance, as defined by the Google Compute Engine API.
875 &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;.
876 &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).
877 &quot;poolArgs&quot;: { # Extra arguments for this worker pool.
878 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
879 },
880 &quot;ipConfiguration&quot;: &quot;A String&quot;, # Configuration for VM IPs.
881 &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.
882 &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;.
883 },
884 ],
885 &quot;internalExperiments&quot;: { # Experimental settings.
886 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
887 },
888 &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.
889 &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;.
890 &quot;version&quot;: { # A structure describing which components and their versions of the service are required in order to run the job.
891 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
892 },
893 &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.
894 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
895 },
896 &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}
897 },
898 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
899 &quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
900 &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}
901 &quot;A String&quot;,
902 ],
903 &quot;executionInfo&quot;: { # Additional information about how a Cloud Dataflow job will be executed that isn&#x27;t contained in the submitted job. # Deprecated.
904 &quot;stages&quot;: { # A mapping from each stage to the information about that stage.
905 &quot;a_key&quot;: { # Contains information about how a particular google.dataflow.v1beta3.Step will be executed.
906 &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.
907 &quot;A String&quot;,
908 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800909 },
910 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800911 },
912 &quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
913 &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.
914 &quot;sdkVersion&quot;: { # The version of the SDK used to run the job. # The SDK version used to run the job.
915 &quot;sdkSupportStatus&quot;: &quot;A String&quot;, # The support status for this SDK version.
916 &quot;version&quot;: &quot;A String&quot;, # The version of the SDK used to run the job.
917 &quot;versionDisplayName&quot;: &quot;A String&quot;, # A readable string describing the version of the SDK.
918 },
919 &quot;bigqueryDetails&quot;: [ # Identification of a BigQuery source used in the Dataflow job.
920 { # Metadata for a BigQuery connector used by the job.
921 &quot;query&quot;: &quot;A String&quot;, # Query used to access data in the connection.
922 &quot;projectId&quot;: &quot;A String&quot;, # Project accessed in the connection.
923 &quot;table&quot;: &quot;A String&quot;, # Table accessed in the connection.
924 &quot;dataset&quot;: &quot;A String&quot;, # Dataset accessed in the connection.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800925 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800926 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800927 &quot;datastoreDetails&quot;: [ # Identification of a Datastore source used in the Dataflow job.
928 { # Metadata for a Datastore connector used by the job.
929 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
930 &quot;namespace&quot;: &quot;A String&quot;, # Namespace used in the connection.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800931 },
932 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800933 &quot;fileDetails&quot;: [ # Identification of a File source used in the Dataflow job.
934 { # Metadata for a File connector used by the job.
935 &quot;filePattern&quot;: &quot;A String&quot;, # File Pattern used to access files by the connector.
936 },
937 ],
938 &quot;spannerDetails&quot;: [ # Identification of a Spanner source used in the Dataflow job.
939 { # Metadata for a Spanner connector used by the job.
940 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
941 &quot;databaseId&quot;: &quot;A String&quot;, # DatabaseId accessed in the connection.
942 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
943 },
944 ],
945 &quot;pubsubDetails&quot;: [ # Identification of a PubSub source used in the Dataflow job.
946 { # Metadata for a PubSub connector used by the job.
947 &quot;topic&quot;: &quot;A String&quot;, # Topic accessed in the connection.
948 &quot;subscription&quot;: &quot;A String&quot;, # Subscription used in the connection.
949 },
950 ],
951 &quot;bigTableDetails&quot;: [ # Identification of a BigTable source used in the Dataflow job.
952 { # Metadata for a BigTable connector used by the job.
953 &quot;tableId&quot;: &quot;A String&quot;, # TableId accessed in the connection.
954 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
955 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
956 },
957 ],
958 },
959 &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.
960 &quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
961 &quot;stageStates&quot;: [ # This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
962 { # A message describing the state of a particular execution stage.
963 &quot;executionStageState&quot;: &quot;A String&quot;, # Executions stage states allow the same set of values as JobState.
964 &quot;executionStageName&quot;: &quot;A String&quot;, # The name of the execution stage.
965 &quot;currentStateTime&quot;: &quot;A String&quot;, # The time at which the stage transitioned to this state.
966 },
967 ],
968 &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])?`
969 &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.
970 &quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
971 &quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
972 &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.
973 &quot;a_key&quot;: &quot;A String&quot;,
974 },
975 &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.
976 &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.
977 &quot;requestedState&quot;: &quot;A String&quot;, # The job&#x27;s requested state. `UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and `JOB_STATE_RUNNING` states, by setting requested_state. `UpdateJob` may also be used to directly set a job&#x27;s requested state to `JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the job if it has not already reached a terminal state.
978 &quot;pipelineDescription&quot;: { # A descriptive representation of submitted pipeline as well as the executed form. This data is provided by the Dataflow service for ease of visualizing the pipeline and interpreting Dataflow provided metrics. # Preliminary field: The format of this data may change at any time. A description of the user pipeline and stages through which it is executed. Created by Cloud Dataflow service. Only retrieved with JOB_VIEW_DESCRIPTION or JOB_VIEW_ALL.
979 &quot;executionPipelineStage&quot;: [ # Description of each stage of execution of the pipeline.
980 { # Description of the composing transforms, names/ids, and input/outputs of a stage of execution. Some composing transforms and sources may have been generated by the Dataflow service during execution planning.
981 &quot;kind&quot;: &quot;A String&quot;, # Type of tranform this stage is executing.
982 &quot;id&quot;: &quot;A String&quot;, # Dataflow service generated id for this stage.
983 &quot;componentTransform&quot;: [ # Transforms that comprise this execution stage.
984 { # Description of a transform executed as part of an execution stage.
985 &quot;originalTransform&quot;: &quot;A String&quot;, # User name for the original user transform with which this transform is most closely associated.
986 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
987 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
988 },
989 ],
990 &quot;prerequisiteStage&quot;: [ # Other stages that must complete before this stage can run.
991 &quot;A String&quot;,
992 ],
993 &quot;outputSource&quot;: [ # Output sources for this stage.
994 { # Description of an input or output of an execution stage.
995 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
996 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
997 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
998 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
999 },
1000 ],
1001 &quot;inputSource&quot;: [ # Input sources for this stage.
1002 { # Description of an input or output of an execution stage.
1003 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1004 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
1005 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
1006 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1007 },
1008 ],
1009 &quot;componentSource&quot;: [ # Collections produced and consumed by component transforms of this stage.
1010 { # Description of an interstitial value between transforms in an execution stage.
1011 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
1012 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1013 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1014 },
1015 ],
1016 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this stage.
1017 },
1018 ],
1019 &quot;originalPipelineTransform&quot;: [ # Description of each transform in the pipeline and collections between them.
1020 { # Description of the type, names/ids, and input/outputs for a transform.
1021 &quot;inputCollectionName&quot;: [ # User names for all collection inputs to this transform.
1022 &quot;A String&quot;,
1023 ],
1024 &quot;id&quot;: &quot;A String&quot;, # SDK generated id of this transform instance.
1025 &quot;name&quot;: &quot;A String&quot;, # User provided name for this transform instance.
1026 &quot;outputCollectionName&quot;: [ # User names for all collection outputs to this transform.
1027 &quot;A String&quot;,
1028 ],
1029 &quot;kind&quot;: &quot;A String&quot;, # Type of transform.
1030 &quot;displayData&quot;: [ # Transform-specific display data.
1031 { # Data provided with a pipeline or transform to provide descriptive info.
1032 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
1033 &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.
1034 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
1035 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
1036 &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.
1037 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
1038 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
1039 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
1040 &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.
1041 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
1042 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
1043 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
1044 },
1045 ],
1046 },
1047 ],
1048 &quot;displayData&quot;: [ # Pipeline level display data.
1049 { # Data provided with a pipeline or transform to provide descriptive info.
1050 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
1051 &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.
1052 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
1053 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
1054 &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.
1055 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
1056 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
1057 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
1058 &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.
1059 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
1060 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
1061 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
1062 },
1063 ],
1064 },
1065 &quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
1066 &quot;a_key&quot;: &quot;A String&quot;,
1067 },
1068 &quot;stepsLocation&quot;: &quot;A String&quot;, # The GCS location where the steps are stored.
1069 }</pre>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001070</div>
1071
1072<div class="method">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001073 <code class="details" id="get">get(projectId, jobId, location=None, view=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001074 <pre>Gets the state of the specified Cloud Dataflow job. To get the state of a job, we recommend using `projects.locations.jobs.get` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.get` is not recommended, as you can only get the state of jobs that are running in `us-central1`.
1075
1076Args:
1077 projectId: string, The ID of the Cloud Platform project that the job belongs to. (required)
1078 jobId: string, The job ID. (required)
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001079 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 -07001080 view: string, The level of information requested in response.
1081 Allowed values
1082 JOB_VIEW_UNKNOWN - The job view to return isn&#x27;t specified, or is unknown. Responses will contain at least the `JOB_VIEW_SUMMARY` information, and may contain additional information.
1083 JOB_VIEW_SUMMARY - Request summary information only: Project ID, Job ID, job name, job type, job status, start/end time, and Cloud SDK version details.
1084 JOB_VIEW_ALL - Request all information available for this job.
1085 JOB_VIEW_DESCRIPTION - Request summary info and limited job description data for steps, labels and environment.
1086 x__xgafv: string, V1 error format.
1087 Allowed values
1088 1 - v1 error format
1089 2 - v2 error format
1090
1091Returns:
1092 An object of the form:
1093
1094 { # Defines a job to be run by the Cloud Dataflow service.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001095 &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.
1096 &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.
1097 { # 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.
1098 &quot;kind&quot;: &quot;A String&quot;, # The kind of step in the Cloud Dataflow job.
1099 &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.
1100 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1101 },
1102 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001103 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001104 ],
1105 &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.
1106 &quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
1107 &quot;flexResourceSchedulingGoal&quot;: &quot;A String&quot;, # Which Flexible Resource Scheduling mode to run in.
1108 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Identity to run virtual machines as. Defaults to the default account.
1109 &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}
1110 &quot;userAgent&quot;: { # A description of the process that generated the request.
1111 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001112 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001113 &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
1114 &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.
1115 &quot;experiments&quot;: [ # The list of experiments to enable.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001116 &quot;A String&quot;,
1117 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001118 &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.
1119 { # 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.
1120 &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.
1121 &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.
1122 &quot;parallelWorkerSettings&quot;: { # Provides data to pass through to the worker harness. # The settings to pass to the parallel worker harness.
1123 &quot;workerId&quot;: &quot;A String&quot;, # The ID of the worker running this pipeline.
1124 &quot;reportingEnabled&quot;: True or False, # Whether to send work progress updates to the service.
1125 &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;
1126 &quot;shuffleServicePath&quot;: &quot;A String&quot;, # The Shuffle service path relative to the root URL, for example, &quot;shuffle/v1beta1&quot;.
1127 &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}
1128 &quot;servicePath&quot;: &quot;A String&quot;, # The Cloud Dataflow service path relative to the root URL, for example, &quot;dataflow/v1b3/projects&quot;.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001129 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001130 &quot;logToSerialconsole&quot;: True or False, # Whether to send taskrunner log info to Google Compute Engine VM serial console.
1131 &quot;dataflowApiVersion&quot;: &quot;A String&quot;, # The API version of endpoint, e.g. &quot;v1b3&quot;
1132 &quot;commandlinesFileName&quot;: &quot;A String&quot;, # The file to store preprocessing commands in.
1133 &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;.
1134 &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}
1135 &quot;oauthScopes&quot;: [ # The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001136 &quot;A String&quot;,
1137 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001138 &quot;vmId&quot;: &quot;A String&quot;, # The ID string of the VM.
1139 &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;
1140 &quot;workflowFileName&quot;: &quot;A String&quot;, # The file to store the workflow in.
1141 &quot;languageHint&quot;: &quot;A String&quot;, # The suggested backend language.
1142 &quot;alsologtostderr&quot;: True or False, # Whether to also send taskrunner log info to stderr.
1143 &quot;streamingWorkerMainClass&quot;: &quot;A String&quot;, # The streaming worker main class name.
1144 &quot;harnessCommand&quot;: &quot;A String&quot;, # The command to launch the worker harness.
1145 &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}
1146 &quot;logDir&quot;: &quot;A String&quot;, # The directory on the VM to store logs.
1147 &quot;continueOnException&quot;: True or False, # Whether to continue taskrunner if an exception is hit.
1148 &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;.
1149 &quot;baseTaskDir&quot;: &quot;A String&quot;, # The location on the worker for task-specific subdirectories.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001150 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001151 &quot;diskSourceImage&quot;: &quot;A String&quot;, # Fully qualified source image for disks.
1152 &quot;metadata&quot;: { # Metadata to set on the Google Compute Engine VMs.
1153 &quot;a_key&quot;: &quot;A String&quot;,
1154 },
1155 &quot;dataDisks&quot;: [ # Data disks that are used by a VM in this workflow.
1156 { # Describes the data disk used by a workflow job.
1157 &quot;sizeGb&quot;: 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
1158 &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
1159 &quot;mountPoint&quot;: &quot;A String&quot;, # Directory in a VM where disk is mounted.
1160 },
1161 ],
1162 &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.
1163 &quot;packages&quot;: [ # Packages to be installed on workers.
1164 { # 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.
1165 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
1166 &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/
1167 },
1168 ],
1169 &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.
1170 { # Defines a SDK harness container for executing Dataflow pipelines.
1171 &quot;containerImage&quot;: &quot;A String&quot;, # A docker container image that resides in Google Container Registry.
1172 &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.
1173 },
1174 ],
1175 &quot;kind&quot;: &quot;A String&quot;, # The kind of the worker pool; currently only `harness` and `shuffle` are supported.
1176 &quot;autoscalingSettings&quot;: { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
1177 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for autoscaling.
1178 &quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap scaling at.
1179 },
1180 &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.
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;diskSizeGb&quot;: 42, # Size of root disk for VMs, in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
1183 &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.
1184 &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.
1185 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # The action to take on host maintenance, as defined by the Google Compute Engine API.
1186 &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;.
1187 &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).
1188 &quot;poolArgs&quot;: { # Extra arguments for this worker pool.
1189 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1190 },
1191 &quot;ipConfiguration&quot;: &quot;A String&quot;, # Configuration for VM IPs.
1192 &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.
1193 &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;.
1194 },
1195 ],
1196 &quot;internalExperiments&quot;: { # Experimental settings.
1197 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1198 },
1199 &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.
1200 &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;.
1201 &quot;version&quot;: { # A structure describing which components and their versions of the service are required in order to run the job.
1202 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1203 },
1204 &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.
1205 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1206 },
1207 &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}
1208 },
1209 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
1210 &quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
1211 &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}
1212 &quot;A String&quot;,
1213 ],
1214 &quot;executionInfo&quot;: { # Additional information about how a Cloud Dataflow job will be executed that isn&#x27;t contained in the submitted job. # Deprecated.
1215 &quot;stages&quot;: { # A mapping from each stage to the information about that stage.
1216 &quot;a_key&quot;: { # Contains information about how a particular google.dataflow.v1beta3.Step will be executed.
1217 &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.
1218 &quot;A String&quot;,
1219 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001220 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001221 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001222 },
1223 &quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
1224 &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.
1225 &quot;sdkVersion&quot;: { # The version of the SDK used to run the job. # The SDK version used to run the job.
1226 &quot;sdkSupportStatus&quot;: &quot;A String&quot;, # The support status for this SDK version.
1227 &quot;version&quot;: &quot;A String&quot;, # The version of the SDK used to run the job.
1228 &quot;versionDisplayName&quot;: &quot;A String&quot;, # A readable string describing the version of the SDK.
1229 },
1230 &quot;bigqueryDetails&quot;: [ # Identification of a BigQuery source used in the Dataflow job.
1231 { # Metadata for a BigQuery connector used by the job.
1232 &quot;query&quot;: &quot;A String&quot;, # Query used to access data in the connection.
1233 &quot;projectId&quot;: &quot;A String&quot;, # Project accessed in the connection.
1234 &quot;table&quot;: &quot;A String&quot;, # Table accessed in the connection.
1235 &quot;dataset&quot;: &quot;A String&quot;, # Dataset accessed in the connection.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001236 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001237 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001238 &quot;datastoreDetails&quot;: [ # Identification of a Datastore source used in the Dataflow job.
1239 { # Metadata for a Datastore connector used by the job.
1240 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
1241 &quot;namespace&quot;: &quot;A String&quot;, # Namespace used in the connection.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001242 },
1243 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001244 &quot;fileDetails&quot;: [ # Identification of a File source used in the Dataflow job.
1245 { # Metadata for a File connector used by the job.
1246 &quot;filePattern&quot;: &quot;A String&quot;, # File Pattern used to access files by the connector.
1247 },
1248 ],
1249 &quot;spannerDetails&quot;: [ # Identification of a Spanner source used in the Dataflow job.
1250 { # Metadata for a Spanner connector used by the job.
1251 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
1252 &quot;databaseId&quot;: &quot;A String&quot;, # DatabaseId accessed in the connection.
1253 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
1254 },
1255 ],
1256 &quot;pubsubDetails&quot;: [ # Identification of a PubSub source used in the Dataflow job.
1257 { # Metadata for a PubSub connector used by the job.
1258 &quot;topic&quot;: &quot;A String&quot;, # Topic accessed in the connection.
1259 &quot;subscription&quot;: &quot;A String&quot;, # Subscription used in the connection.
1260 },
1261 ],
1262 &quot;bigTableDetails&quot;: [ # Identification of a BigTable source used in the Dataflow job.
1263 { # Metadata for a BigTable connector used by the job.
1264 &quot;tableId&quot;: &quot;A String&quot;, # TableId accessed in the connection.
1265 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
1266 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
1267 },
1268 ],
1269 },
1270 &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.
1271 &quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
1272 &quot;stageStates&quot;: [ # This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
1273 { # A message describing the state of a particular execution stage.
1274 &quot;executionStageState&quot;: &quot;A String&quot;, # Executions stage states allow the same set of values as JobState.
1275 &quot;executionStageName&quot;: &quot;A String&quot;, # The name of the execution stage.
1276 &quot;currentStateTime&quot;: &quot;A String&quot;, # The time at which the stage transitioned to this state.
1277 },
1278 ],
1279 &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])?`
1280 &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.
1281 &quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
1282 &quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
1283 &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.
1284 &quot;a_key&quot;: &quot;A String&quot;,
1285 },
1286 &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.
1287 &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.
1288 &quot;requestedState&quot;: &quot;A String&quot;, # The job&#x27;s requested state. `UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and `JOB_STATE_RUNNING` states, by setting requested_state. `UpdateJob` may also be used to directly set a job&#x27;s requested state to `JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the job if it has not already reached a terminal state.
1289 &quot;pipelineDescription&quot;: { # A descriptive representation of submitted pipeline as well as the executed form. This data is provided by the Dataflow service for ease of visualizing the pipeline and interpreting Dataflow provided metrics. # Preliminary field: The format of this data may change at any time. A description of the user pipeline and stages through which it is executed. Created by Cloud Dataflow service. Only retrieved with JOB_VIEW_DESCRIPTION or JOB_VIEW_ALL.
1290 &quot;executionPipelineStage&quot;: [ # Description of each stage of execution of the pipeline.
1291 { # Description of the composing transforms, names/ids, and input/outputs of a stage of execution. Some composing transforms and sources may have been generated by the Dataflow service during execution planning.
1292 &quot;kind&quot;: &quot;A String&quot;, # Type of tranform this stage is executing.
1293 &quot;id&quot;: &quot;A String&quot;, # Dataflow service generated id for this stage.
1294 &quot;componentTransform&quot;: [ # Transforms that comprise this execution stage.
1295 { # Description of a transform executed as part of an execution stage.
1296 &quot;originalTransform&quot;: &quot;A String&quot;, # User name for the original user transform with which this transform is most closely associated.
1297 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1298 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
1299 },
1300 ],
1301 &quot;prerequisiteStage&quot;: [ # Other stages that must complete before this stage can run.
1302 &quot;A String&quot;,
1303 ],
1304 &quot;outputSource&quot;: [ # Output sources for this stage.
1305 { # Description of an input or output of an execution stage.
1306 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1307 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
1308 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
1309 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1310 },
1311 ],
1312 &quot;inputSource&quot;: [ # Input sources for this stage.
1313 { # Description of an input or output of an execution stage.
1314 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1315 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
1316 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
1317 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1318 },
1319 ],
1320 &quot;componentSource&quot;: [ # Collections produced and consumed by component transforms of this stage.
1321 { # Description of an interstitial value between transforms in an execution stage.
1322 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
1323 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1324 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1325 },
1326 ],
1327 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this stage.
1328 },
1329 ],
1330 &quot;originalPipelineTransform&quot;: [ # Description of each transform in the pipeline and collections between them.
1331 { # Description of the type, names/ids, and input/outputs for a transform.
1332 &quot;inputCollectionName&quot;: [ # User names for all collection inputs to this transform.
1333 &quot;A String&quot;,
1334 ],
1335 &quot;id&quot;: &quot;A String&quot;, # SDK generated id of this transform instance.
1336 &quot;name&quot;: &quot;A String&quot;, # User provided name for this transform instance.
1337 &quot;outputCollectionName&quot;: [ # User names for all collection outputs to this transform.
1338 &quot;A String&quot;,
1339 ],
1340 &quot;kind&quot;: &quot;A String&quot;, # Type of transform.
1341 &quot;displayData&quot;: [ # Transform-specific display data.
1342 { # Data provided with a pipeline or transform to provide descriptive info.
1343 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
1344 &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.
1345 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
1346 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
1347 &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.
1348 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
1349 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
1350 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
1351 &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.
1352 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
1353 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
1354 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
1355 },
1356 ],
1357 },
1358 ],
1359 &quot;displayData&quot;: [ # Pipeline level display data.
1360 { # Data provided with a pipeline or transform to provide descriptive info.
1361 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
1362 &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.
1363 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
1364 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
1365 &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.
1366 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
1367 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
1368 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
1369 &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.
1370 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
1371 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
1372 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
1373 },
1374 ],
1375 },
1376 &quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
1377 &quot;a_key&quot;: &quot;A String&quot;,
1378 },
1379 &quot;stepsLocation&quot;: &quot;A String&quot;, # The GCS location where the steps are stored.
1380 }</pre>
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001381</div>
1382
1383<div class="method">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001384 <code class="details" id="getMetrics">getMetrics(projectId, jobId, startTime=None, location=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001385 <pre>Request the job status. To request the status of a job, we recommend using `projects.locations.jobs.getMetrics` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.getMetrics` is not recommended, as you can only request the status of jobs that are running in `us-central1`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001386
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001387Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001388 projectId: string, A project id. (required)
1389 jobId: string, The job to get metrics for. (required)
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001390 startTime: string, Return only metric data that has changed since this time. Default is to return all information about all metrics for the job.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001391 location: string, The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.
Takashi Matsuo06694102015-09-11 13:55:40 -07001392 x__xgafv: string, V1 error format.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001393 Allowed values
1394 1 - v1 error format
1395 2 - v2 error format
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001396
1397Returns:
1398 An object of the form:
1399
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001400 { # JobMetrics contains a collection of metrics describing the detailed progress of a Dataflow job. Metrics correspond to user-defined and system-defined metrics in the job. This resource captures only the most recent values of each metric; time-series data can be queried for them (under the same metric names) from Cloud Monitoring.
1401 &quot;metrics&quot;: [ # All metrics for this job.
1402 { # Describes the state of a metric.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001403 &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.
1404 &quot;internal&quot;: &quot;&quot;, # Worker-computed aggregate value for internal use by the Dataflow service.
1405 &quot;meanSum&quot;: &quot;&quot;, # Worker-computed aggregate value for the &quot;Mean&quot; aggregation kind. This holds the sum of the aggregated values and is used in combination with mean_count below to obtain the actual mean aggregate value. The only possible value types are Long and Double.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001406 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001407 &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.
1408 &quot;distribution&quot;: &quot;&quot;, # A struct value describing properties of a distribution of numeric values.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001409 &quot;name&quot;: { # Identifies a metric, by describing the source which generated the metric. # Name of the metric.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001410 &quot;context&quot;: { # Zero or more labeled fields which identify the part of the job this metric is associated with, such as the name of a step or collection. For example, built-in counters associated with steps will have context[&#x27;step&#x27;] = . Counters associated with PCollections in the SDK will have context[&#x27;pcollection&#x27;] = .
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001411 &quot;a_key&quot;: &quot;A String&quot;,
1412 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001413 &quot;name&quot;: &quot;A String&quot;, # Worker-defined metric name.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001414 &quot;origin&quot;: &quot;A String&quot;, # Origin (namespace) of metric name. May be blank for user-define metrics; will be &quot;dataflow&quot; for metrics defined by the Dataflow service or SDK.
Bu Sun Kim65020912020-05-20 12:08:20 -07001415 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001416 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001417 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001418 &quot;cumulative&quot;: True or False, # True if this metric is reported as the total cumulative aggregate value accumulated since the worker started working on this WorkItem. By default this is false, indicating that this metric is reported as a delta that is not associated with any WorkItem.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001419 &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.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001420 },
1421 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001422 &quot;metricTime&quot;: &quot;A String&quot;, # Timestamp as of which metric values are current.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001423 }</pre>
1424</div>
1425
1426<div class="method">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001427 <code class="details" id="list">list(projectId, view=None, pageSize=None, location=None, pageToken=None, filter=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001428 <pre>List the jobs of a project. To list the jobs of a project in a region, we recommend using `projects.locations.jobs.list` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). To list the all jobs across all regions, use `projects.jobs.aggregated`. Using `projects.jobs.list` is not recommended, as you can only get the list of jobs that are running in `us-central1`.
1429
1430Args:
1431 projectId: string, The project which owns the jobs. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001432 view: string, Level of information requested in response. Default is `JOB_VIEW_SUMMARY`.
1433 Allowed values
1434 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.
1435 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.
1436 JOB_VIEW_ALL - Request all information available for this job.
1437 JOB_VIEW_DESCRIPTION - Request summary info and limited job description data for steps, labels and environment.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001438 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.
1439 location: string, The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001440 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 Automation Botb6971b02020-11-26 17:16:03 -08001441 filter: string, The kind of filter to use.
1442 Allowed values
1443 UNKNOWN - The filter isn&#x27;t specified, or is unknown. This returns all jobs ordered on descending `JobUuid`.
1444 ALL - Returns all running jobs first ordered on creation timestamp, then returns all terminated jobs ordered on the termination timestamp.
1445 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.
1446 ACTIVE - Filters the jobs that are running ordered on the creation timestamp.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001447 x__xgafv: string, V1 error format.
1448 Allowed values
1449 1 - v1 error format
1450 2 - v2 error format
1451
1452Returns:
1453 An object of the form:
1454
1455 { # Response to a request to list Cloud Dataflow jobs in a project. This might be a partial response, depending on the page size in the ListJobsRequest. However, if the project does not have any jobs, an instance of ListJobsResponse is not returned and the requests&#x27;s response body is empty {}.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001456 &quot;jobs&quot;: [ # A subset of the requested job information.
1457 { # Defines a job to be run by the Cloud Dataflow service.
1458 &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.
1459 &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.
1460 { # 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.
1461 &quot;kind&quot;: &quot;A String&quot;, # The kind of step in the Cloud Dataflow job.
1462 &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.
1463 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1464 },
1465 &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.
1466 },
1467 ],
1468 &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.
1469 &quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
1470 &quot;flexResourceSchedulingGoal&quot;: &quot;A String&quot;, # Which Flexible Resource Scheduling mode to run in.
1471 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Identity to run virtual machines as. Defaults to the default account.
1472 &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}
1473 &quot;userAgent&quot;: { # A description of the process that generated the request.
1474 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1475 },
1476 &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
1477 &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.
1478 &quot;experiments&quot;: [ # The list of experiments to enable.
1479 &quot;A String&quot;,
1480 ],
1481 &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.
1482 { # 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.
1483 &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.
1484 &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.
1485 &quot;parallelWorkerSettings&quot;: { # Provides data to pass through to the worker harness. # The settings to pass to the parallel worker harness.
1486 &quot;workerId&quot;: &quot;A String&quot;, # The ID of the worker running this pipeline.
1487 &quot;reportingEnabled&quot;: True or False, # Whether to send work progress updates to the service.
1488 &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;
1489 &quot;shuffleServicePath&quot;: &quot;A String&quot;, # The Shuffle service path relative to the root URL, for example, &quot;shuffle/v1beta1&quot;.
1490 &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}
1491 &quot;servicePath&quot;: &quot;A String&quot;, # The Cloud Dataflow service path relative to the root URL, for example, &quot;dataflow/v1b3/projects&quot;.
1492 },
1493 &quot;logToSerialconsole&quot;: True or False, # Whether to send taskrunner log info to Google Compute Engine VM serial console.
1494 &quot;dataflowApiVersion&quot;: &quot;A String&quot;, # The API version of endpoint, e.g. &quot;v1b3&quot;
1495 &quot;commandlinesFileName&quot;: &quot;A String&quot;, # The file to store preprocessing commands in.
1496 &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;.
1497 &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}
1498 &quot;oauthScopes&quot;: [ # The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
1499 &quot;A String&quot;,
1500 ],
1501 &quot;vmId&quot;: &quot;A String&quot;, # The ID string of the VM.
1502 &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;
1503 &quot;workflowFileName&quot;: &quot;A String&quot;, # The file to store the workflow in.
1504 &quot;languageHint&quot;: &quot;A String&quot;, # The suggested backend language.
1505 &quot;alsologtostderr&quot;: True or False, # Whether to also send taskrunner log info to stderr.
1506 &quot;streamingWorkerMainClass&quot;: &quot;A String&quot;, # The streaming worker main class name.
1507 &quot;harnessCommand&quot;: &quot;A String&quot;, # The command to launch the worker harness.
1508 &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}
1509 &quot;logDir&quot;: &quot;A String&quot;, # The directory on the VM to store logs.
1510 &quot;continueOnException&quot;: True or False, # Whether to continue taskrunner if an exception is hit.
1511 &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;.
1512 &quot;baseTaskDir&quot;: &quot;A String&quot;, # The location on the worker for task-specific subdirectories.
1513 },
1514 &quot;diskSourceImage&quot;: &quot;A String&quot;, # Fully qualified source image for disks.
1515 &quot;metadata&quot;: { # Metadata to set on the Google Compute Engine VMs.
1516 &quot;a_key&quot;: &quot;A String&quot;,
1517 },
1518 &quot;dataDisks&quot;: [ # Data disks that are used by a VM in this workflow.
1519 { # Describes the data disk used by a workflow job.
1520 &quot;sizeGb&quot;: 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
1521 &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
1522 &quot;mountPoint&quot;: &quot;A String&quot;, # Directory in a VM where disk is mounted.
1523 },
1524 ],
1525 &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.
1526 &quot;packages&quot;: [ # Packages to be installed on workers.
1527 { # 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.
1528 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
1529 &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/
1530 },
1531 ],
1532 &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.
1533 { # Defines a SDK harness container for executing Dataflow pipelines.
1534 &quot;containerImage&quot;: &quot;A String&quot;, # A docker container image that resides in Google Container Registry.
1535 &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.
1536 },
1537 ],
1538 &quot;kind&quot;: &quot;A String&quot;, # The kind of the worker pool; currently only `harness` and `shuffle` are supported.
1539 &quot;autoscalingSettings&quot;: { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
1540 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for autoscaling.
1541 &quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap scaling at.
1542 },
1543 &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.
1544 &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.
1545 &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.
1546 &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.
1547 &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.
1548 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # The action to take on host maintenance, as defined by the Google Compute Engine API.
1549 &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;.
1550 &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).
1551 &quot;poolArgs&quot;: { # Extra arguments for this worker pool.
1552 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1553 },
1554 &quot;ipConfiguration&quot;: &quot;A String&quot;, # Configuration for VM IPs.
1555 &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.
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 },
1558 ],
1559 &quot;internalExperiments&quot;: { # Experimental settings.
1560 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1561 },
1562 &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.
1563 &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;.
1564 &quot;version&quot;: { # A structure describing which components and their versions of the service are required in order to run the job.
1565 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1566 },
1567 &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.
1568 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1569 },
1570 &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}
1571 },
1572 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
1573 &quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
1574 &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}
1575 &quot;A String&quot;,
1576 ],
1577 &quot;executionInfo&quot;: { # Additional information about how a Cloud Dataflow job will be executed that isn&#x27;t contained in the submitted job. # Deprecated.
1578 &quot;stages&quot;: { # A mapping from each stage to the information about that stage.
1579 &quot;a_key&quot;: { # Contains information about how a particular google.dataflow.v1beta3.Step will be executed.
1580 &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.
1581 &quot;A String&quot;,
1582 ],
1583 },
1584 },
1585 },
1586 &quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
1587 &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.
1588 &quot;sdkVersion&quot;: { # The version of the SDK used to run the job. # The SDK version used to run the job.
1589 &quot;sdkSupportStatus&quot;: &quot;A String&quot;, # The support status for this SDK version.
1590 &quot;version&quot;: &quot;A String&quot;, # The version of the SDK used to run the job.
1591 &quot;versionDisplayName&quot;: &quot;A String&quot;, # A readable string describing the version of the SDK.
1592 },
1593 &quot;bigqueryDetails&quot;: [ # Identification of a BigQuery source used in the Dataflow job.
1594 { # Metadata for a BigQuery connector used by the job.
1595 &quot;query&quot;: &quot;A String&quot;, # Query used to access data in the connection.
1596 &quot;projectId&quot;: &quot;A String&quot;, # Project accessed in the connection.
1597 &quot;table&quot;: &quot;A String&quot;, # Table accessed in the connection.
1598 &quot;dataset&quot;: &quot;A String&quot;, # Dataset accessed in the connection.
1599 },
1600 ],
1601 &quot;datastoreDetails&quot;: [ # Identification of a Datastore source used in the Dataflow job.
1602 { # Metadata for a Datastore connector used by the job.
1603 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
1604 &quot;namespace&quot;: &quot;A String&quot;, # Namespace used in the connection.
1605 },
1606 ],
1607 &quot;fileDetails&quot;: [ # Identification of a File source used in the Dataflow job.
1608 { # Metadata for a File connector used by the job.
1609 &quot;filePattern&quot;: &quot;A String&quot;, # File Pattern used to access files by the connector.
1610 },
1611 ],
1612 &quot;spannerDetails&quot;: [ # Identification of a Spanner source used in the Dataflow job.
1613 { # Metadata for a Spanner connector used by the job.
1614 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
1615 &quot;databaseId&quot;: &quot;A String&quot;, # DatabaseId accessed in the connection.
1616 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
1617 },
1618 ],
1619 &quot;pubsubDetails&quot;: [ # Identification of a PubSub source used in the Dataflow job.
1620 { # Metadata for a PubSub connector used by the job.
1621 &quot;topic&quot;: &quot;A String&quot;, # Topic accessed in the connection.
1622 &quot;subscription&quot;: &quot;A String&quot;, # Subscription used in the connection.
1623 },
1624 ],
1625 &quot;bigTableDetails&quot;: [ # Identification of a BigTable source used in the Dataflow job.
1626 { # Metadata for a BigTable connector used by the job.
1627 &quot;tableId&quot;: &quot;A String&quot;, # TableId accessed in the connection.
1628 &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 },
1631 ],
1632 },
1633 &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.
1634 &quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
1635 &quot;stageStates&quot;: [ # This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
1636 { # A message describing the state of a particular execution stage.
1637 &quot;executionStageState&quot;: &quot;A String&quot;, # Executions stage states allow the same set of values as JobState.
1638 &quot;executionStageName&quot;: &quot;A String&quot;, # The name of the execution stage.
1639 &quot;currentStateTime&quot;: &quot;A String&quot;, # The time at which the stage transitioned to this state.
1640 },
1641 ],
1642 &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])?`
1643 &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.
1644 &quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
1645 &quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
1646 &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.
1647 &quot;a_key&quot;: &quot;A String&quot;,
1648 },
1649 &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.
1650 &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.
1651 &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.
1652 &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.
1653 &quot;executionPipelineStage&quot;: [ # Description of each stage of execution of the pipeline.
1654 { # 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.
1655 &quot;kind&quot;: &quot;A String&quot;, # Type of tranform this stage is executing.
1656 &quot;id&quot;: &quot;A String&quot;, # Dataflow service generated id for this stage.
1657 &quot;componentTransform&quot;: [ # Transforms that comprise this execution stage.
1658 { # Description of a transform executed as part of an execution stage.
1659 &quot;originalTransform&quot;: &quot;A String&quot;, # User name for the original user transform with which this transform is most closely associated.
1660 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1661 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
1662 },
1663 ],
1664 &quot;prerequisiteStage&quot;: [ # Other stages that must complete before this stage can run.
1665 &quot;A String&quot;,
1666 ],
1667 &quot;outputSource&quot;: [ # Output sources for this stage.
1668 { # Description of an input or output of an execution stage.
1669 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1670 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
1671 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
1672 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1673 },
1674 ],
1675 &quot;inputSource&quot;: [ # Input sources for this stage.
1676 { # Description of an input or output of an execution stage.
1677 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1678 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
1679 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
1680 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1681 },
1682 ],
1683 &quot;componentSource&quot;: [ # Collections produced and consumed by component transforms of this stage.
1684 { # Description of an interstitial value between transforms in an execution stage.
1685 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
1686 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
1687 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
1688 },
1689 ],
1690 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this stage.
1691 },
1692 ],
1693 &quot;originalPipelineTransform&quot;: [ # Description of each transform in the pipeline and collections between them.
1694 { # Description of the type, names/ids, and input/outputs for a transform.
1695 &quot;inputCollectionName&quot;: [ # User names for all collection inputs to this transform.
1696 &quot;A String&quot;,
1697 ],
1698 &quot;id&quot;: &quot;A String&quot;, # SDK generated id of this transform instance.
1699 &quot;name&quot;: &quot;A String&quot;, # User provided name for this transform instance.
1700 &quot;outputCollectionName&quot;: [ # User names for all collection outputs to this transform.
1701 &quot;A String&quot;,
1702 ],
1703 &quot;kind&quot;: &quot;A String&quot;, # Type of transform.
1704 &quot;displayData&quot;: [ # Transform-specific display data.
1705 { # Data provided with a pipeline or transform to provide descriptive info.
1706 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
1707 &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.
1708 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
1709 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
1710 &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.
1711 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
1712 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
1713 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
1714 &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.
1715 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
1716 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
1717 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
1718 },
1719 ],
1720 },
1721 ],
1722 &quot;displayData&quot;: [ # Pipeline level display data.
1723 { # Data provided with a pipeline or transform to provide descriptive info.
1724 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
1725 &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.
1726 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
1727 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
1728 &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.
1729 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
1730 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
1731 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
1732 &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.
1733 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
1734 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
1735 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
1736 },
1737 ],
1738 },
1739 &quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
1740 &quot;a_key&quot;: &quot;A String&quot;,
1741 },
1742 &quot;stepsLocation&quot;: &quot;A String&quot;, # The GCS location where the steps are stored.
1743 },
1744 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001745 &quot;failedLocation&quot;: [ # Zero or more messages describing the [regional endpoints] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that failed to respond.
1746 { # Indicates which [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) failed to respond to a request for data.
1747 &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.
1748 },
1749 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001750 &quot;nextPageToken&quot;: &quot;A String&quot;, # Set if there may be more results than fit in this response.
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001751 }</pre>
1752</div>
1753
1754<div class="method">
1755 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
1756 <pre>Retrieves the next page of results.
1757
1758Args:
1759 previous_request: The request for the previous page. (required)
1760 previous_response: The response from the request for the previous page. (required)
1761
1762Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -07001763 A request object that you can call &#x27;execute()&#x27; on to request the next
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001764 page. Returns None if there are no more items in the collection.
1765 </pre>
1766</div>
1767
1768<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07001769 <code class="details" id="snapshot">snapshot(projectId, jobId, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001770 <pre>Snapshot the state of a streaming job.
1771
1772Args:
1773 projectId: string, The project which owns the job to be snapshotted. (required)
1774 jobId: string, The job to be snapshotted. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07001775 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001776 The object takes the form of:
1777
1778{ # Request to create a snapshot of a job.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001779 &quot;ttl&quot;: &quot;A String&quot;, # TTL for the snapshot.
1780 &quot;location&quot;: &quot;A String&quot;, # The location that contains this job.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001781 &quot;description&quot;: &quot;A String&quot;, # User specified description of the snapshot. Maybe empty.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001782 &quot;snapshotSources&quot;: True or False, # If true, perform snapshots for sources which support this.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001783 }
1784
1785 x__xgafv: string, V1 error format.
1786 Allowed values
1787 1 - v1 error format
1788 2 - v2 error format
1789
1790Returns:
1791 An object of the form:
1792
1793 { # Represents a snapshot of a job.
Bu Sun Kim65020912020-05-20 12:08:20 -07001794 &quot;pubsubMetadata&quot;: [ # PubSub snapshot metadata.
Dan O'Mearadd494642020-05-01 07:42:23 -07001795 { # Represents a Pubsub snapshot.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001796 &quot;snapshotName&quot;: &quot;A String&quot;, # The name of the Pubsub snapshot.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001797 &quot;topicName&quot;: &quot;A String&quot;, # The name of the Pubsub topic.
1798 &quot;expireTime&quot;: &quot;A String&quot;, # The expire time of the Pubsub snapshot.
Dan O'Mearadd494642020-05-01 07:42:23 -07001799 },
1800 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001801 &quot;creationTime&quot;: &quot;A String&quot;, # The time this snapshot was created.
1802 &quot;id&quot;: &quot;A String&quot;, # The unique ID of this snapshot.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001803 &quot;diskSizeBytes&quot;: &quot;A String&quot;, # The disk byte size of the snapshot. Only available for snapshots in READY state.
1804 &quot;projectId&quot;: &quot;A String&quot;, # The project this snapshot belongs to.
1805 &quot;state&quot;: &quot;A String&quot;, # State of the snapshot.
1806 &quot;ttl&quot;: &quot;A String&quot;, # The time after which this snapshot will be automatically deleted.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001807 &quot;description&quot;: &quot;A String&quot;, # User specified description of the snapshot. Maybe empty.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001808 &quot;sourceJobId&quot;: &quot;A String&quot;, # The job this snapshot was created from.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001809 }</pre>
1810</div>
1811
1812<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07001813 <code class="details" id="update">update(projectId, jobId, body=None, location=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001814 <pre>Updates the state of an existing Cloud Dataflow job. To update the state of an existing job, we recommend using `projects.locations.jobs.update` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.update` is not recommended, as you can only update the state of jobs that are running in `us-central1`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001815
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001816Args:
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001817 projectId: string, The ID of the Cloud Platform project that the job belongs to. (required)
1818 jobId: string, The job ID. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07001819 body: object, The request body.
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001820 The object takes the form of:
1821
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001822{ # Defines a job to be run by the Cloud Dataflow service.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001823 &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.
1824 &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.
1825 { # 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.
1826 &quot;kind&quot;: &quot;A String&quot;, # The kind of step in the Cloud Dataflow job.
1827 &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.
1828 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1829 },
1830 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001831 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001832 ],
1833 &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.
1834 &quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
1835 &quot;flexResourceSchedulingGoal&quot;: &quot;A String&quot;, # Which Flexible Resource Scheduling mode to run in.
1836 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Identity to run virtual machines as. Defaults to the default account.
1837 &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}
1838 &quot;userAgent&quot;: { # A description of the process that generated the request.
1839 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001840 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001841 &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
1842 &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.
1843 &quot;experiments&quot;: [ # The list of experiments to enable.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001844 &quot;A String&quot;,
1845 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001846 &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.
1847 { # 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.
1848 &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.
1849 &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.
1850 &quot;parallelWorkerSettings&quot;: { # Provides data to pass through to the worker harness. # The settings to pass to the parallel worker harness.
1851 &quot;workerId&quot;: &quot;A String&quot;, # The ID of the worker running this pipeline.
1852 &quot;reportingEnabled&quot;: True or False, # Whether to send work progress updates to the service.
1853 &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;
1854 &quot;shuffleServicePath&quot;: &quot;A String&quot;, # The Shuffle service path relative to the root URL, for example, &quot;shuffle/v1beta1&quot;.
1855 &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}
1856 &quot;servicePath&quot;: &quot;A String&quot;, # The Cloud Dataflow service path relative to the root URL, for example, &quot;dataflow/v1b3/projects&quot;.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001857 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001858 &quot;logToSerialconsole&quot;: True or False, # Whether to send taskrunner log info to Google Compute Engine VM serial console.
1859 &quot;dataflowApiVersion&quot;: &quot;A String&quot;, # The API version of endpoint, e.g. &quot;v1b3&quot;
1860 &quot;commandlinesFileName&quot;: &quot;A String&quot;, # The file to store preprocessing commands in.
1861 &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;.
1862 &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}
1863 &quot;oauthScopes&quot;: [ # The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001864 &quot;A String&quot;,
1865 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001866 &quot;vmId&quot;: &quot;A String&quot;, # The ID string of the VM.
1867 &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;
1868 &quot;workflowFileName&quot;: &quot;A String&quot;, # The file to store the workflow in.
1869 &quot;languageHint&quot;: &quot;A String&quot;, # The suggested backend language.
1870 &quot;alsologtostderr&quot;: True or False, # Whether to also send taskrunner log info to stderr.
1871 &quot;streamingWorkerMainClass&quot;: &quot;A String&quot;, # The streaming worker main class name.
1872 &quot;harnessCommand&quot;: &quot;A String&quot;, # The command to launch the worker harness.
1873 &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}
1874 &quot;logDir&quot;: &quot;A String&quot;, # The directory on the VM to store logs.
1875 &quot;continueOnException&quot;: True or False, # Whether to continue taskrunner if an exception is hit.
1876 &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;.
1877 &quot;baseTaskDir&quot;: &quot;A String&quot;, # The location on the worker for task-specific subdirectories.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001878 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001879 &quot;diskSourceImage&quot;: &quot;A String&quot;, # Fully qualified source image for disks.
1880 &quot;metadata&quot;: { # Metadata to set on the Google Compute Engine VMs.
1881 &quot;a_key&quot;: &quot;A String&quot;,
1882 },
1883 &quot;dataDisks&quot;: [ # Data disks that are used by a VM in this workflow.
1884 { # Describes the data disk used by a workflow job.
1885 &quot;sizeGb&quot;: 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
1886 &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
1887 &quot;mountPoint&quot;: &quot;A String&quot;, # Directory in a VM where disk is mounted.
1888 },
1889 ],
1890 &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.
1891 &quot;packages&quot;: [ # Packages to be installed on workers.
1892 { # 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.
1893 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
1894 &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/
1895 },
1896 ],
1897 &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.
1898 { # Defines a SDK harness container for executing Dataflow pipelines.
1899 &quot;containerImage&quot;: &quot;A String&quot;, # A docker container image that resides in Google Container Registry.
1900 &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.
1901 },
1902 ],
1903 &quot;kind&quot;: &quot;A String&quot;, # The kind of the worker pool; currently only `harness` and `shuffle` are supported.
1904 &quot;autoscalingSettings&quot;: { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
1905 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for autoscaling.
1906 &quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap scaling at.
1907 },
1908 &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.
1909 &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.
1910 &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.
1911 &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.
1912 &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.
1913 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # The action to take on host maintenance, as defined by the Google Compute Engine API.
1914 &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;.
1915 &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).
1916 &quot;poolArgs&quot;: { # Extra arguments for this worker pool.
1917 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1918 },
1919 &quot;ipConfiguration&quot;: &quot;A String&quot;, # Configuration for VM IPs.
1920 &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.
1921 &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;.
1922 },
1923 ],
1924 &quot;internalExperiments&quot;: { # Experimental settings.
1925 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1926 },
1927 &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.
1928 &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;.
1929 &quot;version&quot;: { # A structure describing which components and their versions of the service are required in order to run the job.
1930 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1931 },
1932 &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.
1933 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1934 },
1935 &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}
1936 },
1937 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
1938 &quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
1939 &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}
1940 &quot;A String&quot;,
1941 ],
1942 &quot;executionInfo&quot;: { # Additional information about how a Cloud Dataflow job will be executed that isn&#x27;t contained in the submitted job. # Deprecated.
1943 &quot;stages&quot;: { # A mapping from each stage to the information about that stage.
1944 &quot;a_key&quot;: { # Contains information about how a particular google.dataflow.v1beta3.Step will be executed.
1945 &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.
1946 &quot;A String&quot;,
1947 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001948 },
1949 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001950 },
1951 &quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
1952 &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.
1953 &quot;sdkVersion&quot;: { # The version of the SDK used to run the job. # The SDK version used to run the job.
1954 &quot;sdkSupportStatus&quot;: &quot;A String&quot;, # The support status for this SDK version.
1955 &quot;version&quot;: &quot;A String&quot;, # The version of the SDK used to run the job.
1956 &quot;versionDisplayName&quot;: &quot;A String&quot;, # A readable string describing the version of the SDK.
1957 },
1958 &quot;bigqueryDetails&quot;: [ # Identification of a BigQuery source used in the Dataflow job.
1959 { # Metadata for a BigQuery connector used by the job.
1960 &quot;query&quot;: &quot;A String&quot;, # Query used to access data in the connection.
1961 &quot;projectId&quot;: &quot;A String&quot;, # Project accessed in the connection.
1962 &quot;table&quot;: &quot;A String&quot;, # Table accessed in the connection.
1963 &quot;dataset&quot;: &quot;A String&quot;, # Dataset accessed in the connection.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001964 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001965 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001966 &quot;datastoreDetails&quot;: [ # Identification of a Datastore source used in the Dataflow job.
1967 { # Metadata for a Datastore connector used by the job.
1968 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
1969 &quot;namespace&quot;: &quot;A String&quot;, # Namespace used in the connection.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001970 },
1971 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001972 &quot;fileDetails&quot;: [ # Identification of a File source used in the Dataflow job.
1973 { # Metadata for a File connector used by the job.
1974 &quot;filePattern&quot;: &quot;A String&quot;, # File Pattern used to access files by the connector.
1975 },
1976 ],
1977 &quot;spannerDetails&quot;: [ # Identification of a Spanner source used in the Dataflow job.
1978 { # Metadata for a Spanner connector used by the job.
1979 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
1980 &quot;databaseId&quot;: &quot;A String&quot;, # DatabaseId accessed in the connection.
1981 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
1982 },
1983 ],
1984 &quot;pubsubDetails&quot;: [ # Identification of a PubSub source used in the Dataflow job.
1985 { # Metadata for a PubSub connector used by the job.
1986 &quot;topic&quot;: &quot;A String&quot;, # Topic accessed in the connection.
1987 &quot;subscription&quot;: &quot;A String&quot;, # Subscription used in the connection.
1988 },
1989 ],
1990 &quot;bigTableDetails&quot;: [ # Identification of a BigTable source used in the Dataflow job.
1991 { # Metadata for a BigTable connector used by the job.
1992 &quot;tableId&quot;: &quot;A String&quot;, # TableId accessed in the connection.
1993 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
1994 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
1995 },
1996 ],
1997 },
1998 &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.
1999 &quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
2000 &quot;stageStates&quot;: [ # This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
2001 { # A message describing the state of a particular execution stage.
2002 &quot;executionStageState&quot;: &quot;A String&quot;, # Executions stage states allow the same set of values as JobState.
2003 &quot;executionStageName&quot;: &quot;A String&quot;, # The name of the execution stage.
2004 &quot;currentStateTime&quot;: &quot;A String&quot;, # The time at which the stage transitioned to this state.
2005 },
2006 ],
2007 &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])?`
2008 &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.
2009 &quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
2010 &quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
2011 &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.
2012 &quot;a_key&quot;: &quot;A String&quot;,
2013 },
2014 &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.
2015 &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.
2016 &quot;requestedState&quot;: &quot;A String&quot;, # The job&#x27;s requested state. `UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and `JOB_STATE_RUNNING` states, by setting requested_state. `UpdateJob` may also be used to directly set a job&#x27;s requested state to `JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the job if it has not already reached a terminal state.
2017 &quot;pipelineDescription&quot;: { # A descriptive representation of submitted pipeline as well as the executed form. This data is provided by the Dataflow service for ease of visualizing the pipeline and interpreting Dataflow provided metrics. # Preliminary field: The format of this data may change at any time. A description of the user pipeline and stages through which it is executed. Created by Cloud Dataflow service. Only retrieved with JOB_VIEW_DESCRIPTION or JOB_VIEW_ALL.
2018 &quot;executionPipelineStage&quot;: [ # Description of each stage of execution of the pipeline.
2019 { # Description of the composing transforms, names/ids, and input/outputs of a stage of execution. Some composing transforms and sources may have been generated by the Dataflow service during execution planning.
2020 &quot;kind&quot;: &quot;A String&quot;, # Type of tranform this stage is executing.
2021 &quot;id&quot;: &quot;A String&quot;, # Dataflow service generated id for this stage.
2022 &quot;componentTransform&quot;: [ # Transforms that comprise this execution stage.
2023 { # Description of a transform executed as part of an execution stage.
2024 &quot;originalTransform&quot;: &quot;A String&quot;, # User name for the original user transform with which this transform is most closely associated.
2025 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
2026 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
2027 },
2028 ],
2029 &quot;prerequisiteStage&quot;: [ # Other stages that must complete before this stage can run.
2030 &quot;A String&quot;,
2031 ],
2032 &quot;outputSource&quot;: [ # Output sources for this stage.
2033 { # Description of an input or output of an execution stage.
2034 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
2035 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
2036 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
2037 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
2038 },
2039 ],
2040 &quot;inputSource&quot;: [ # Input sources for this stage.
2041 { # Description of an input or output of an execution stage.
2042 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
2043 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
2044 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
2045 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
2046 },
2047 ],
2048 &quot;componentSource&quot;: [ # Collections produced and consumed by component transforms of this stage.
2049 { # Description of an interstitial value between transforms in an execution stage.
2050 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
2051 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
2052 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
2053 },
2054 ],
2055 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this stage.
2056 },
2057 ],
2058 &quot;originalPipelineTransform&quot;: [ # Description of each transform in the pipeline and collections between them.
2059 { # Description of the type, names/ids, and input/outputs for a transform.
2060 &quot;inputCollectionName&quot;: [ # User names for all collection inputs to this transform.
2061 &quot;A String&quot;,
2062 ],
2063 &quot;id&quot;: &quot;A String&quot;, # SDK generated id of this transform instance.
2064 &quot;name&quot;: &quot;A String&quot;, # User provided name for this transform instance.
2065 &quot;outputCollectionName&quot;: [ # User names for all collection outputs to this transform.
2066 &quot;A String&quot;,
2067 ],
2068 &quot;kind&quot;: &quot;A String&quot;, # Type of transform.
2069 &quot;displayData&quot;: [ # Transform-specific display data.
2070 { # Data provided with a pipeline or transform to provide descriptive info.
2071 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
2072 &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.
2073 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
2074 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
2075 &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.
2076 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
2077 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
2078 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
2079 &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.
2080 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
2081 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
2082 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
2083 },
2084 ],
2085 },
2086 ],
2087 &quot;displayData&quot;: [ # Pipeline level display data.
2088 { # Data provided with a pipeline or transform to provide descriptive info.
2089 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
2090 &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.
2091 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
2092 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
2093 &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.
2094 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
2095 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
2096 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
2097 &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.
2098 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
2099 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
2100 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
2101 },
2102 ],
2103 },
2104 &quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
2105 &quot;a_key&quot;: &quot;A String&quot;,
2106 },
2107 &quot;stepsLocation&quot;: &quot;A String&quot;, # The GCS location where the steps are stored.
2108}
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002109
2110 location: string, The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
2111 x__xgafv: string, V1 error format.
2112 Allowed values
2113 1 - v1 error format
2114 2 - v2 error format
2115
2116Returns:
2117 An object of the form:
2118
2119 { # Defines a job to be run by the Cloud Dataflow service.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002120 &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.
2121 &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.
2122 { # 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.
2123 &quot;kind&quot;: &quot;A String&quot;, # The kind of step in the Cloud Dataflow job.
2124 &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.
2125 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2126 },
2127 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002128 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002129 ],
2130 &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.
2131 &quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
2132 &quot;flexResourceSchedulingGoal&quot;: &quot;A String&quot;, # Which Flexible Resource Scheduling mode to run in.
2133 &quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Identity to run virtual machines as. Defaults to the default account.
2134 &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}
2135 &quot;userAgent&quot;: { # A description of the process that generated the request.
2136 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002137 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002138 &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
2139 &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.
2140 &quot;experiments&quot;: [ # The list of experiments to enable.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002141 &quot;A String&quot;,
2142 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002143 &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.
2144 { # 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.
2145 &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.
2146 &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.
2147 &quot;parallelWorkerSettings&quot;: { # Provides data to pass through to the worker harness. # The settings to pass to the parallel worker harness.
2148 &quot;workerId&quot;: &quot;A String&quot;, # The ID of the worker running this pipeline.
2149 &quot;reportingEnabled&quot;: True or False, # Whether to send work progress updates to the service.
2150 &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;
2151 &quot;shuffleServicePath&quot;: &quot;A String&quot;, # The Shuffle service path relative to the root URL, for example, &quot;shuffle/v1beta1&quot;.
2152 &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}
2153 &quot;servicePath&quot;: &quot;A String&quot;, # The Cloud Dataflow service path relative to the root URL, for example, &quot;dataflow/v1b3/projects&quot;.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002154 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002155 &quot;logToSerialconsole&quot;: True or False, # Whether to send taskrunner log info to Google Compute Engine VM serial console.
2156 &quot;dataflowApiVersion&quot;: &quot;A String&quot;, # The API version of endpoint, e.g. &quot;v1b3&quot;
2157 &quot;commandlinesFileName&quot;: &quot;A String&quot;, # The file to store preprocessing commands in.
2158 &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;.
2159 &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}
2160 &quot;oauthScopes&quot;: [ # The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002161 &quot;A String&quot;,
2162 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002163 &quot;vmId&quot;: &quot;A String&quot;, # The ID string of the VM.
2164 &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;
2165 &quot;workflowFileName&quot;: &quot;A String&quot;, # The file to store the workflow in.
2166 &quot;languageHint&quot;: &quot;A String&quot;, # The suggested backend language.
2167 &quot;alsologtostderr&quot;: True or False, # Whether to also send taskrunner log info to stderr.
2168 &quot;streamingWorkerMainClass&quot;: &quot;A String&quot;, # The streaming worker main class name.
2169 &quot;harnessCommand&quot;: &quot;A String&quot;, # The command to launch the worker harness.
2170 &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}
2171 &quot;logDir&quot;: &quot;A String&quot;, # The directory on the VM to store logs.
2172 &quot;continueOnException&quot;: True or False, # Whether to continue taskrunner if an exception is hit.
2173 &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;.
2174 &quot;baseTaskDir&quot;: &quot;A String&quot;, # The location on the worker for task-specific subdirectories.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002175 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002176 &quot;diskSourceImage&quot;: &quot;A String&quot;, # Fully qualified source image for disks.
2177 &quot;metadata&quot;: { # Metadata to set on the Google Compute Engine VMs.
2178 &quot;a_key&quot;: &quot;A String&quot;,
2179 },
2180 &quot;dataDisks&quot;: [ # Data disks that are used by a VM in this workflow.
2181 { # Describes the data disk used by a workflow job.
2182 &quot;sizeGb&quot;: 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
2183 &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
2184 &quot;mountPoint&quot;: &quot;A String&quot;, # Directory in a VM where disk is mounted.
2185 },
2186 ],
2187 &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.
2188 &quot;packages&quot;: [ # Packages to be installed on workers.
2189 { # 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.
2190 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
2191 &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/
2192 },
2193 ],
2194 &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.
2195 { # Defines a SDK harness container for executing Dataflow pipelines.
2196 &quot;containerImage&quot;: &quot;A String&quot;, # A docker container image that resides in Google Container Registry.
2197 &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.
2198 },
2199 ],
2200 &quot;kind&quot;: &quot;A String&quot;, # The kind of the worker pool; currently only `harness` and `shuffle` are supported.
2201 &quot;autoscalingSettings&quot;: { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
2202 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for autoscaling.
2203 &quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap scaling at.
2204 },
2205 &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.
2206 &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.
2207 &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.
2208 &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.
2209 &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.
2210 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # The action to take on host maintenance, as defined by the Google Compute Engine API.
2211 &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;.
2212 &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).
2213 &quot;poolArgs&quot;: { # Extra arguments for this worker pool.
2214 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2215 },
2216 &quot;ipConfiguration&quot;: &quot;A String&quot;, # Configuration for VM IPs.
2217 &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.
2218 &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;.
2219 },
2220 ],
2221 &quot;internalExperiments&quot;: { # Experimental settings.
2222 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2223 },
2224 &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.
2225 &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;.
2226 &quot;version&quot;: { # A structure describing which components and their versions of the service are required in order to run the job.
2227 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2228 },
2229 &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.
2230 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2231 },
2232 &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}
2233 },
2234 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
2235 &quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
2236 &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}
2237 &quot;A String&quot;,
2238 ],
2239 &quot;executionInfo&quot;: { # Additional information about how a Cloud Dataflow job will be executed that isn&#x27;t contained in the submitted job. # Deprecated.
2240 &quot;stages&quot;: { # A mapping from each stage to the information about that stage.
2241 &quot;a_key&quot;: { # Contains information about how a particular google.dataflow.v1beta3.Step will be executed.
2242 &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.
2243 &quot;A String&quot;,
2244 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002245 },
2246 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002247 },
2248 &quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
2249 &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.
2250 &quot;sdkVersion&quot;: { # The version of the SDK used to run the job. # The SDK version used to run the job.
2251 &quot;sdkSupportStatus&quot;: &quot;A String&quot;, # The support status for this SDK version.
2252 &quot;version&quot;: &quot;A String&quot;, # The version of the SDK used to run the job.
2253 &quot;versionDisplayName&quot;: &quot;A String&quot;, # A readable string describing the version of the SDK.
2254 },
2255 &quot;bigqueryDetails&quot;: [ # Identification of a BigQuery source used in the Dataflow job.
2256 { # Metadata for a BigQuery connector used by the job.
2257 &quot;query&quot;: &quot;A String&quot;, # Query used to access data in the connection.
2258 &quot;projectId&quot;: &quot;A String&quot;, # Project accessed in the connection.
2259 &quot;table&quot;: &quot;A String&quot;, # Table accessed in the connection.
2260 &quot;dataset&quot;: &quot;A String&quot;, # Dataset accessed in the connection.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002261 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002262 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002263 &quot;datastoreDetails&quot;: [ # Identification of a Datastore source used in the Dataflow job.
2264 { # Metadata for a Datastore connector used by the job.
2265 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
2266 &quot;namespace&quot;: &quot;A String&quot;, # Namespace used in the connection.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002267 },
2268 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002269 &quot;fileDetails&quot;: [ # Identification of a File source used in the Dataflow job.
2270 { # Metadata for a File connector used by the job.
2271 &quot;filePattern&quot;: &quot;A String&quot;, # File Pattern used to access files by the connector.
2272 },
2273 ],
2274 &quot;spannerDetails&quot;: [ # Identification of a Spanner source used in the Dataflow job.
2275 { # Metadata for a Spanner connector used by the job.
2276 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
2277 &quot;databaseId&quot;: &quot;A String&quot;, # DatabaseId accessed in the connection.
2278 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
2279 },
2280 ],
2281 &quot;pubsubDetails&quot;: [ # Identification of a PubSub source used in the Dataflow job.
2282 { # Metadata for a PubSub connector used by the job.
2283 &quot;topic&quot;: &quot;A String&quot;, # Topic accessed in the connection.
2284 &quot;subscription&quot;: &quot;A String&quot;, # Subscription used in the connection.
2285 },
2286 ],
2287 &quot;bigTableDetails&quot;: [ # Identification of a BigTable source used in the Dataflow job.
2288 { # Metadata for a BigTable connector used by the job.
2289 &quot;tableId&quot;: &quot;A String&quot;, # TableId accessed in the connection.
2290 &quot;instanceId&quot;: &quot;A String&quot;, # InstanceId accessed in the connection.
2291 &quot;projectId&quot;: &quot;A String&quot;, # ProjectId accessed in the connection.
2292 },
2293 ],
2294 },
2295 &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.
2296 &quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
2297 &quot;stageStates&quot;: [ # This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
2298 { # A message describing the state of a particular execution stage.
2299 &quot;executionStageState&quot;: &quot;A String&quot;, # Executions stage states allow the same set of values as JobState.
2300 &quot;executionStageName&quot;: &quot;A String&quot;, # The name of the execution stage.
2301 &quot;currentStateTime&quot;: &quot;A String&quot;, # The time at which the stage transitioned to this state.
2302 },
2303 ],
2304 &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])?`
2305 &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.
2306 &quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
2307 &quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
2308 &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.
2309 &quot;a_key&quot;: &quot;A String&quot;,
2310 },
2311 &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.
2312 &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.
2313 &quot;requestedState&quot;: &quot;A String&quot;, # The job&#x27;s requested state. `UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and `JOB_STATE_RUNNING` states, by setting requested_state. `UpdateJob` may also be used to directly set a job&#x27;s requested state to `JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the job if it has not already reached a terminal state.
2314 &quot;pipelineDescription&quot;: { # A descriptive representation of submitted pipeline as well as the executed form. This data is provided by the Dataflow service for ease of visualizing the pipeline and interpreting Dataflow provided metrics. # Preliminary field: The format of this data may change at any time. A description of the user pipeline and stages through which it is executed. Created by Cloud Dataflow service. Only retrieved with JOB_VIEW_DESCRIPTION or JOB_VIEW_ALL.
2315 &quot;executionPipelineStage&quot;: [ # Description of each stage of execution of the pipeline.
2316 { # Description of the composing transforms, names/ids, and input/outputs of a stage of execution. Some composing transforms and sources may have been generated by the Dataflow service during execution planning.
2317 &quot;kind&quot;: &quot;A String&quot;, # Type of tranform this stage is executing.
2318 &quot;id&quot;: &quot;A String&quot;, # Dataflow service generated id for this stage.
2319 &quot;componentTransform&quot;: [ # Transforms that comprise this execution stage.
2320 { # Description of a transform executed as part of an execution stage.
2321 &quot;originalTransform&quot;: &quot;A String&quot;, # User name for the original user transform with which this transform is most closely associated.
2322 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
2323 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
2324 },
2325 ],
2326 &quot;prerequisiteStage&quot;: [ # Other stages that must complete before this stage can run.
2327 &quot;A String&quot;,
2328 ],
2329 &quot;outputSource&quot;: [ # Output sources for this stage.
2330 { # Description of an input or output of an execution stage.
2331 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
2332 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
2333 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
2334 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
2335 },
2336 ],
2337 &quot;inputSource&quot;: [ # Input sources for this stage.
2338 { # Description of an input or output of an execution stage.
2339 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
2340 &quot;sizeBytes&quot;: &quot;A String&quot;, # Size of the source, if measurable.
2341 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this source; may be user or system generated.
2342 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
2343 },
2344 ],
2345 &quot;componentSource&quot;: [ # Collections produced and consumed by component transforms of this stage.
2346 { # Description of an interstitial value between transforms in an execution stage.
2347 &quot;userName&quot;: &quot;A String&quot;, # Human-readable name for this transform; may be user or system generated.
2348 &quot;originalTransformOrCollection&quot;: &quot;A String&quot;, # User name for the original user transform or collection with which this source is most closely associated.
2349 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this source.
2350 },
2351 ],
2352 &quot;name&quot;: &quot;A String&quot;, # Dataflow service generated name for this stage.
2353 },
2354 ],
2355 &quot;originalPipelineTransform&quot;: [ # Description of each transform in the pipeline and collections between them.
2356 { # Description of the type, names/ids, and input/outputs for a transform.
2357 &quot;inputCollectionName&quot;: [ # User names for all collection inputs to this transform.
2358 &quot;A String&quot;,
2359 ],
2360 &quot;id&quot;: &quot;A String&quot;, # SDK generated id of this transform instance.
2361 &quot;name&quot;: &quot;A String&quot;, # User provided name for this transform instance.
2362 &quot;outputCollectionName&quot;: [ # User names for all collection outputs to this transform.
2363 &quot;A String&quot;,
2364 ],
2365 &quot;kind&quot;: &quot;A String&quot;, # Type of transform.
2366 &quot;displayData&quot;: [ # Transform-specific display data.
2367 { # Data provided with a pipeline or transform to provide descriptive info.
2368 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
2369 &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.
2370 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
2371 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
2372 &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.
2373 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
2374 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
2375 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
2376 &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.
2377 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
2378 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
2379 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
2380 },
2381 ],
2382 },
2383 ],
2384 &quot;displayData&quot;: [ # Pipeline level display data.
2385 { # Data provided with a pipeline or transform to provide descriptive info.
2386 &quot;int64Value&quot;: &quot;A String&quot;, # Contains value if the data is of int64 type.
2387 &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.
2388 &quot;label&quot;: &quot;A String&quot;, # An optional label to display in a dax UI for the element.
2389 &quot;floatValue&quot;: 3.14, # Contains value if the data is of float type.
2390 &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.
2391 &quot;url&quot;: &quot;A String&quot;, # An optional full URL.
2392 &quot;boolValue&quot;: True or False, # Contains value if the data is of a boolean type.
2393 &quot;javaClassValue&quot;: &quot;A String&quot;, # Contains value if the data is of java class type.
2394 &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.
2395 &quot;strValue&quot;: &quot;A String&quot;, # Contains value if the data is of string type.
2396 &quot;durationValue&quot;: &quot;A String&quot;, # Contains value if the data is of duration type.
2397 &quot;timestampValue&quot;: &quot;A String&quot;, # Contains value if the data is of timestamp type.
2398 },
2399 ],
2400 },
2401 &quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
2402 &quot;a_key&quot;: &quot;A String&quot;,
2403 },
2404 &quot;stepsLocation&quot;: &quot;A String&quot;, # The GCS location where the steps are stored.
2405 }</pre>
Nathaniel Manista4f877e52015-06-15 16:44:50 +00002406</div>
2407
2408</body></html>