| Jon Wayne Parrott | 7d5badb | 2016-08-16 12:44:29 -0700 | [diff] [blame] | 1 | <html><body> | 
|  | 2 | <style> | 
|  | 3 |  | 
|  | 4 | body, 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 |  | 
|  | 15 | body { | 
|  | 16 | font-size: 13px; | 
|  | 17 | padding: 1em; | 
|  | 18 | } | 
|  | 19 |  | 
|  | 20 | h1 { | 
|  | 21 | font-size: 26px; | 
|  | 22 | margin-bottom: 1em; | 
|  | 23 | } | 
|  | 24 |  | 
|  | 25 | h2 { | 
|  | 26 | font-size: 24px; | 
|  | 27 | margin-bottom: 1em; | 
|  | 28 | } | 
|  | 29 |  | 
|  | 30 | h3 { | 
|  | 31 | font-size: 20px; | 
|  | 32 | margin-bottom: 1em; | 
|  | 33 | margin-top: 1em; | 
|  | 34 | } | 
|  | 35 |  | 
|  | 36 | pre, code { | 
|  | 37 | line-height: 1.5; | 
|  | 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; | 
|  | 39 | } | 
|  | 40 |  | 
|  | 41 | pre { | 
|  | 42 | margin-top: 0.5em; | 
|  | 43 | } | 
|  | 44 |  | 
|  | 45 | h1, h2, h3, p { | 
|  | 46 | font-family: Arial, sans serif; | 
|  | 47 | } | 
|  | 48 |  | 
|  | 49 | h1, 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 Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 75 | <h1><a href="dataflow_v1b3.html">Dataflow API</a> . <a href="dataflow_v1b3.projects.html">projects</a> . <a href="dataflow_v1b3.projects.templates.html">templates</a></h1> | 
| Jon Wayne Parrott | 7d5badb | 2016-08-16 12:44:29 -0700 | [diff] [blame] | 76 | <h2>Instance Methods</h2> | 
|  | 77 | <p class="toc_element"> | 
| Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 78 | <code><a href="#create">create(projectId, body=None, x__xgafv=None)</a></code></p> | 
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 79 | <p class="firstline">Creates a Cloud Dataflow job from a template.</p> | 
|  | 80 | <p class="toc_element"> | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 81 | <code><a href="#get">get(projectId, view=None, gcsPath=None, location=None, x__xgafv=None)</a></code></p> | 
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 82 | <p class="firstline">Get the template associated with a template.</p> | 
|  | 83 | <p class="toc_element"> | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 84 | <code><a href="#launch">launch(projectId, body=None, validateOnly=None, gcsPath=None, location=None, dynamicTemplate_gcsPath=None, dynamicTemplate_stagingLocation=None, x__xgafv=None)</a></code></p> | 
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 85 | <p class="firstline">Launch a template.</p> | 
| Jon Wayne Parrott | 7d5badb | 2016-08-16 12:44:29 -0700 | [diff] [blame] | 86 | <h3>Method Details</h3> | 
|  | 87 | <div class="method"> | 
| Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 88 | <code class="details" id="create">create(projectId, body=None, x__xgafv=None)</code> | 
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 89 | <pre>Creates a Cloud Dataflow job from a template. | 
| Jon Wayne Parrott | 7d5badb | 2016-08-16 12:44:29 -0700 | [diff] [blame] | 90 |  | 
|  | 91 | Args: | 
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 92 | projectId: string, Required. The ID of the Cloud Platform project that the job belongs to. (required) | 
| Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 93 | body: object, The request body. | 
| Jon Wayne Parrott | 7d5badb | 2016-08-16 12:44:29 -0700 | [diff] [blame] | 94 | The object takes the form of: | 
|  | 95 |  | 
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 96 | { # A request to create a Cloud Dataflow job from a template. | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 97 | "jobName": "A String", # Required. The job name to use for the created job. | 
|  | 98 | "gcsPath": "A String", # Required. A Cloud Storage path to the template from which to | 
|  | 99 | # create the job. | 
|  | 100 | # Must be a valid Cloud Storage URL, beginning with `gs://`. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 101 | "environment": { # The environment values to set at runtime. # The runtime environment for the job. | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 102 | "machineType": "A String", # The machine type to use for the job. Defaults to the value from the | 
|  | 103 | # template if not specified. | 
|  | 104 | "subnetwork": "A String", # Subnetwork to which VMs will be assigned, if desired.  Expected to be of | 
|  | 105 | # the form "regions/REGION/subnetworks/SUBNETWORK". | 
|  | 106 | "ipConfiguration": "A String", # Configuration for VM IPs. | 
|  | 107 | "kmsKeyName": "A String", # Optional. Name for the Cloud KMS key for the job. | 
|  | 108 | # Key format is: | 
|  | 109 | # projects/<project>/locations/<location>/keyRings/<keyring>/cryptoKeys/<key> | 
|  | 110 | "tempLocation": "A String", # The Cloud Storage path to use for temporary files. | 
|  | 111 | # Must be a valid Cloud Storage URL, beginning with `gs://`. | 
|  | 112 | "bypassTempDirValidation": True or False, # Whether to bypass the safety checks for the job's temporary directory. | 
|  | 113 | # Use with caution. | 
|  | 114 | "network": "A String", # Network to which VMs will be assigned.  If empty or unspecified, | 
|  | 115 | # the service will use the network "default". | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 116 | "workerRegion": "A String", # The Compute Engine region | 
| Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 117 | # (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 118 | # which worker processing should occur, e.g. "us-west1". Mutually exclusive | 
| Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 119 | # with worker_zone. If neither worker_region nor worker_zone is specified, | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 120 | # default to the control plane's region. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 121 | "zone": "A String", # The Compute Engine [availability | 
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 122 | # zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones) | 
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 123 | # for launching worker instances to run your pipeline. | 
| Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 124 | # In the future, worker_zone will take precedence. | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 125 | "numWorkers": 42, # The initial number of Google Compute Engine instnaces for the job. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 126 | "workerZone": "A String", # The Compute Engine zone | 
|  | 127 | # (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in | 
|  | 128 | # which worker processing should occur, e.g. "us-west1-a". Mutually exclusive | 
|  | 129 | # with worker_region. If neither worker_region nor worker_zone is specified, | 
|  | 130 | # a zone in the control plane's region is chosen based on available capacity. | 
|  | 131 | # If both `worker_zone` and `zone` are set, `worker_zone` takes precedence. | 
|  | 132 | "additionalUserLabels": { # Additional user labels to be specified for the job. | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 133 | # Keys and values should follow the restrictions specified in the [labeling | 
|  | 134 | # restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) | 
|  | 135 | # page. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 136 | "a_key": "A String", | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 137 | }, | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 138 | "additionalExperiments": [ # Additional experiment flags for the job. | 
|  | 139 | "A String", | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 140 | ], | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 141 | "maxWorkers": 42, # The maximum number of Google Compute Engine instances to be made | 
|  | 142 | # available to your pipeline during execution, from 1 to 1000. | 
|  | 143 | "serviceAccountEmail": "A String", # The email address of the service account to run the job as. | 
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 144 | }, | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 145 | "location": "A String", # The [regional endpoint] | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 146 | # (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to | 
|  | 147 | # which to direct the request. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 148 | "parameters": { # The runtime parameters to pass to the job. | 
|  | 149 | "a_key": "A String", | 
| Jon Wayne Parrott | 7d5badb | 2016-08-16 12:44:29 -0700 | [diff] [blame] | 150 | }, | 
|  | 151 | } | 
|  | 152 |  | 
|  | 153 | x__xgafv: string, V1 error format. | 
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 154 | Allowed values | 
|  | 155 | 1 - v1 error format | 
|  | 156 | 2 - v2 error format | 
| Jon Wayne Parrott | 7d5badb | 2016-08-16 12:44:29 -0700 | [diff] [blame] | 157 |  | 
|  | 158 | Returns: | 
|  | 159 | An object of the form: | 
|  | 160 |  | 
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 161 | { # Defines a job to be run by the Cloud Dataflow service. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 162 | "clientRequestId": "A String", # The client's unique identifier of the job, re-used across retried attempts. | 
|  | 163 | # If this field is set, the service will ensure its uniqueness. | 
|  | 164 | # The request to create a job will fail if the service has knowledge of a | 
|  | 165 | # previously submitted job with the same client's ID and job name. | 
|  | 166 | # The caller may use this field to ensure idempotence of job | 
|  | 167 | # creation across retried attempts to create a job. | 
|  | 168 | # By default, the field is empty and, in that case, the service ignores it. | 
|  | 169 | "id": "A String", # The unique ID of this job. | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 170 | # | 
|  | 171 | # This field is set by the Cloud Dataflow service when the Job is | 
|  | 172 | # created, and is immutable for the life of the job. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 173 | "currentStateTime": "A String", # The timestamp associated with the current state. | 
|  | 174 | "transformNameMapping": { # The map of transform name prefixes of the job to be replaced to the | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 175 | # corresponding name prefixes of the new job. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 176 | "a_key": "A String", | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 177 | }, | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 178 | "environment": { # Describes the environment in which a Dataflow Job runs. # The environment for the job. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 179 | "internalExperiments": { # Experimental settings. | 
|  | 180 | "a_key": "", # Properties of the object. Contains field @type with type URL. | 
|  | 181 | }, | 
|  | 182 | "workerRegion": "A String", # The Compute Engine region | 
|  | 183 | # (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in | 
|  | 184 | # which worker processing should occur, e.g. "us-west1". Mutually exclusive | 
|  | 185 | # with worker_zone. If neither worker_region nor worker_zone is specified, | 
|  | 186 | # default to the control plane's region. | 
|  | 187 | "serviceKmsKeyName": "A String", # If set, contains the Cloud KMS key identifier used to encrypt data | 
|  | 188 | # at rest, AKA a Customer Managed Encryption Key (CMEK). | 
|  | 189 | # | 
|  | 190 | # Format: | 
|  | 191 | #   projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY | 
|  | 192 | "userAgent": { # A description of the process that generated the request. | 
|  | 193 | "a_key": "", # Properties of the object. | 
|  | 194 | }, | 
|  | 195 | "workerZone": "A String", # The Compute Engine zone | 
|  | 196 | # (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in | 
|  | 197 | # which worker processing should occur, e.g. "us-west1-a". Mutually exclusive | 
|  | 198 | # with worker_region. If neither worker_region nor worker_zone is specified, | 
|  | 199 | # a zone in the control plane's region is chosen based on available capacity. | 
|  | 200 | "clusterManagerApiService": "A String", # The type of cluster manager API to use.  If unknown or | 
| Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 201 | # unspecified, the service will attempt to choose a reasonable | 
|  | 202 | # default.  This should be in the form of the API service name, | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 203 | # e.g. "compute.googleapis.com". | 
|  | 204 | "tempStoragePrefix": "A String", # The prefix of the resources the system should use for temporary | 
|  | 205 | # storage.  The system will append the suffix "/temp-{JOBNAME} to | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 206 | # this resource prefix, where {JOBNAME} is the value of the | 
|  | 207 | # job_name field.  The resulting bucket and object prefix is used | 
|  | 208 | # as the prefix of the resources used to store temporary data | 
|  | 209 | # needed during the job execution.  NOTE: This will override the | 
|  | 210 | # value in taskrunner_settings. | 
|  | 211 | # The supported resource type is: | 
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 212 | # | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 213 | # Google Cloud Storage: | 
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 214 | # | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 215 | #   storage.googleapis.com/{bucket}/{object} | 
|  | 216 | #   bucket.storage.googleapis.com/{object} | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 217 | "experiments": [ # The list of experiments to enable. | 
|  | 218 | "A String", | 
|  | 219 | ], | 
|  | 220 | "version": { # A structure describing which components and their versions of the service | 
|  | 221 | # are required in order to run the job. | 
|  | 222 | "a_key": "", # Properties of the object. | 
|  | 223 | }, | 
|  | 224 | "serviceAccountEmail": "A String", # Identity to run virtual machines as. Defaults to the default account. | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 225 | "sdkPipelineOptions": { # The Cloud Dataflow SDK pipeline options specified by the user. These | 
|  | 226 | # options are passed through the service and are used to recreate the | 
|  | 227 | # SDK pipeline options on the worker in a language agnostic and platform | 
|  | 228 | # independent way. | 
|  | 229 | "a_key": "", # Properties of the object. | 
|  | 230 | }, | 
|  | 231 | "flexResourceSchedulingGoal": "A String", # Which Flexible Resource Scheduling mode to run in. | 
|  | 232 | "workerPools": [ # The worker pools. At least one "harness" worker pool must be | 
|  | 233 | # specified in order for the job to have workers. | 
|  | 234 | { # Describes one particular pool of Cloud Dataflow workers to be | 
|  | 235 | # instantiated by the Cloud Dataflow service in order to perform the | 
|  | 236 | # computations required by a job.  Note that a workflow job may use | 
|  | 237 | # multiple pools, in order to match the various computational | 
|  | 238 | # requirements of the various stages of the job. | 
|  | 239 | "numThreadsPerWorker": 42, # The number of threads per worker harness. If empty or unspecified, the | 
|  | 240 | # service will choose a number of threads (according to the number of cores | 
|  | 241 | # on the selected machine type for batch, or 1 by convention for streaming). | 
|  | 242 | "numWorkers": 42, # Number of Google Compute Engine workers in this pool needed to | 
|  | 243 | # execute the job.  If zero or unspecified, the service will | 
|  | 244 | # attempt to choose a reasonable default. | 
|  | 245 | "zone": "A String", # Zone to run the worker pools in.  If empty or unspecified, the service | 
|  | 246 | # will attempt to choose a reasonable default. | 
|  | 247 | "diskSourceImage": "A String", # Fully qualified source image for disks. | 
|  | 248 | "packages": [ # Packages to be installed on workers. | 
|  | 249 | { # The packages that must be installed in order for a worker to run the | 
|  | 250 | # steps of the Cloud Dataflow job that will be assigned to its worker | 
|  | 251 | # pool. | 
|  | 252 | # | 
|  | 253 | # This is the mechanism by which the Cloud Dataflow SDK causes code to | 
|  | 254 | # be loaded onto the workers. For example, the Cloud Dataflow Java SDK | 
|  | 255 | # might use this to install jars containing the user's code and all of the | 
|  | 256 | # various dependencies (libraries, data files, etc.) required in order | 
|  | 257 | # for that code to run. | 
|  | 258 | "name": "A String", # The name of the package. | 
|  | 259 | "location": "A String", # The resource to read the package from. The supported resource type is: | 
|  | 260 | # | 
|  | 261 | # Google Cloud Storage: | 
|  | 262 | # | 
|  | 263 | #   storage.googleapis.com/{bucket} | 
|  | 264 | #   bucket.storage.googleapis.com/ | 
|  | 265 | }, | 
|  | 266 | ], | 
|  | 267 | "teardownPolicy": "A String", # Sets the policy for determining when to turndown worker pool. | 
|  | 268 | # Allowed values are: `TEARDOWN_ALWAYS`, `TEARDOWN_ON_SUCCESS`, and | 
|  | 269 | # `TEARDOWN_NEVER`. | 
|  | 270 | # `TEARDOWN_ALWAYS` means workers are always torn down regardless of whether | 
|  | 271 | # the job succeeds. `TEARDOWN_ON_SUCCESS` means workers are torn down | 
|  | 272 | # if the job succeeds. `TEARDOWN_NEVER` means the workers are never torn | 
|  | 273 | # down. | 
|  | 274 | # | 
|  | 275 | # If the workers are not torn down by the service, they will | 
|  | 276 | # continue to run and use Google Compute Engine VM resources in the | 
|  | 277 | # user's project until they are explicitly terminated by the user. | 
|  | 278 | # Because of this, Google recommends using the `TEARDOWN_ALWAYS` | 
|  | 279 | # policy except for small, manually supervised test jobs. | 
|  | 280 | # | 
|  | 281 | # If unknown or unspecified, the service will attempt to choose a reasonable | 
|  | 282 | # default. | 
|  | 283 | "onHostMaintenance": "A String", # The action to take on host maintenance, as defined by the Google | 
|  | 284 | # Compute Engine API. | 
|  | 285 | "poolArgs": { # Extra arguments for this worker pool. | 
|  | 286 | "a_key": "", # Properties of the object. Contains field @type with type URL. | 
|  | 287 | }, | 
|  | 288 | "diskSizeGb": 42, # Size of root disk for VMs, in GB.  If zero or unspecified, the service will | 
|  | 289 | # attempt to choose a reasonable default. | 
|  | 290 | "workerHarnessContainerImage": "A String", # Required. Docker container image that executes the Cloud Dataflow worker | 
|  | 291 | # harness, residing in Google Container Registry. | 
|  | 292 | # | 
|  | 293 | # Deprecated for the Fn API path. Use sdk_harness_container_images instead. | 
|  | 294 | "diskType": "A String", # Type of root disk for VMs.  If empty or unspecified, the service will | 
|  | 295 | # attempt to choose a reasonable default. | 
|  | 296 | "machineType": "A String", # Machine type (e.g. "n1-standard-1").  If empty or unspecified, the | 
|  | 297 | # service will attempt to choose a reasonable default. | 
|  | 298 | "kind": "A String", # The kind of the worker pool; currently only `harness` and `shuffle` | 
|  | 299 | # are supported. | 
|  | 300 | "sdkHarnessContainerImages": [ # Set of SDK harness containers needed to execute this pipeline. This will | 
|  | 301 | # only be set in the Fn API path. For non-cross-language pipelines this | 
|  | 302 | # should have only one entry. Cross-language pipelines will have two or more | 
|  | 303 | # entries. | 
|  | 304 | { # Defines a SDK harness container for executing Dataflow pipelines. | 
|  | 305 | "containerImage": "A String", # A docker container image that resides in Google Container Registry. | 
|  | 306 | "useSingleCorePerContainer": True or False, # If true, recommends the Dataflow service to use only one core per SDK | 
|  | 307 | # container instance with this image. If false (or unset) recommends using | 
|  | 308 | # more than one core per SDK container instance with this image for | 
|  | 309 | # efficiency. Note that Dataflow service may choose to override this property | 
|  | 310 | # if needed. | 
|  | 311 | }, | 
|  | 312 | ], | 
|  | 313 | "dataDisks": [ # Data disks that are used by a VM in this workflow. | 
|  | 314 | { # Describes the data disk used by a workflow job. | 
|  | 315 | "diskType": "A String", # Disk storage type, as defined by Google Compute Engine.  This | 
|  | 316 | # must be a disk type appropriate to the project and zone in which | 
|  | 317 | # the workers will run.  If unknown or unspecified, the service | 
|  | 318 | # will attempt to choose a reasonable default. | 
|  | 319 | # | 
|  | 320 | # For example, the standard persistent disk type is a resource name | 
|  | 321 | # typically ending in "pd-standard".  If SSD persistent disks are | 
|  | 322 | # available, the resource name typically ends with "pd-ssd".  The | 
|  | 323 | # actual valid values are defined the Google Compute Engine API, | 
|  | 324 | # not by the Cloud Dataflow API; consult the Google Compute Engine | 
|  | 325 | # documentation for more information about determining the set of | 
|  | 326 | # available disk types for a particular project and zone. | 
|  | 327 | # | 
|  | 328 | # Google Compute Engine Disk types are local to a particular | 
|  | 329 | # project in a particular zone, and so the resource name will | 
|  | 330 | # typically look something like this: | 
|  | 331 | # | 
|  | 332 | # compute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard | 
|  | 333 | "sizeGb": 42, # Size of disk in GB.  If zero or unspecified, the service will | 
|  | 334 | # attempt to choose a reasonable default. | 
|  | 335 | "mountPoint": "A String", # Directory in a VM where disk is mounted. | 
|  | 336 | }, | 
|  | 337 | ], | 
|  | 338 | "subnetwork": "A String", # Subnetwork to which VMs will be assigned, if desired.  Expected to be of | 
|  | 339 | # the form "regions/REGION/subnetworks/SUBNETWORK". | 
|  | 340 | "ipConfiguration": "A String", # Configuration for VM IPs. | 
|  | 341 | "taskrunnerSettings": { # Taskrunner configuration settings. # Settings passed through to Google Compute Engine workers when | 
|  | 342 | # using the standard Dataflow task runner.  Users should ignore | 
|  | 343 | # this field. | 
|  | 344 | "alsologtostderr": True or False, # Whether to also send taskrunner log info to stderr. | 
|  | 345 | "taskGroup": "A String", # The UNIX group ID on the worker VM to use for tasks launched by | 
|  | 346 | # taskrunner; e.g. "wheel". | 
|  | 347 | "harnessCommand": "A String", # The command to launch the worker harness. | 
|  | 348 | "logDir": "A String", # The directory on the VM to store logs. | 
|  | 349 | "oauthScopes": [ # The OAuth2 scopes to be requested by the taskrunner in order to | 
|  | 350 | # access the Cloud Dataflow API. | 
|  | 351 | "A String", | 
|  | 352 | ], | 
|  | 353 | "dataflowApiVersion": "A String", # The API version of endpoint, e.g. "v1b3" | 
|  | 354 | "logUploadLocation": "A String", # Indicates where to put logs.  If this is not specified, the logs | 
|  | 355 | # will not be uploaded. | 
|  | 356 | # | 
|  | 357 | # The supported resource type is: | 
|  | 358 | # | 
|  | 359 | # Google Cloud Storage: | 
|  | 360 | #   storage.googleapis.com/{bucket}/{object} | 
|  | 361 | #   bucket.storage.googleapis.com/{object} | 
|  | 362 | "streamingWorkerMainClass": "A String", # The streaming worker main class name. | 
|  | 363 | "workflowFileName": "A String", # The file to store the workflow in. | 
|  | 364 | "languageHint": "A String", # The suggested backend language. | 
|  | 365 | "commandlinesFileName": "A String", # The file to store preprocessing commands in. | 
|  | 366 | "baseTaskDir": "A String", # The location on the worker for task-specific subdirectories. | 
|  | 367 | "tempStoragePrefix": "A String", # The prefix of the resources the taskrunner should use for | 
|  | 368 | # temporary storage. | 
|  | 369 | # | 
|  | 370 | # The supported resource type is: | 
|  | 371 | # | 
|  | 372 | # Google Cloud Storage: | 
|  | 373 | #   storage.googleapis.com/{bucket}/{object} | 
|  | 374 | #   bucket.storage.googleapis.com/{object} | 
|  | 375 | "baseUrl": "A String", # The base URL for the taskrunner to use when accessing Google Cloud APIs. | 
|  | 376 | # | 
|  | 377 | # When workers access Google Cloud APIs, they logically do so via | 
|  | 378 | # relative URLs.  If this field is specified, it supplies the base | 
|  | 379 | # URL to use for resolving these relative URLs.  The normative | 
|  | 380 | # algorithm used is defined by RFC 1808, "Relative Uniform Resource | 
|  | 381 | # Locators". | 
|  | 382 | # | 
|  | 383 | # If not specified, the default value is "http://www.googleapis.com/" | 
|  | 384 | "logToSerialconsole": True or False, # Whether to send taskrunner log info to Google Compute Engine VM serial | 
|  | 385 | # console. | 
|  | 386 | "continueOnException": True or False, # Whether to continue taskrunner if an exception is hit. | 
|  | 387 | "parallelWorkerSettings": { # Provides data to pass through to the worker harness. # The settings to pass to the parallel worker harness. | 
|  | 388 | "tempStoragePrefix": "A String", # The prefix of the resources the system should use for temporary | 
|  | 389 | # storage. | 
|  | 390 | # | 
|  | 391 | # The supported resource type is: | 
|  | 392 | # | 
|  | 393 | # Google Cloud Storage: | 
|  | 394 | # | 
|  | 395 | #   storage.googleapis.com/{bucket}/{object} | 
|  | 396 | #   bucket.storage.googleapis.com/{object} | 
|  | 397 | "reportingEnabled": True or False, # Whether to send work progress updates to the service. | 
|  | 398 | "baseUrl": "A String", # The base URL for accessing Google Cloud APIs. | 
|  | 399 | # | 
|  | 400 | # When workers access Google Cloud APIs, they logically do so via | 
|  | 401 | # relative URLs.  If this field is specified, it supplies the base | 
|  | 402 | # URL to use for resolving these relative URLs.  The normative | 
|  | 403 | # algorithm used is defined by RFC 1808, "Relative Uniform Resource | 
|  | 404 | # Locators". | 
|  | 405 | # | 
|  | 406 | # If not specified, the default value is "http://www.googleapis.com/" | 
|  | 407 | "servicePath": "A String", # The Cloud Dataflow service path relative to the root URL, for example, | 
|  | 408 | # "dataflow/v1b3/projects". | 
|  | 409 | "shuffleServicePath": "A String", # The Shuffle service path relative to the root URL, for example, | 
|  | 410 | # "shuffle/v1beta1". | 
|  | 411 | "workerId": "A String", # The ID of the worker running this pipeline. | 
|  | 412 | }, | 
|  | 413 | "taskUser": "A String", # The UNIX user ID on the worker VM to use for tasks launched by | 
|  | 414 | # taskrunner; e.g. "root". | 
|  | 415 | "vmId": "A String", # The ID string of the VM. | 
|  | 416 | }, | 
|  | 417 | "autoscalingSettings": { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool. | 
|  | 418 | "algorithm": "A String", # The algorithm to use for autoscaling. | 
|  | 419 | "maxNumWorkers": 42, # The maximum number of workers to cap scaling at. | 
|  | 420 | }, | 
|  | 421 | "metadata": { # Metadata to set on the Google Compute Engine VMs. | 
|  | 422 | "a_key": "A String", | 
|  | 423 | }, | 
|  | 424 | "defaultPackageSet": "A String", # The default package set to install.  This allows the service to | 
|  | 425 | # select a default set of packages which are useful to worker | 
|  | 426 | # harnesses written in a particular language. | 
|  | 427 | "network": "A String", # Network to which VMs will be assigned.  If empty or unspecified, | 
|  | 428 | # the service will use the network "default". | 
|  | 429 | }, | 
|  | 430 | ], | 
|  | 431 | "dataset": "A String", # The dataset for the current project where various workflow | 
|  | 432 | # related tables are stored. | 
|  | 433 | # | 
|  | 434 | # The supported resource type is: | 
|  | 435 | # | 
|  | 436 | # Google BigQuery: | 
|  | 437 | #   bigquery.googleapis.com/{dataset} | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 438 | }, | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 439 | "stageStates": [ # This field may be mutated by the Cloud Dataflow service; | 
|  | 440 | # callers cannot mutate it. | 
|  | 441 | { # A message describing the state of a particular execution stage. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 442 | "currentStateTime": "A String", # The time at which the stage transitioned to this state. | 
|  | 443 | "executionStageState": "A String", # Executions stage states allow the same set of values as JobState. | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 444 | "executionStageName": "A String", # The name of the execution stage. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 445 | }, | 
|  | 446 | ], | 
|  | 447 | "jobMetadata": { # Metadata available primarily for filtering jobs. Will be included in the # This field is populated by the Dataflow service to support filtering jobs | 
|  | 448 | # by the metadata values provided here. Populated for ListJobs and all GetJob | 
|  | 449 | # views SUMMARY and higher. | 
|  | 450 | # ListJob response and Job SUMMARY view. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 451 | "datastoreDetails": [ # Identification of a Datastore source used in the Dataflow job. | 
|  | 452 | { # Metadata for a Datastore connector used by the job. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 453 | "namespace": "A String", # Namespace used in the connection. | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 454 | "projectId": "A String", # ProjectId accessed in the connection. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 455 | }, | 
|  | 456 | ], | 
|  | 457 | "sdkVersion": { # The version of the SDK used to run the job. # The SDK version used to run the job. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 458 | "version": "A String", # The version of the SDK used to run the job. | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 459 | "sdkSupportStatus": "A String", # The support status for this SDK version. | 
|  | 460 | "versionDisplayName": "A String", # A readable string describing the version of the SDK. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 461 | }, | 
|  | 462 | "bigqueryDetails": [ # Identification of a BigQuery source used in the Dataflow job. | 
|  | 463 | { # Metadata for a BigQuery connector used by the job. | 
|  | 464 | "table": "A String", # Table accessed in the connection. | 
|  | 465 | "dataset": "A String", # Dataset accessed in the connection. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 466 | "query": "A String", # Query used to access data in the connection. | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 467 | "projectId": "A String", # Project accessed in the connection. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 468 | }, | 
|  | 469 | ], | 
|  | 470 | "fileDetails": [ # Identification of a File source used in the Dataflow job. | 
|  | 471 | { # Metadata for a File connector used by the job. | 
|  | 472 | "filePattern": "A String", # File Pattern used to access files by the connector. | 
|  | 473 | }, | 
|  | 474 | ], | 
|  | 475 | "pubsubDetails": [ # Identification of a PubSub source used in the Dataflow job. | 
|  | 476 | { # Metadata for a PubSub connector used by the job. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 477 | "topic": "A String", # Topic accessed in the connection. | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 478 | "subscription": "A String", # Subscription used in the connection. | 
|  | 479 | }, | 
|  | 480 | ], | 
|  | 481 | "bigTableDetails": [ # Identification of a BigTable source used in the Dataflow job. | 
|  | 482 | { # Metadata for a BigTable connector used by the job. | 
|  | 483 | "projectId": "A String", # ProjectId accessed in the connection. | 
|  | 484 | "instanceId": "A String", # InstanceId accessed in the connection. | 
|  | 485 | "tableId": "A String", # TableId accessed in the connection. | 
|  | 486 | }, | 
|  | 487 | ], | 
|  | 488 | "spannerDetails": [ # Identification of a Spanner source used in the Dataflow job. | 
|  | 489 | { # Metadata for a Spanner connector used by the job. | 
|  | 490 | "instanceId": "A String", # InstanceId accessed in the connection. | 
|  | 491 | "projectId": "A String", # ProjectId accessed in the connection. | 
|  | 492 | "databaseId": "A String", # DatabaseId accessed in the connection. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 493 | }, | 
|  | 494 | ], | 
|  | 495 | }, | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 496 | "type": "A String", # The type of Cloud Dataflow job. | 
|  | 497 | "projectId": "A String", # The ID of the Cloud Platform project that the job belongs to. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 498 | "createdFromSnapshotId": "A String", # If this is specified, the job's initial state is populated from the given | 
|  | 499 | # snapshot. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 500 | "pipelineDescription": { # A descriptive representation of submitted pipeline as well as the executed # Preliminary field: The format of this data may change at any time. | 
|  | 501 | # A description of the user pipeline and stages through which it is executed. | 
|  | 502 | # Created by Cloud Dataflow service.  Only retrieved with | 
|  | 503 | # JOB_VIEW_DESCRIPTION or JOB_VIEW_ALL. | 
|  | 504 | # form.  This data is provided by the Dataflow service for ease of visualizing | 
|  | 505 | # the pipeline and interpreting Dataflow provided metrics. | 
|  | 506 | "executionPipelineStage": [ # Description of each stage of execution of the pipeline. | 
|  | 507 | { # Description of the composing transforms, names/ids, and input/outputs of a | 
|  | 508 | # stage of execution.  Some composing transforms and sources may have been | 
|  | 509 | # generated by the Dataflow service during execution planning. | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 510 | "outputSource": [ # Output sources for this stage. | 
|  | 511 | { # Description of an input or output of an execution stage. | 
|  | 512 | "sizeBytes": "A String", # Size of the source, if measurable. | 
|  | 513 | "name": "A String", # Dataflow service generated name for this source. | 
|  | 514 | "userName": "A String", # Human-readable name for this source; may be user or system generated. | 
|  | 515 | "originalTransformOrCollection": "A String", # User name for the original user transform or collection with which this | 
|  | 516 | # source is most closely associated. | 
|  | 517 | }, | 
|  | 518 | ], | 
|  | 519 | "name": "A String", # Dataflow service generated name for this stage. | 
|  | 520 | "inputSource": [ # Input sources for this stage. | 
|  | 521 | { # Description of an input or output of an execution stage. | 
|  | 522 | "sizeBytes": "A String", # Size of the source, if measurable. | 
|  | 523 | "name": "A String", # Dataflow service generated name for this source. | 
|  | 524 | "userName": "A String", # Human-readable name for this source; may be user or system generated. | 
|  | 525 | "originalTransformOrCollection": "A String", # User name for the original user transform or collection with which this | 
|  | 526 | # source is most closely associated. | 
|  | 527 | }, | 
|  | 528 | ], | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 529 | "id": "A String", # Dataflow service generated id for this stage. | 
|  | 530 | "componentTransform": [ # Transforms that comprise this execution stage. | 
|  | 531 | { # Description of a transform executed as part of an execution stage. | 
|  | 532 | "originalTransform": "A String", # User name for the original user transform with which this transform is | 
|  | 533 | # most closely associated. | 
|  | 534 | "name": "A String", # Dataflow service generated name for this source. | 
|  | 535 | "userName": "A String", # Human-readable name for this transform; may be user or system generated. | 
|  | 536 | }, | 
|  | 537 | ], | 
|  | 538 | "componentSource": [ # Collections produced and consumed by component transforms of this stage. | 
|  | 539 | { # Description of an interstitial value between transforms in an execution | 
|  | 540 | # stage. | 
|  | 541 | "name": "A String", # Dataflow service generated name for this source. | 
|  | 542 | "userName": "A String", # Human-readable name for this transform; may be user or system generated. | 
|  | 543 | "originalTransformOrCollection": "A String", # User name for the original user transform or collection with which this | 
|  | 544 | # source is most closely associated. | 
|  | 545 | }, | 
|  | 546 | ], | 
|  | 547 | "kind": "A String", # Type of tranform this stage is executing. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 548 | }, | 
|  | 549 | ], | 
|  | 550 | "originalPipelineTransform": [ # Description of each transform in the pipeline and collections between them. | 
|  | 551 | { # Description of the type, names/ids, and input/outputs for a transform. | 
|  | 552 | "kind": "A String", # Type of transform. | 
|  | 553 | "inputCollectionName": [ # User names for all collection inputs to this transform. | 
|  | 554 | "A String", | 
|  | 555 | ], | 
|  | 556 | "name": "A String", # User provided name for this transform instance. | 
|  | 557 | "id": "A String", # SDK generated id of this transform instance. | 
|  | 558 | "displayData": [ # Transform-specific display data. | 
|  | 559 | { # Data provided with a pipeline or transform to provide descriptive info. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 560 | "durationValue": "A String", # Contains value if the data is of duration type. | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 561 | "int64Value": "A String", # Contains value if the data is of int64 type. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 562 | "namespace": "A String", # The namespace for the key. This is usually a class name or programming | 
|  | 563 | # language namespace (i.e. python module) which defines the display data. | 
|  | 564 | # This allows a dax monitoring system to specially handle the data | 
|  | 565 | # and perform custom rendering. | 
|  | 566 | "floatValue": 3.14, # Contains value if the data is of float type. | 
|  | 567 | "key": "A String", # The key identifying the display data. | 
|  | 568 | # This is intended to be used as a label for the display data | 
|  | 569 | # when viewed in a dax monitoring system. | 
|  | 570 | "shortStrValue": "A String", # A possible additional shorter value to display. | 
|  | 571 | # For example a java_class_name_value of com.mypackage.MyDoFn | 
|  | 572 | # will be stored with MyDoFn as the short_str_value and | 
|  | 573 | # com.mypackage.MyDoFn as the java_class_name value. | 
|  | 574 | # short_str_value can be displayed and java_class_name_value | 
|  | 575 | # will be displayed as a tooltip. | 
|  | 576 | "url": "A String", # An optional full URL. | 
|  | 577 | "label": "A String", # An optional label to display in a dax UI for the element. | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 578 | "timestampValue": "A String", # Contains value if the data is of timestamp type. | 
|  | 579 | "boolValue": True or False, # Contains value if the data is of a boolean type. | 
|  | 580 | "javaClassValue": "A String", # Contains value if the data is of java class type. | 
|  | 581 | "strValue": "A String", # Contains value if the data is of string type. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 582 | }, | 
|  | 583 | ], | 
|  | 584 | "outputCollectionName": [ # User  names for all collection outputs to this transform. | 
|  | 585 | "A String", | 
|  | 586 | ], | 
|  | 587 | }, | 
|  | 588 | ], | 
|  | 589 | "displayData": [ # Pipeline level display data. | 
|  | 590 | { # Data provided with a pipeline or transform to provide descriptive info. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 591 | "durationValue": "A String", # Contains value if the data is of duration type. | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 592 | "int64Value": "A String", # Contains value if the data is of int64 type. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 593 | "namespace": "A String", # The namespace for the key. This is usually a class name or programming | 
|  | 594 | # language namespace (i.e. python module) which defines the display data. | 
|  | 595 | # This allows a dax monitoring system to specially handle the data | 
|  | 596 | # and perform custom rendering. | 
|  | 597 | "floatValue": 3.14, # Contains value if the data is of float type. | 
|  | 598 | "key": "A String", # The key identifying the display data. | 
|  | 599 | # This is intended to be used as a label for the display data | 
|  | 600 | # when viewed in a dax monitoring system. | 
|  | 601 | "shortStrValue": "A String", # A possible additional shorter value to display. | 
|  | 602 | # For example a java_class_name_value of com.mypackage.MyDoFn | 
|  | 603 | # will be stored with MyDoFn as the short_str_value and | 
|  | 604 | # com.mypackage.MyDoFn as the java_class_name value. | 
|  | 605 | # short_str_value can be displayed and java_class_name_value | 
|  | 606 | # will be displayed as a tooltip. | 
|  | 607 | "url": "A String", # An optional full URL. | 
|  | 608 | "label": "A String", # An optional label to display in a dax UI for the element. | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 609 | "timestampValue": "A String", # Contains value if the data is of timestamp type. | 
|  | 610 | "boolValue": True or False, # Contains value if the data is of a boolean type. | 
|  | 611 | "javaClassValue": "A String", # Contains value if the data is of java class type. | 
|  | 612 | "strValue": "A String", # Contains value if the data is of string type. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 613 | }, | 
|  | 614 | ], | 
|  | 615 | }, | 
|  | 616 | "replaceJobId": "A String", # If this job is an update of an existing job, this field is the job ID | 
|  | 617 | # of the job it replaced. | 
|  | 618 | # | 
|  | 619 | # When sending a `CreateJobRequest`, you can update a job by specifying it | 
|  | 620 | # here. The job named here is stopped, and its intermediate state is | 
|  | 621 | # transferred to this job. | 
|  | 622 | "tempFiles": [ # A set of files the system should be aware of that are used | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 623 | # for temporary storage. These temporary files will be | 
|  | 624 | # removed on job completion. | 
|  | 625 | # No duplicates are allowed. | 
|  | 626 | # No file patterns are supported. | 
|  | 627 | # | 
|  | 628 | # The supported files are: | 
|  | 629 | # | 
|  | 630 | # Google Cloud Storage: | 
|  | 631 | # | 
|  | 632 | #    storage.googleapis.com/{bucket}/{object} | 
|  | 633 | #    bucket.storage.googleapis.com/{object} | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 634 | "A String", | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 635 | ], | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 636 | "name": "A String", # The user-specified Cloud Dataflow job name. | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 637 | # | 
|  | 638 | # Only one Job with a given name may exist in a project at any | 
|  | 639 | # given time. If a caller attempts to create a Job with the same | 
|  | 640 | # name as an already-existing Job, the attempt returns the | 
|  | 641 | # existing Job. | 
|  | 642 | # | 
|  | 643 | # The name must match the regular expression | 
|  | 644 | # `[a-z]([-a-z0-9]{0,38}[a-z0-9])?` | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 645 | "steps": [ # Exactly one of step or steps_location should be specified. | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 646 | # | 
|  | 647 | # The top-level steps that constitute the entire job. | 
|  | 648 | { # Defines a particular step within a Cloud Dataflow job. | 
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 649 | # | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 650 | # A job consists of multiple steps, each of which performs some | 
|  | 651 | # specific operation as part of the overall job.  Data is typically | 
|  | 652 | # passed from one step to another as part of the job. | 
|  | 653 | # | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 654 | # Here's an example of a sequence of steps which together implement a | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 655 | # Map-Reduce job: | 
|  | 656 | # | 
|  | 657 | #   * Read a collection of data from some source, parsing the | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 658 | #     collection's elements. | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 659 | # | 
|  | 660 | #   * Validate the elements. | 
|  | 661 | # | 
|  | 662 | #   * Apply a user-defined function to map each element to some value | 
|  | 663 | #     and extract an element-specific key value. | 
|  | 664 | # | 
|  | 665 | #   * Group elements with the same key into a single element with | 
|  | 666 | #     that key, transforming a multiply-keyed collection into a | 
|  | 667 | #     uniquely-keyed collection. | 
|  | 668 | # | 
|  | 669 | #   * Write the elements out to some data sink. | 
|  | 670 | # | 
|  | 671 | # Note that the Cloud Dataflow service may be used to run many different | 
|  | 672 | # types of jobs, not just Map-Reduce. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 673 | "name": "A String", # The name that identifies the step. This must be unique for each | 
| Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 674 | # step with respect to all other steps in the Cloud Dataflow job. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 675 | "kind": "A String", # The kind of step in the Cloud Dataflow job. | 
|  | 676 | "properties": { # Named properties associated with the step. Each kind of | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 677 | # predefined step has its own required set of properties. | 
|  | 678 | # Must be provided on Create.  Only retrieved with JOB_VIEW_ALL. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 679 | "a_key": "", # Properties of the object. | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 680 | }, | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 681 | }, | 
|  | 682 | ], | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 683 | "replacedByJobId": "A String", # If another job is an update of this job (and thus, this job is in | 
|  | 684 | # `JOB_STATE_UPDATED`), this field contains the ID of that job. | 
|  | 685 | "executionInfo": { # Additional information about how a Cloud Dataflow job will be executed that # Deprecated. | 
|  | 686 | # isn't contained in the submitted job. | 
|  | 687 | "stages": { # A mapping from each stage to the information about that stage. | 
|  | 688 | "a_key": { # Contains information about how a particular | 
|  | 689 | # google.dataflow.v1beta3.Step will be executed. | 
|  | 690 | "stepName": [ # The steps associated with the execution stage. | 
|  | 691 | # Note that stages may have several steps, and that a given step | 
|  | 692 | # might be run by more than one stage. | 
|  | 693 | "A String", | 
|  | 694 | ], | 
|  | 695 | }, | 
|  | 696 | }, | 
|  | 697 | }, | 
|  | 698 | "currentState": "A String", # The current state of the job. | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 699 | # | 
|  | 700 | # Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise | 
|  | 701 | # specified. | 
|  | 702 | # | 
|  | 703 | # A job in the `JOB_STATE_RUNNING` state may asynchronously enter a | 
|  | 704 | # terminal state. After a job has reached a terminal state, no | 
|  | 705 | # further state updates may be made. | 
|  | 706 | # | 
|  | 707 | # This field may be mutated by the Cloud Dataflow service; | 
|  | 708 | # callers cannot mutate it. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 709 | "location": "A String", # The [regional endpoint] | 
|  | 710 | # (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that | 
|  | 711 | # contains this job. | 
|  | 712 | "startTime": "A String", # The timestamp when the job was started (transitioned to JOB_STATE_PENDING). | 
|  | 713 | # Flexible resource scheduling jobs are started with some delay after job | 
|  | 714 | # creation, so start_time is unset before start and is updated when the | 
|  | 715 | # job is started by the Cloud Dataflow service. For other jobs, start_time | 
|  | 716 | # always equals to create_time and is immutable and set by the Cloud Dataflow | 
|  | 717 | # service. | 
|  | 718 | "stepsLocation": "A String", # The GCS location where the steps are stored. | 
|  | 719 | "labels": { # User-defined labels for this job. | 
|  | 720 | # | 
|  | 721 | # The labels map can contain no more than 64 entries.  Entries of the labels | 
|  | 722 | # map are UTF8 strings that comply with the following restrictions: | 
|  | 723 | # | 
|  | 724 | # * Keys must conform to regexp:  \p{Ll}\p{Lo}{0,62} | 
|  | 725 | # * Values must conform to regexp:  [\p{Ll}\p{Lo}\p{N}_-]{0,63} | 
|  | 726 | # * Both keys and values are additionally constrained to be <= 128 bytes in | 
|  | 727 | # size. | 
|  | 728 | "a_key": "A String", | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 729 | }, | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 730 | "createTime": "A String", # The timestamp when the job was initially created. Immutable and set by the | 
|  | 731 | # Cloud Dataflow service. | 
|  | 732 | "requestedState": "A String", # The job's requested state. | 
|  | 733 | # | 
|  | 734 | # `UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and | 
|  | 735 | # `JOB_STATE_RUNNING` states, by setting requested_state.  `UpdateJob` may | 
|  | 736 | # also be used to directly set a job's requested state to | 
|  | 737 | # `JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the | 
|  | 738 | # job if it has not already reached a terminal state. | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 739 | }</pre> | 
|  | 740 | </div> | 
|  | 741 |  | 
|  | 742 | <div class="method"> | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 743 | <code class="details" id="get">get(projectId, view=None, gcsPath=None, location=None, x__xgafv=None)</code> | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 744 | <pre>Get the template associated with a template. | 
|  | 745 |  | 
|  | 746 | Args: | 
|  | 747 | projectId: string, Required. The ID of the Cloud Platform project that the job belongs to. (required) | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 748 | view: string, The view to retrieve. Defaults to METADATA_ONLY. | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 749 | gcsPath: string, Required. A Cloud Storage path to the template from which to | 
|  | 750 | create the job. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 751 | Must be valid Cloud Storage URL, beginning with 'gs://'. | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 752 | location: string, The [regional endpoint] | 
|  | 753 | (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to | 
|  | 754 | which to direct the request. | 
|  | 755 | x__xgafv: string, V1 error format. | 
|  | 756 | Allowed values | 
|  | 757 | 1 - v1 error format | 
|  | 758 | 2 - v2 error format | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 759 |  | 
|  | 760 | Returns: | 
|  | 761 | An object of the form: | 
|  | 762 |  | 
|  | 763 | { # The response to a GetTemplate request. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 764 | "metadata": { # Metadata describing a template. # The template metadata describing the template name, available | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 765 | # parameters, etc. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 766 | "parameters": [ # The parameters for the template. | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 767 | { # Metadata for a specific parameter. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 768 | "label": "A String", # Required. The label to display for the parameter. | 
|  | 769 | "paramType": "A String", # Optional. The type of the parameter. | 
| Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 770 | # Used for selecting input picker. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 771 | "helpText": "A String", # Required. The help text to display for the parameter. | 
|  | 772 | "name": "A String", # Required. The name of the parameter. | 
|  | 773 | "regexes": [ # Optional. Regexes that the parameter must match. | 
|  | 774 | "A String", | 
|  | 775 | ], | 
|  | 776 | "isOptional": True or False, # Optional. Whether the parameter is optional. Defaults to false. | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 777 | }, | 
|  | 778 | ], | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 779 | "name": "A String", # Required. The name of the template. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 780 | "description": "A String", # Optional. A description of the template. | 
|  | 781 | }, | 
|  | 782 | "runtimeMetadata": { # RuntimeMetadata describing a runtime environment. # Describes the runtime metadata with SDKInfo and available parameters. | 
|  | 783 | "sdkInfo": { # SDK Information. # SDK Info for the template. | 
|  | 784 | "language": "A String", # Required. The SDK Language. | 
|  | 785 | "version": "A String", # Optional. The SDK version. | 
|  | 786 | }, | 
|  | 787 | "parameters": [ # The parameters for the template. | 
|  | 788 | { # Metadata for a specific parameter. | 
|  | 789 | "label": "A String", # Required. The label to display for the parameter. | 
|  | 790 | "paramType": "A String", # Optional. The type of the parameter. | 
|  | 791 | # Used for selecting input picker. | 
|  | 792 | "helpText": "A String", # Required. The help text to display for the parameter. | 
|  | 793 | "name": "A String", # Required. The name of the parameter. | 
|  | 794 | "regexes": [ # Optional. Regexes that the parameter must match. | 
|  | 795 | "A String", | 
|  | 796 | ], | 
|  | 797 | "isOptional": True or False, # Optional. Whether the parameter is optional. Defaults to false. | 
|  | 798 | }, | 
|  | 799 | ], | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 800 | }, | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 801 | "templateType": "A String", # Template Type. | 
|  | 802 | "status": { # The `Status` type defines a logical error model that is suitable for # The status of the get template request. Any problems with the | 
|  | 803 | # request will be indicated in the error_details. | 
|  | 804 | # different programming environments, including REST APIs and RPC APIs. It is | 
|  | 805 | # used by [gRPC](https://github.com/grpc). Each `Status` message contains | 
|  | 806 | # three pieces of data: error code, error message, and error details. | 
|  | 807 | # | 
|  | 808 | # You can find out more about this error model and how to work with it in the | 
|  | 809 | # [API Design Guide](https://cloud.google.com/apis/design/errors). | 
|  | 810 | "code": 42, # The status code, which should be an enum value of google.rpc.Code. | 
|  | 811 | "message": "A String", # A developer-facing error message, which should be in English. Any | 
|  | 812 | # user-facing error message should be localized and sent in the | 
|  | 813 | # google.rpc.Status.details field, or localized by the client. | 
|  | 814 | "details": [ # A list of messages that carry the error details.  There is a common set of | 
|  | 815 | # message types for APIs to use. | 
|  | 816 | { | 
|  | 817 | "a_key": "", # Properties of the object. Contains field @type with type URL. | 
|  | 818 | }, | 
|  | 819 | ], | 
|  | 820 | }, | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 821 | }</pre> | 
|  | 822 | </div> | 
|  | 823 |  | 
|  | 824 | <div class="method"> | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 825 | <code class="details" id="launch">launch(projectId, body=None, validateOnly=None, gcsPath=None, location=None, dynamicTemplate_gcsPath=None, dynamicTemplate_stagingLocation=None, x__xgafv=None)</code> | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 826 | <pre>Launch a template. | 
|  | 827 |  | 
|  | 828 | Args: | 
|  | 829 | projectId: string, Required. The ID of the Cloud Platform project that the job belongs to. (required) | 
| Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 830 | body: object, The request body. | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 831 | The object takes the form of: | 
|  | 832 |  | 
|  | 833 | { # Parameters to provide to the template being launched. | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 834 | "parameters": { # The runtime parameters to pass to the job. | 
|  | 835 | "a_key": "A String", | 
|  | 836 | }, | 
|  | 837 | "jobName": "A String", # Required. The job name to use for the created job. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 838 | "transformNameMapping": { # Only applicable when updating a pipeline. Map of transform name prefixes of | 
|  | 839 | # the job to be replaced to the corresponding name prefixes of the new job. | 
|  | 840 | "a_key": "A String", | 
|  | 841 | }, | 
|  | 842 | "environment": { # The environment values to set at runtime. # The runtime environment for the job. | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 843 | "machineType": "A String", # The machine type to use for the job. Defaults to the value from the | 
|  | 844 | # template if not specified. | 
|  | 845 | "subnetwork": "A String", # Subnetwork to which VMs will be assigned, if desired.  Expected to be of | 
|  | 846 | # the form "regions/REGION/subnetworks/SUBNETWORK". | 
|  | 847 | "ipConfiguration": "A String", # Configuration for VM IPs. | 
|  | 848 | "kmsKeyName": "A String", # Optional. Name for the Cloud KMS key for the job. | 
|  | 849 | # Key format is: | 
|  | 850 | # projects/<project>/locations/<location>/keyRings/<keyring>/cryptoKeys/<key> | 
|  | 851 | "tempLocation": "A String", # The Cloud Storage path to use for temporary files. | 
|  | 852 | # Must be a valid Cloud Storage URL, beginning with `gs://`. | 
|  | 853 | "bypassTempDirValidation": True or False, # Whether to bypass the safety checks for the job's temporary directory. | 
|  | 854 | # Use with caution. | 
|  | 855 | "network": "A String", # Network to which VMs will be assigned.  If empty or unspecified, | 
|  | 856 | # the service will use the network "default". | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 857 | "workerRegion": "A String", # The Compute Engine region | 
| Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 858 | # (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 859 | # which worker processing should occur, e.g. "us-west1". Mutually exclusive | 
| Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 860 | # with worker_zone. If neither worker_region nor worker_zone is specified, | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 861 | # default to the control plane's region. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 862 | "zone": "A String", # The Compute Engine [availability | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 863 | # zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones) | 
|  | 864 | # for launching worker instances to run your pipeline. | 
| Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 865 | # In the future, worker_zone will take precedence. | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 866 | "numWorkers": 42, # The initial number of Google Compute Engine instnaces for the job. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 867 | "workerZone": "A String", # The Compute Engine zone | 
|  | 868 | # (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in | 
|  | 869 | # which worker processing should occur, e.g. "us-west1-a". Mutually exclusive | 
|  | 870 | # with worker_region. If neither worker_region nor worker_zone is specified, | 
|  | 871 | # a zone in the control plane's region is chosen based on available capacity. | 
|  | 872 | # If both `worker_zone` and `zone` are set, `worker_zone` takes precedence. | 
|  | 873 | "additionalUserLabels": { # Additional user labels to be specified for the job. | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 874 | # Keys and values should follow the restrictions specified in the [labeling | 
|  | 875 | # restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) | 
|  | 876 | # page. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 877 | "a_key": "A String", | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 878 | }, | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 879 | "additionalExperiments": [ # Additional experiment flags for the job. | 
|  | 880 | "A String", | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 881 | ], | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 882 | "maxWorkers": 42, # The maximum number of Google Compute Engine instances to be made | 
|  | 883 | # available to your pipeline during execution, from 1 to 1000. | 
|  | 884 | "serviceAccountEmail": "A String", # The email address of the service account to run the job as. | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 885 | }, | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 886 | "update": True or False, # If set, replace the existing pipeline with the name specified by jobName | 
| Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 887 | # with this pipeline, preserving state. | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 888 | } | 
|  | 889 |  | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 890 | validateOnly: boolean, If true, the request is validated but not actually executed. | 
|  | 891 | Defaults to false. | 
|  | 892 | gcsPath: string, A Cloud Storage path to the template from which to create | 
|  | 893 | the job. | 
|  | 894 | Must be valid Cloud Storage URL, beginning with 'gs://'. | 
|  | 895 | location: string, The [regional endpoint] | 
|  | 896 | (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to | 
|  | 897 | which to direct the request. | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 898 | dynamicTemplate_gcsPath: string, Path to dynamic template spec file on GCS. | 
|  | 899 | The file must be a Json serialized DynamicTemplateFieSpec object. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 900 | dynamicTemplate_stagingLocation: string, Cloud Storage path for staging dependencies. | 
|  | 901 | Must be a valid Cloud Storage URL, beginning with `gs://`. | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 902 | x__xgafv: string, V1 error format. | 
|  | 903 | Allowed values | 
|  | 904 | 1 - v1 error format | 
|  | 905 | 2 - v2 error format | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 906 |  | 
|  | 907 | Returns: | 
|  | 908 | An object of the form: | 
|  | 909 |  | 
|  | 910 | { # Response to the request to launch a template. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 911 | "job": { # Defines a job to be run by the Cloud Dataflow service. # The job that was launched, if the request was not a dry run and | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 912 | # the job was successfully launched. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 913 | "clientRequestId": "A String", # The client's unique identifier of the job, re-used across retried attempts. | 
|  | 914 | # If this field is set, the service will ensure its uniqueness. | 
|  | 915 | # The request to create a job will fail if the service has knowledge of a | 
|  | 916 | # previously submitted job with the same client's ID and job name. | 
|  | 917 | # The caller may use this field to ensure idempotence of job | 
|  | 918 | # creation across retried attempts to create a job. | 
|  | 919 | # By default, the field is empty and, in that case, the service ignores it. | 
|  | 920 | "id": "A String", # The unique ID of this job. | 
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 921 | # | 
|  | 922 | # This field is set by the Cloud Dataflow service when the Job is | 
|  | 923 | # created, and is immutable for the life of the job. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 924 | "currentStateTime": "A String", # The timestamp associated with the current state. | 
|  | 925 | "transformNameMapping": { # The map of transform name prefixes of the job to be replaced to the | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 926 | # corresponding name prefixes of the new job. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 927 | "a_key": "A String", | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 928 | }, | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 929 | "environment": { # Describes the environment in which a Dataflow Job runs. # The environment for the job. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 930 | "internalExperiments": { # Experimental settings. | 
|  | 931 | "a_key": "", # Properties of the object. Contains field @type with type URL. | 
|  | 932 | }, | 
|  | 933 | "workerRegion": "A String", # The Compute Engine region | 
|  | 934 | # (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in | 
|  | 935 | # which worker processing should occur, e.g. "us-west1". Mutually exclusive | 
|  | 936 | # with worker_zone. If neither worker_region nor worker_zone is specified, | 
|  | 937 | # default to the control plane's region. | 
|  | 938 | "serviceKmsKeyName": "A String", # If set, contains the Cloud KMS key identifier used to encrypt data | 
|  | 939 | # at rest, AKA a Customer Managed Encryption Key (CMEK). | 
|  | 940 | # | 
|  | 941 | # Format: | 
|  | 942 | #   projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY | 
|  | 943 | "userAgent": { # A description of the process that generated the request. | 
|  | 944 | "a_key": "", # Properties of the object. | 
|  | 945 | }, | 
|  | 946 | "workerZone": "A String", # The Compute Engine zone | 
|  | 947 | # (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in | 
|  | 948 | # which worker processing should occur, e.g. "us-west1-a". Mutually exclusive | 
|  | 949 | # with worker_region. If neither worker_region nor worker_zone is specified, | 
|  | 950 | # a zone in the control plane's region is chosen based on available capacity. | 
|  | 951 | "clusterManagerApiService": "A String", # The type of cluster manager API to use.  If unknown or | 
| Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 952 | # unspecified, the service will attempt to choose a reasonable | 
|  | 953 | # default.  This should be in the form of the API service name, | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 954 | # e.g. "compute.googleapis.com". | 
|  | 955 | "tempStoragePrefix": "A String", # The prefix of the resources the system should use for temporary | 
|  | 956 | # storage.  The system will append the suffix "/temp-{JOBNAME} to | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 957 | # this resource prefix, where {JOBNAME} is the value of the | 
|  | 958 | # job_name field.  The resulting bucket and object prefix is used | 
|  | 959 | # as the prefix of the resources used to store temporary data | 
|  | 960 | # needed during the job execution.  NOTE: This will override the | 
|  | 961 | # value in taskrunner_settings. | 
|  | 962 | # The supported resource type is: | 
|  | 963 | # | 
|  | 964 | # Google Cloud Storage: | 
|  | 965 | # | 
|  | 966 | #   storage.googleapis.com/{bucket}/{object} | 
|  | 967 | #   bucket.storage.googleapis.com/{object} | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 968 | "experiments": [ # The list of experiments to enable. | 
|  | 969 | "A String", | 
|  | 970 | ], | 
|  | 971 | "version": { # A structure describing which components and their versions of the service | 
|  | 972 | # are required in order to run the job. | 
|  | 973 | "a_key": "", # Properties of the object. | 
|  | 974 | }, | 
|  | 975 | "serviceAccountEmail": "A String", # Identity to run virtual machines as. Defaults to the default account. | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 976 | "sdkPipelineOptions": { # The Cloud Dataflow SDK pipeline options specified by the user. These | 
|  | 977 | # options are passed through the service and are used to recreate the | 
|  | 978 | # SDK pipeline options on the worker in a language agnostic and platform | 
|  | 979 | # independent way. | 
|  | 980 | "a_key": "", # Properties of the object. | 
|  | 981 | }, | 
|  | 982 | "flexResourceSchedulingGoal": "A String", # Which Flexible Resource Scheduling mode to run in. | 
|  | 983 | "workerPools": [ # The worker pools. At least one "harness" worker pool must be | 
|  | 984 | # specified in order for the job to have workers. | 
|  | 985 | { # Describes one particular pool of Cloud Dataflow workers to be | 
|  | 986 | # instantiated by the Cloud Dataflow service in order to perform the | 
|  | 987 | # computations required by a job.  Note that a workflow job may use | 
|  | 988 | # multiple pools, in order to match the various computational | 
|  | 989 | # requirements of the various stages of the job. | 
|  | 990 | "numThreadsPerWorker": 42, # The number of threads per worker harness. If empty or unspecified, the | 
|  | 991 | # service will choose a number of threads (according to the number of cores | 
|  | 992 | # on the selected machine type for batch, or 1 by convention for streaming). | 
|  | 993 | "numWorkers": 42, # Number of Google Compute Engine workers in this pool needed to | 
|  | 994 | # execute the job.  If zero or unspecified, the service will | 
|  | 995 | # attempt to choose a reasonable default. | 
|  | 996 | "zone": "A String", # Zone to run the worker pools in.  If empty or unspecified, the service | 
|  | 997 | # will attempt to choose a reasonable default. | 
|  | 998 | "diskSourceImage": "A String", # Fully qualified source image for disks. | 
|  | 999 | "packages": [ # Packages to be installed on workers. | 
|  | 1000 | { # The packages that must be installed in order for a worker to run the | 
|  | 1001 | # steps of the Cloud Dataflow job that will be assigned to its worker | 
|  | 1002 | # pool. | 
|  | 1003 | # | 
|  | 1004 | # This is the mechanism by which the Cloud Dataflow SDK causes code to | 
|  | 1005 | # be loaded onto the workers. For example, the Cloud Dataflow Java SDK | 
|  | 1006 | # might use this to install jars containing the user's code and all of the | 
|  | 1007 | # various dependencies (libraries, data files, etc.) required in order | 
|  | 1008 | # for that code to run. | 
|  | 1009 | "name": "A String", # The name of the package. | 
|  | 1010 | "location": "A String", # The resource to read the package from. The supported resource type is: | 
|  | 1011 | # | 
|  | 1012 | # Google Cloud Storage: | 
|  | 1013 | # | 
|  | 1014 | #   storage.googleapis.com/{bucket} | 
|  | 1015 | #   bucket.storage.googleapis.com/ | 
|  | 1016 | }, | 
|  | 1017 | ], | 
|  | 1018 | "teardownPolicy": "A String", # Sets the policy for determining when to turndown worker pool. | 
|  | 1019 | # Allowed values are: `TEARDOWN_ALWAYS`, `TEARDOWN_ON_SUCCESS`, and | 
|  | 1020 | # `TEARDOWN_NEVER`. | 
|  | 1021 | # `TEARDOWN_ALWAYS` means workers are always torn down regardless of whether | 
|  | 1022 | # the job succeeds. `TEARDOWN_ON_SUCCESS` means workers are torn down | 
|  | 1023 | # if the job succeeds. `TEARDOWN_NEVER` means the workers are never torn | 
|  | 1024 | # down. | 
|  | 1025 | # | 
|  | 1026 | # If the workers are not torn down by the service, they will | 
|  | 1027 | # continue to run and use Google Compute Engine VM resources in the | 
|  | 1028 | # user's project until they are explicitly terminated by the user. | 
|  | 1029 | # Because of this, Google recommends using the `TEARDOWN_ALWAYS` | 
|  | 1030 | # policy except for small, manually supervised test jobs. | 
|  | 1031 | # | 
|  | 1032 | # If unknown or unspecified, the service will attempt to choose a reasonable | 
|  | 1033 | # default. | 
|  | 1034 | "onHostMaintenance": "A String", # The action to take on host maintenance, as defined by the Google | 
|  | 1035 | # Compute Engine API. | 
|  | 1036 | "poolArgs": { # Extra arguments for this worker pool. | 
|  | 1037 | "a_key": "", # Properties of the object. Contains field @type with type URL. | 
|  | 1038 | }, | 
|  | 1039 | "diskSizeGb": 42, # Size of root disk for VMs, in GB.  If zero or unspecified, the service will | 
|  | 1040 | # attempt to choose a reasonable default. | 
|  | 1041 | "workerHarnessContainerImage": "A String", # Required. Docker container image that executes the Cloud Dataflow worker | 
|  | 1042 | # harness, residing in Google Container Registry. | 
|  | 1043 | # | 
|  | 1044 | # Deprecated for the Fn API path. Use sdk_harness_container_images instead. | 
|  | 1045 | "diskType": "A String", # Type of root disk for VMs.  If empty or unspecified, the service will | 
|  | 1046 | # attempt to choose a reasonable default. | 
|  | 1047 | "machineType": "A String", # Machine type (e.g. "n1-standard-1").  If empty or unspecified, the | 
|  | 1048 | # service will attempt to choose a reasonable default. | 
|  | 1049 | "kind": "A String", # The kind of the worker pool; currently only `harness` and `shuffle` | 
|  | 1050 | # are supported. | 
|  | 1051 | "sdkHarnessContainerImages": [ # Set of SDK harness containers needed to execute this pipeline. This will | 
|  | 1052 | # only be set in the Fn API path. For non-cross-language pipelines this | 
|  | 1053 | # should have only one entry. Cross-language pipelines will have two or more | 
|  | 1054 | # entries. | 
|  | 1055 | { # Defines a SDK harness container for executing Dataflow pipelines. | 
|  | 1056 | "containerImage": "A String", # A docker container image that resides in Google Container Registry. | 
|  | 1057 | "useSingleCorePerContainer": True or False, # If true, recommends the Dataflow service to use only one core per SDK | 
|  | 1058 | # container instance with this image. If false (or unset) recommends using | 
|  | 1059 | # more than one core per SDK container instance with this image for | 
|  | 1060 | # efficiency. Note that Dataflow service may choose to override this property | 
|  | 1061 | # if needed. | 
|  | 1062 | }, | 
|  | 1063 | ], | 
|  | 1064 | "dataDisks": [ # Data disks that are used by a VM in this workflow. | 
|  | 1065 | { # Describes the data disk used by a workflow job. | 
|  | 1066 | "diskType": "A String", # Disk storage type, as defined by Google Compute Engine.  This | 
|  | 1067 | # must be a disk type appropriate to the project and zone in which | 
|  | 1068 | # the workers will run.  If unknown or unspecified, the service | 
|  | 1069 | # will attempt to choose a reasonable default. | 
|  | 1070 | # | 
|  | 1071 | # For example, the standard persistent disk type is a resource name | 
|  | 1072 | # typically ending in "pd-standard".  If SSD persistent disks are | 
|  | 1073 | # available, the resource name typically ends with "pd-ssd".  The | 
|  | 1074 | # actual valid values are defined the Google Compute Engine API, | 
|  | 1075 | # not by the Cloud Dataflow API; consult the Google Compute Engine | 
|  | 1076 | # documentation for more information about determining the set of | 
|  | 1077 | # available disk types for a particular project and zone. | 
|  | 1078 | # | 
|  | 1079 | # Google Compute Engine Disk types are local to a particular | 
|  | 1080 | # project in a particular zone, and so the resource name will | 
|  | 1081 | # typically look something like this: | 
|  | 1082 | # | 
|  | 1083 | # compute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard | 
|  | 1084 | "sizeGb": 42, # Size of disk in GB.  If zero or unspecified, the service will | 
|  | 1085 | # attempt to choose a reasonable default. | 
|  | 1086 | "mountPoint": "A String", # Directory in a VM where disk is mounted. | 
|  | 1087 | }, | 
|  | 1088 | ], | 
|  | 1089 | "subnetwork": "A String", # Subnetwork to which VMs will be assigned, if desired.  Expected to be of | 
|  | 1090 | # the form "regions/REGION/subnetworks/SUBNETWORK". | 
|  | 1091 | "ipConfiguration": "A String", # Configuration for VM IPs. | 
|  | 1092 | "taskrunnerSettings": { # Taskrunner configuration settings. # Settings passed through to Google Compute Engine workers when | 
|  | 1093 | # using the standard Dataflow task runner.  Users should ignore | 
|  | 1094 | # this field. | 
|  | 1095 | "alsologtostderr": True or False, # Whether to also send taskrunner log info to stderr. | 
|  | 1096 | "taskGroup": "A String", # The UNIX group ID on the worker VM to use for tasks launched by | 
|  | 1097 | # taskrunner; e.g. "wheel". | 
|  | 1098 | "harnessCommand": "A String", # The command to launch the worker harness. | 
|  | 1099 | "logDir": "A String", # The directory on the VM to store logs. | 
|  | 1100 | "oauthScopes": [ # The OAuth2 scopes to be requested by the taskrunner in order to | 
|  | 1101 | # access the Cloud Dataflow API. | 
|  | 1102 | "A String", | 
|  | 1103 | ], | 
|  | 1104 | "dataflowApiVersion": "A String", # The API version of endpoint, e.g. "v1b3" | 
|  | 1105 | "logUploadLocation": "A String", # Indicates where to put logs.  If this is not specified, the logs | 
|  | 1106 | # will not be uploaded. | 
|  | 1107 | # | 
|  | 1108 | # The supported resource type is: | 
|  | 1109 | # | 
|  | 1110 | # Google Cloud Storage: | 
|  | 1111 | #   storage.googleapis.com/{bucket}/{object} | 
|  | 1112 | #   bucket.storage.googleapis.com/{object} | 
|  | 1113 | "streamingWorkerMainClass": "A String", # The streaming worker main class name. | 
|  | 1114 | "workflowFileName": "A String", # The file to store the workflow in. | 
|  | 1115 | "languageHint": "A String", # The suggested backend language. | 
|  | 1116 | "commandlinesFileName": "A String", # The file to store preprocessing commands in. | 
|  | 1117 | "baseTaskDir": "A String", # The location on the worker for task-specific subdirectories. | 
|  | 1118 | "tempStoragePrefix": "A String", # The prefix of the resources the taskrunner should use for | 
|  | 1119 | # temporary storage. | 
|  | 1120 | # | 
|  | 1121 | # The supported resource type is: | 
|  | 1122 | # | 
|  | 1123 | # Google Cloud Storage: | 
|  | 1124 | #   storage.googleapis.com/{bucket}/{object} | 
|  | 1125 | #   bucket.storage.googleapis.com/{object} | 
|  | 1126 | "baseUrl": "A String", # The base URL for the taskrunner to use when accessing Google Cloud APIs. | 
|  | 1127 | # | 
|  | 1128 | # When workers access Google Cloud APIs, they logically do so via | 
|  | 1129 | # relative URLs.  If this field is specified, it supplies the base | 
|  | 1130 | # URL to use for resolving these relative URLs.  The normative | 
|  | 1131 | # algorithm used is defined by RFC 1808, "Relative Uniform Resource | 
|  | 1132 | # Locators". | 
|  | 1133 | # | 
|  | 1134 | # If not specified, the default value is "http://www.googleapis.com/" | 
|  | 1135 | "logToSerialconsole": True or False, # Whether to send taskrunner log info to Google Compute Engine VM serial | 
|  | 1136 | # console. | 
|  | 1137 | "continueOnException": True or False, # Whether to continue taskrunner if an exception is hit. | 
|  | 1138 | "parallelWorkerSettings": { # Provides data to pass through to the worker harness. # The settings to pass to the parallel worker harness. | 
|  | 1139 | "tempStoragePrefix": "A String", # The prefix of the resources the system should use for temporary | 
|  | 1140 | # storage. | 
|  | 1141 | # | 
|  | 1142 | # The supported resource type is: | 
|  | 1143 | # | 
|  | 1144 | # Google Cloud Storage: | 
|  | 1145 | # | 
|  | 1146 | #   storage.googleapis.com/{bucket}/{object} | 
|  | 1147 | #   bucket.storage.googleapis.com/{object} | 
|  | 1148 | "reportingEnabled": True or False, # Whether to send work progress updates to the service. | 
|  | 1149 | "baseUrl": "A String", # The base URL for accessing Google Cloud APIs. | 
|  | 1150 | # | 
|  | 1151 | # When workers access Google Cloud APIs, they logically do so via | 
|  | 1152 | # relative URLs.  If this field is specified, it supplies the base | 
|  | 1153 | # URL to use for resolving these relative URLs.  The normative | 
|  | 1154 | # algorithm used is defined by RFC 1808, "Relative Uniform Resource | 
|  | 1155 | # Locators". | 
|  | 1156 | # | 
|  | 1157 | # If not specified, the default value is "http://www.googleapis.com/" | 
|  | 1158 | "servicePath": "A String", # The Cloud Dataflow service path relative to the root URL, for example, | 
|  | 1159 | # "dataflow/v1b3/projects". | 
|  | 1160 | "shuffleServicePath": "A String", # The Shuffle service path relative to the root URL, for example, | 
|  | 1161 | # "shuffle/v1beta1". | 
|  | 1162 | "workerId": "A String", # The ID of the worker running this pipeline. | 
|  | 1163 | }, | 
|  | 1164 | "taskUser": "A String", # The UNIX user ID on the worker VM to use for tasks launched by | 
|  | 1165 | # taskrunner; e.g. "root". | 
|  | 1166 | "vmId": "A String", # The ID string of the VM. | 
|  | 1167 | }, | 
|  | 1168 | "autoscalingSettings": { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool. | 
|  | 1169 | "algorithm": "A String", # The algorithm to use for autoscaling. | 
|  | 1170 | "maxNumWorkers": 42, # The maximum number of workers to cap scaling at. | 
|  | 1171 | }, | 
|  | 1172 | "metadata": { # Metadata to set on the Google Compute Engine VMs. | 
|  | 1173 | "a_key": "A String", | 
|  | 1174 | }, | 
|  | 1175 | "defaultPackageSet": "A String", # The default package set to install.  This allows the service to | 
|  | 1176 | # select a default set of packages which are useful to worker | 
|  | 1177 | # harnesses written in a particular language. | 
|  | 1178 | "network": "A String", # Network to which VMs will be assigned.  If empty or unspecified, | 
|  | 1179 | # the service will use the network "default". | 
|  | 1180 | }, | 
|  | 1181 | ], | 
|  | 1182 | "dataset": "A String", # The dataset for the current project where various workflow | 
|  | 1183 | # related tables are stored. | 
|  | 1184 | # | 
|  | 1185 | # The supported resource type is: | 
|  | 1186 | # | 
|  | 1187 | # Google BigQuery: | 
|  | 1188 | #   bigquery.googleapis.com/{dataset} | 
| Jon Wayne Parrott | 7d5badb | 2016-08-16 12:44:29 -0700 | [diff] [blame] | 1189 | }, | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1190 | "stageStates": [ # This field may be mutated by the Cloud Dataflow service; | 
|  | 1191 | # callers cannot mutate it. | 
|  | 1192 | { # A message describing the state of a particular execution stage. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1193 | "currentStateTime": "A String", # The time at which the stage transitioned to this state. | 
|  | 1194 | "executionStageState": "A String", # Executions stage states allow the same set of values as JobState. | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 1195 | "executionStageName": "A String", # The name of the execution stage. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1196 | }, | 
|  | 1197 | ], | 
|  | 1198 | "jobMetadata": { # Metadata available primarily for filtering jobs. Will be included in the # This field is populated by the Dataflow service to support filtering jobs | 
|  | 1199 | # by the metadata values provided here. Populated for ListJobs and all GetJob | 
|  | 1200 | # views SUMMARY and higher. | 
|  | 1201 | # ListJob response and Job SUMMARY view. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1202 | "datastoreDetails": [ # Identification of a Datastore source used in the Dataflow job. | 
|  | 1203 | { # Metadata for a Datastore connector used by the job. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1204 | "namespace": "A String", # Namespace used in the connection. | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 1205 | "projectId": "A String", # ProjectId accessed in the connection. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1206 | }, | 
|  | 1207 | ], | 
|  | 1208 | "sdkVersion": { # The version of the SDK used to run the job. # The SDK version used to run the job. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1209 | "version": "A String", # The version of the SDK used to run the job. | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 1210 | "sdkSupportStatus": "A String", # The support status for this SDK version. | 
|  | 1211 | "versionDisplayName": "A String", # A readable string describing the version of the SDK. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1212 | }, | 
|  | 1213 | "bigqueryDetails": [ # Identification of a BigQuery source used in the Dataflow job. | 
|  | 1214 | { # Metadata for a BigQuery connector used by the job. | 
|  | 1215 | "table": "A String", # Table accessed in the connection. | 
|  | 1216 | "dataset": "A String", # Dataset accessed in the connection. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1217 | "query": "A String", # Query used to access data in the connection. | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 1218 | "projectId": "A String", # Project accessed in the connection. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1219 | }, | 
|  | 1220 | ], | 
|  | 1221 | "fileDetails": [ # Identification of a File source used in the Dataflow job. | 
|  | 1222 | { # Metadata for a File connector used by the job. | 
|  | 1223 | "filePattern": "A String", # File Pattern used to access files by the connector. | 
|  | 1224 | }, | 
|  | 1225 | ], | 
|  | 1226 | "pubsubDetails": [ # Identification of a PubSub source used in the Dataflow job. | 
|  | 1227 | { # Metadata for a PubSub connector used by the job. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1228 | "topic": "A String", # Topic accessed in the connection. | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 1229 | "subscription": "A String", # Subscription used in the connection. | 
|  | 1230 | }, | 
|  | 1231 | ], | 
|  | 1232 | "bigTableDetails": [ # Identification of a BigTable source used in the Dataflow job. | 
|  | 1233 | { # Metadata for a BigTable connector used by the job. | 
|  | 1234 | "projectId": "A String", # ProjectId accessed in the connection. | 
|  | 1235 | "instanceId": "A String", # InstanceId accessed in the connection. | 
|  | 1236 | "tableId": "A String", # TableId accessed in the connection. | 
|  | 1237 | }, | 
|  | 1238 | ], | 
|  | 1239 | "spannerDetails": [ # Identification of a Spanner source used in the Dataflow job. | 
|  | 1240 | { # Metadata for a Spanner connector used by the job. | 
|  | 1241 | "instanceId": "A String", # InstanceId accessed in the connection. | 
|  | 1242 | "projectId": "A String", # ProjectId accessed in the connection. | 
|  | 1243 | "databaseId": "A String", # DatabaseId accessed in the connection. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1244 | }, | 
|  | 1245 | ], | 
|  | 1246 | }, | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 1247 | "type": "A String", # The type of Cloud Dataflow job. | 
|  | 1248 | "projectId": "A String", # The ID of the Cloud Platform project that the job belongs to. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1249 | "createdFromSnapshotId": "A String", # If this is specified, the job's initial state is populated from the given | 
|  | 1250 | # snapshot. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1251 | "pipelineDescription": { # A descriptive representation of submitted pipeline as well as the executed # Preliminary field: The format of this data may change at any time. | 
|  | 1252 | # A description of the user pipeline and stages through which it is executed. | 
|  | 1253 | # Created by Cloud Dataflow service.  Only retrieved with | 
|  | 1254 | # JOB_VIEW_DESCRIPTION or JOB_VIEW_ALL. | 
|  | 1255 | # form.  This data is provided by the Dataflow service for ease of visualizing | 
|  | 1256 | # the pipeline and interpreting Dataflow provided metrics. | 
|  | 1257 | "executionPipelineStage": [ # Description of each stage of execution of the pipeline. | 
|  | 1258 | { # Description of the composing transforms, names/ids, and input/outputs of a | 
|  | 1259 | # stage of execution.  Some composing transforms and sources may have been | 
|  | 1260 | # generated by the Dataflow service during execution planning. | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 1261 | "outputSource": [ # Output sources for this stage. | 
|  | 1262 | { # Description of an input or output of an execution stage. | 
|  | 1263 | "sizeBytes": "A String", # Size of the source, if measurable. | 
|  | 1264 | "name": "A String", # Dataflow service generated name for this source. | 
|  | 1265 | "userName": "A String", # Human-readable name for this source; may be user or system generated. | 
|  | 1266 | "originalTransformOrCollection": "A String", # User name for the original user transform or collection with which this | 
|  | 1267 | # source is most closely associated. | 
|  | 1268 | }, | 
|  | 1269 | ], | 
|  | 1270 | "name": "A String", # Dataflow service generated name for this stage. | 
|  | 1271 | "inputSource": [ # Input sources for this stage. | 
|  | 1272 | { # Description of an input or output of an execution stage. | 
|  | 1273 | "sizeBytes": "A String", # Size of the source, if measurable. | 
|  | 1274 | "name": "A String", # Dataflow service generated name for this source. | 
|  | 1275 | "userName": "A String", # Human-readable name for this source; may be user or system generated. | 
|  | 1276 | "originalTransformOrCollection": "A String", # User name for the original user transform or collection with which this | 
|  | 1277 | # source is most closely associated. | 
|  | 1278 | }, | 
|  | 1279 | ], | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1280 | "id": "A String", # Dataflow service generated id for this stage. | 
|  | 1281 | "componentTransform": [ # Transforms that comprise this execution stage. | 
|  | 1282 | { # Description of a transform executed as part of an execution stage. | 
|  | 1283 | "originalTransform": "A String", # User name for the original user transform with which this transform is | 
|  | 1284 | # most closely associated. | 
|  | 1285 | "name": "A String", # Dataflow service generated name for this source. | 
|  | 1286 | "userName": "A String", # Human-readable name for this transform; may be user or system generated. | 
|  | 1287 | }, | 
|  | 1288 | ], | 
|  | 1289 | "componentSource": [ # Collections produced and consumed by component transforms of this stage. | 
|  | 1290 | { # Description of an interstitial value between transforms in an execution | 
|  | 1291 | # stage. | 
|  | 1292 | "name": "A String", # Dataflow service generated name for this source. | 
|  | 1293 | "userName": "A String", # Human-readable name for this transform; may be user or system generated. | 
|  | 1294 | "originalTransformOrCollection": "A String", # User name for the original user transform or collection with which this | 
|  | 1295 | # source is most closely associated. | 
|  | 1296 | }, | 
|  | 1297 | ], | 
|  | 1298 | "kind": "A String", # Type of tranform this stage is executing. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1299 | }, | 
|  | 1300 | ], | 
|  | 1301 | "originalPipelineTransform": [ # Description of each transform in the pipeline and collections between them. | 
|  | 1302 | { # Description of the type, names/ids, and input/outputs for a transform. | 
|  | 1303 | "kind": "A String", # Type of transform. | 
|  | 1304 | "inputCollectionName": [ # User names for all collection inputs to this transform. | 
|  | 1305 | "A String", | 
|  | 1306 | ], | 
|  | 1307 | "name": "A String", # User provided name for this transform instance. | 
|  | 1308 | "id": "A String", # SDK generated id of this transform instance. | 
|  | 1309 | "displayData": [ # Transform-specific display data. | 
|  | 1310 | { # Data provided with a pipeline or transform to provide descriptive info. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1311 | "durationValue": "A String", # Contains value if the data is of duration type. | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 1312 | "int64Value": "A String", # Contains value if the data is of int64 type. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1313 | "namespace": "A String", # The namespace for the key. This is usually a class name or programming | 
|  | 1314 | # language namespace (i.e. python module) which defines the display data. | 
|  | 1315 | # This allows a dax monitoring system to specially handle the data | 
|  | 1316 | # and perform custom rendering. | 
|  | 1317 | "floatValue": 3.14, # Contains value if the data is of float type. | 
|  | 1318 | "key": "A String", # The key identifying the display data. | 
|  | 1319 | # This is intended to be used as a label for the display data | 
|  | 1320 | # when viewed in a dax monitoring system. | 
|  | 1321 | "shortStrValue": "A String", # A possible additional shorter value to display. | 
|  | 1322 | # For example a java_class_name_value of com.mypackage.MyDoFn | 
|  | 1323 | # will be stored with MyDoFn as the short_str_value and | 
|  | 1324 | # com.mypackage.MyDoFn as the java_class_name value. | 
|  | 1325 | # short_str_value can be displayed and java_class_name_value | 
|  | 1326 | # will be displayed as a tooltip. | 
|  | 1327 | "url": "A String", # An optional full URL. | 
|  | 1328 | "label": "A String", # An optional label to display in a dax UI for the element. | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 1329 | "timestampValue": "A String", # Contains value if the data is of timestamp type. | 
|  | 1330 | "boolValue": True or False, # Contains value if the data is of a boolean type. | 
|  | 1331 | "javaClassValue": "A String", # Contains value if the data is of java class type. | 
|  | 1332 | "strValue": "A String", # Contains value if the data is of string type. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1333 | }, | 
|  | 1334 | ], | 
|  | 1335 | "outputCollectionName": [ # User  names for all collection outputs to this transform. | 
|  | 1336 | "A String", | 
|  | 1337 | ], | 
|  | 1338 | }, | 
|  | 1339 | ], | 
|  | 1340 | "displayData": [ # Pipeline level display data. | 
|  | 1341 | { # Data provided with a pipeline or transform to provide descriptive info. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1342 | "durationValue": "A String", # Contains value if the data is of duration type. | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 1343 | "int64Value": "A String", # Contains value if the data is of int64 type. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1344 | "namespace": "A String", # The namespace for the key. This is usually a class name or programming | 
|  | 1345 | # language namespace (i.e. python module) which defines the display data. | 
|  | 1346 | # This allows a dax monitoring system to specially handle the data | 
|  | 1347 | # and perform custom rendering. | 
|  | 1348 | "floatValue": 3.14, # Contains value if the data is of float type. | 
|  | 1349 | "key": "A String", # The key identifying the display data. | 
|  | 1350 | # This is intended to be used as a label for the display data | 
|  | 1351 | # when viewed in a dax monitoring system. | 
|  | 1352 | "shortStrValue": "A String", # A possible additional shorter value to display. | 
|  | 1353 | # For example a java_class_name_value of com.mypackage.MyDoFn | 
|  | 1354 | # will be stored with MyDoFn as the short_str_value and | 
|  | 1355 | # com.mypackage.MyDoFn as the java_class_name value. | 
|  | 1356 | # short_str_value can be displayed and java_class_name_value | 
|  | 1357 | # will be displayed as a tooltip. | 
|  | 1358 | "url": "A String", # An optional full URL. | 
|  | 1359 | "label": "A String", # An optional label to display in a dax UI for the element. | 
| Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 1360 | "timestampValue": "A String", # Contains value if the data is of timestamp type. | 
|  | 1361 | "boolValue": True or False, # Contains value if the data is of a boolean type. | 
|  | 1362 | "javaClassValue": "A String", # Contains value if the data is of java class type. | 
|  | 1363 | "strValue": "A String", # Contains value if the data is of string type. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1364 | }, | 
|  | 1365 | ], | 
|  | 1366 | }, | 
|  | 1367 | "replaceJobId": "A String", # If this job is an update of an existing job, this field is the job ID | 
|  | 1368 | # of the job it replaced. | 
|  | 1369 | # | 
|  | 1370 | # When sending a `CreateJobRequest`, you can update a job by specifying it | 
|  | 1371 | # here. The job named here is stopped, and its intermediate state is | 
|  | 1372 | # transferred to this job. | 
|  | 1373 | "tempFiles": [ # A set of files the system should be aware of that are used | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1374 | # for temporary storage. These temporary files will be | 
|  | 1375 | # removed on job completion. | 
|  | 1376 | # No duplicates are allowed. | 
|  | 1377 | # No file patterns are supported. | 
|  | 1378 | # | 
|  | 1379 | # The supported files are: | 
|  | 1380 | # | 
|  | 1381 | # Google Cloud Storage: | 
|  | 1382 | # | 
|  | 1383 | #    storage.googleapis.com/{bucket}/{object} | 
|  | 1384 | #    bucket.storage.googleapis.com/{object} | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1385 | "A String", | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1386 | ], | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1387 | "name": "A String", # The user-specified Cloud Dataflow job name. | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1388 | # | 
|  | 1389 | # Only one Job with a given name may exist in a project at any | 
|  | 1390 | # given time. If a caller attempts to create a Job with the same | 
|  | 1391 | # name as an already-existing Job, the attempt returns the | 
|  | 1392 | # existing Job. | 
|  | 1393 | # | 
|  | 1394 | # The name must match the regular expression | 
|  | 1395 | # `[a-z]([-a-z0-9]{0,38}[a-z0-9])?` | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1396 | "steps": [ # Exactly one of step or steps_location should be specified. | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1397 | # | 
|  | 1398 | # The top-level steps that constitute the entire job. | 
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1399 | { # Defines a particular step within a Cloud Dataflow job. | 
|  | 1400 | # | 
|  | 1401 | # A job consists of multiple steps, each of which performs some | 
|  | 1402 | # specific operation as part of the overall job.  Data is typically | 
|  | 1403 | # passed from one step to another as part of the job. | 
|  | 1404 | # | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1405 | # Here's an example of a sequence of steps which together implement a | 
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1406 | # Map-Reduce job: | 
|  | 1407 | # | 
|  | 1408 | #   * Read a collection of data from some source, parsing the | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1409 | #     collection's elements. | 
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1410 | # | 
|  | 1411 | #   * Validate the elements. | 
|  | 1412 | # | 
|  | 1413 | #   * Apply a user-defined function to map each element to some value | 
|  | 1414 | #     and extract an element-specific key value. | 
|  | 1415 | # | 
|  | 1416 | #   * Group elements with the same key into a single element with | 
|  | 1417 | #     that key, transforming a multiply-keyed collection into a | 
|  | 1418 | #     uniquely-keyed collection. | 
|  | 1419 | # | 
|  | 1420 | #   * Write the elements out to some data sink. | 
|  | 1421 | # | 
|  | 1422 | # Note that the Cloud Dataflow service may be used to run many different | 
|  | 1423 | # types of jobs, not just Map-Reduce. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1424 | "name": "A String", # The name that identifies the step. This must be unique for each | 
| Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1425 | # step with respect to all other steps in the Cloud Dataflow job. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1426 | "kind": "A String", # The kind of step in the Cloud Dataflow job. | 
|  | 1427 | "properties": { # Named properties associated with the step. Each kind of | 
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1428 | # predefined step has its own required set of properties. | 
|  | 1429 | # Must be provided on Create.  Only retrieved with JOB_VIEW_ALL. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1430 | "a_key": "", # Properties of the object. | 
| Jon Wayne Parrott | 7d5badb | 2016-08-16 12:44:29 -0700 | [diff] [blame] | 1431 | }, | 
|  | 1432 | }, | 
|  | 1433 | ], | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1434 | "replacedByJobId": "A String", # If another job is an update of this job (and thus, this job is in | 
|  | 1435 | # `JOB_STATE_UPDATED`), this field contains the ID of that job. | 
|  | 1436 | "executionInfo": { # Additional information about how a Cloud Dataflow job will be executed that # Deprecated. | 
|  | 1437 | # isn't contained in the submitted job. | 
|  | 1438 | "stages": { # A mapping from each stage to the information about that stage. | 
|  | 1439 | "a_key": { # Contains information about how a particular | 
|  | 1440 | # google.dataflow.v1beta3.Step will be executed. | 
|  | 1441 | "stepName": [ # The steps associated with the execution stage. | 
|  | 1442 | # Note that stages may have several steps, and that a given step | 
|  | 1443 | # might be run by more than one stage. | 
|  | 1444 | "A String", | 
|  | 1445 | ], | 
|  | 1446 | }, | 
|  | 1447 | }, | 
|  | 1448 | }, | 
|  | 1449 | "currentState": "A String", # The current state of the job. | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1450 | # | 
|  | 1451 | # Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise | 
|  | 1452 | # specified. | 
|  | 1453 | # | 
|  | 1454 | # A job in the `JOB_STATE_RUNNING` state may asynchronously enter a | 
|  | 1455 | # terminal state. After a job has reached a terminal state, no | 
|  | 1456 | # further state updates may be made. | 
|  | 1457 | # | 
|  | 1458 | # This field may be mutated by the Cloud Dataflow service; | 
|  | 1459 | # callers cannot mutate it. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1460 | "location": "A String", # The [regional endpoint] | 
|  | 1461 | # (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that | 
|  | 1462 | # contains this job. | 
|  | 1463 | "startTime": "A String", # The timestamp when the job was started (transitioned to JOB_STATE_PENDING). | 
|  | 1464 | # Flexible resource scheduling jobs are started with some delay after job | 
|  | 1465 | # creation, so start_time is unset before start and is updated when the | 
|  | 1466 | # job is started by the Cloud Dataflow service. For other jobs, start_time | 
|  | 1467 | # always equals to create_time and is immutable and set by the Cloud Dataflow | 
|  | 1468 | # service. | 
|  | 1469 | "stepsLocation": "A String", # The GCS location where the steps are stored. | 
|  | 1470 | "labels": { # User-defined labels for this job. | 
|  | 1471 | # | 
|  | 1472 | # The labels map can contain no more than 64 entries.  Entries of the labels | 
|  | 1473 | # map are UTF8 strings that comply with the following restrictions: | 
|  | 1474 | # | 
|  | 1475 | # * Keys must conform to regexp:  \p{Ll}\p{Lo}{0,62} | 
|  | 1476 | # * Values must conform to regexp:  [\p{Ll}\p{Lo}\p{N}_-]{0,63} | 
|  | 1477 | # * Both keys and values are additionally constrained to be <= 128 bytes in | 
|  | 1478 | # size. | 
|  | 1479 | "a_key": "A String", | 
| Jon Wayne Parrott | 7d5badb | 2016-08-16 12:44:29 -0700 | [diff] [blame] | 1480 | }, | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1481 | "createTime": "A String", # The timestamp when the job was initially created. Immutable and set by the | 
|  | 1482 | # Cloud Dataflow service. | 
|  | 1483 | "requestedState": "A String", # The job's requested state. | 
|  | 1484 | # | 
|  | 1485 | # `UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and | 
|  | 1486 | # `JOB_STATE_RUNNING` states, by setting requested_state.  `UpdateJob` may | 
|  | 1487 | # also be used to directly set a job's requested state to | 
|  | 1488 | # `JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the | 
|  | 1489 | # job if it has not already reached a terminal state. | 
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1490 | }, | 
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1491 | }</pre> | 
|  | 1492 | </div> | 
|  | 1493 |  | 
| Jon Wayne Parrott | 7d5badb | 2016-08-16 12:44:29 -0700 | [diff] [blame] | 1494 | </body></html> |