Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ae34f86

Browse files
committedDec 7, 2023
feat(dataflow): update the api
#### dataflow:v1b3 The following keys were added: - schemas.RuntimeUpdatableParams.properties.workerUtilizationHint (Total Keys: 2)
1 parent d9dcc8a commit ae34f86

6 files changed

+119
-96
lines changed
 

‎docs/dyn/dataflow_v1b3.projects.jobs.html

+42-35
Large diffs are not rendered by default.

‎docs/dyn/dataflow_v1b3.projects.locations.flexTemplates.html

+6-5
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ <h3>Method Details</h3>
229229
&quot;clientRequestId&quot;: &quot;A String&quot;, # The client&#x27;s unique identifier of the job, re-used across retried attempts. If this field is set, the service will ensure its uniqueness. The request to create a job will fail if the service has knowledge of a previously submitted job with the same client&#x27;s ID and job name. The caller may use this field to ensure idempotence of job creation across retried attempts to create a job. By default, the field is empty and, in that case, the service ignores it.
230230
&quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
231231
&quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
232-
&quot;currentState&quot;: &quot;A String&quot;, # The current state of the job. Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise specified. A job in the `JOB_STATE_RUNNING` state may asynchronously enter a terminal state. After a job has reached a terminal state, no further state updates may be made. This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
232+
&quot;currentState&quot;: &quot;A String&quot;, # The current state of the job. Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise specified. A job in the `JOB_STATE_RUNNING` state may asynchronously enter a terminal state. After a job has reached a terminal state, no further state updates may be made. This field might be mutated by the Dataflow service; callers cannot mutate it.
233233
&quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
234234
&quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
235235
&quot;clusterManagerApiService&quot;: &quot;A String&quot;, # The type of cluster manager API to use. If unknown or unspecified, the service will attempt to choose a reasonable default. This should be in the form of the API service name, e.g. &quot;compute.googleapis.com&quot;.
@@ -360,7 +360,7 @@ <h3>Method Details</h3>
360360
},
361361
},
362362
},
363-
&quot;id&quot;: &quot;A String&quot;, # The unique ID of this job. This field is set by the Cloud Dataflow service when the Job is created, and is immutable for the life of the job.
363+
&quot;id&quot;: &quot;A String&quot;, # The unique ID of this job. This field is set by the Dataflow service when the job is created, and is immutable for the life of the job.
364364
&quot;jobMetadata&quot;: { # Metadata available primarily for filtering jobs. Will be included in the ListJob response and Job SUMMARY view. # This field is populated by the Dataflow service to support filtering jobs by the metadata values provided here. Populated for ListJobs and all GetJob views SUMMARY and higher.
365365
&quot;bigTableDetails&quot;: [ # Identification of a Cloud Bigtable source used in the Dataflow job.
366366
{ # Metadata for a Cloud Bigtable connector used by the job.
@@ -421,7 +421,7 @@ <h3>Method Details</h3>
421421
&quot;a_key&quot;: &quot;A String&quot;,
422422
},
423423
&quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
424-
&quot;name&quot;: &quot;A String&quot;, # The user-specified Cloud Dataflow job name. Only one Job with a given name can exist in a project within one region at any given time. Jobs in different regions can have the same name. If a caller attempts to create a Job with the same name as an already-existing Job, the attempt returns the existing Job. The name must match the regular expression `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?`
424+
&quot;name&quot;: &quot;A String&quot;, # The user-specified Dataflow job name. Only one active job with a given name can exist in a project within one region at any given time. Jobs in different regions can have the same name. If a caller attempts to create a job with the same name as an active job that already exists, the attempt returns the existing job. The name must match the regular expression `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?`
425425
&quot;pipelineDescription&quot;: { # A descriptive representation of submitted pipeline as well as the executed form. This data is provided by the Dataflow service for ease of visualizing the pipeline and interpreting Dataflow provided metrics. # Preliminary field: The format of this data may change at any time. A description of the user pipeline and stages through which it is executed. Created by Cloud Dataflow service. Only retrieved with JOB_VIEW_DESCRIPTION or JOB_VIEW_ALL.
426426
&quot;displayData&quot;: [ # Pipeline level display data.
427427
{ # Data provided with a pipeline or transform to provide descriptive info.
@@ -510,13 +510,14 @@ <h3>Method Details</h3>
510510
],
511511
&quot;stepNamesHash&quot;: &quot;A String&quot;, # A hash value of the submitted pipeline portable graph step names if exists.
512512
},
513-
&quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
513+
&quot;projectId&quot;: &quot;A String&quot;, # The ID of the Google Cloud project that the job belongs to.
514514
&quot;replaceJobId&quot;: &quot;A String&quot;, # If this job is an update of an existing job, this field is the job ID of the job it replaced. When sending a `CreateJobRequest`, you can update a job by specifying it here. The job named here is stopped, and its intermediate state is transferred to this job.
515515
&quot;replacedByJobId&quot;: &quot;A String&quot;, # If another job is an update of this job (and thus, this job is in `JOB_STATE_UPDATED`), this field contains the ID of that job.
516516
&quot;requestedState&quot;: &quot;A String&quot;, # The job&#x27;s requested state. Applies to `UpdateJob` requests. Set `requested_state` with `UpdateJob` requests to switch between the states `JOB_STATE_STOPPED` and `JOB_STATE_RUNNING`. You can also use `UpdateJob` requests to change a job&#x27;s state from `JOB_STATE_RUNNING` to `JOB_STATE_CANCELLED`, `JOB_STATE_DONE`, or `JOB_STATE_DRAINED`. These states irrevocably terminate the job if it hasn&#x27;t already reached a terminal state. This field has no effect on `CreateJob` requests.
517517
&quot;runtimeUpdatableParams&quot;: { # Additional job parameters that can only be updated during runtime using the projects.jobs.update method. These fields have no effect when specified during job creation. # This field may ONLY be modified at runtime using the projects.jobs.update method to adjust job behavior. This field has no effect when specified at job creation.
518518
&quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap autoscaling at. This field is currently only supported for Streaming Engine jobs.
519519
&quot;minNumWorkers&quot;: 42, # The minimum number of workers to scale down to. This field is currently only supported for Streaming Engine jobs.
520+
&quot;workerUtilizationHint&quot;: 3.14, # Target worker utilization, compared against the aggregate utilization of the worker pool by autoscaler, to determine upscaling and downscaling when absent other constraints such as backlog.
520521
},
521522
&quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests.
522523
&quot;satisfiesPzs&quot;: True or False, # Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests.
@@ -544,7 +545,7 @@ <h3>Method Details</h3>
544545
&quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
545546
&quot;a_key&quot;: &quot;A String&quot;,
546547
},
547-
&quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
548+
&quot;type&quot;: &quot;A String&quot;, # The type of Dataflow job.
548549
},
549550
}</pre>
550551
</div>

‎docs/dyn/dataflow_v1b3.projects.locations.jobs.html

+36-30
Large diffs are not rendered by default.

‎docs/dyn/dataflow_v1b3.projects.locations.templates.html

+12-10
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ <h3>Method Details</h3>
146146
&quot;clientRequestId&quot;: &quot;A String&quot;, # The client&#x27;s unique identifier of the job, re-used across retried attempts. If this field is set, the service will ensure its uniqueness. The request to create a job will fail if the service has knowledge of a previously submitted job with the same client&#x27;s ID and job name. The caller may use this field to ensure idempotence of job creation across retried attempts to create a job. By default, the field is empty and, in that case, the service ignores it.
147147
&quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
148148
&quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
149-
&quot;currentState&quot;: &quot;A String&quot;, # The current state of the job. Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise specified. A job in the `JOB_STATE_RUNNING` state may asynchronously enter a terminal state. After a job has reached a terminal state, no further state updates may be made. This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
149+
&quot;currentState&quot;: &quot;A String&quot;, # The current state of the job. Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise specified. A job in the `JOB_STATE_RUNNING` state may asynchronously enter a terminal state. After a job has reached a terminal state, no further state updates may be made. This field might be mutated by the Dataflow service; callers cannot mutate it.
150150
&quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
151151
&quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
152152
&quot;clusterManagerApiService&quot;: &quot;A String&quot;, # The type of cluster manager API to use. If unknown or unspecified, the service will attempt to choose a reasonable default. This should be in the form of the API service name, e.g. &quot;compute.googleapis.com&quot;.
@@ -277,7 +277,7 @@ <h3>Method Details</h3>
277277
},
278278
},
279279
},
280-
&quot;id&quot;: &quot;A String&quot;, # The unique ID of this job. This field is set by the Cloud Dataflow service when the Job is created, and is immutable for the life of the job.
280+
&quot;id&quot;: &quot;A String&quot;, # The unique ID of this job. This field is set by the Dataflow service when the job is created, and is immutable for the life of the job.
281281
&quot;jobMetadata&quot;: { # Metadata available primarily for filtering jobs. Will be included in the ListJob response and Job SUMMARY view. # This field is populated by the Dataflow service to support filtering jobs by the metadata values provided here. Populated for ListJobs and all GetJob views SUMMARY and higher.
282282
&quot;bigTableDetails&quot;: [ # Identification of a Cloud Bigtable source used in the Dataflow job.
283283
{ # Metadata for a Cloud Bigtable connector used by the job.
@@ -338,7 +338,7 @@ <h3>Method Details</h3>
338338
&quot;a_key&quot;: &quot;A String&quot;,
339339
},
340340
&quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
341-
&quot;name&quot;: &quot;A String&quot;, # The user-specified Cloud Dataflow job name. Only one Job with a given name can exist in a project within one region at any given time. Jobs in different regions can have the same name. If a caller attempts to create a Job with the same name as an already-existing Job, the attempt returns the existing Job. The name must match the regular expression `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?`
341+
&quot;name&quot;: &quot;A String&quot;, # The user-specified Dataflow job name. Only one active job with a given name can exist in a project within one region at any given time. Jobs in different regions can have the same name. If a caller attempts to create a job with the same name as an active job that already exists, the attempt returns the existing job. The name must match the regular expression `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?`
342342
&quot;pipelineDescription&quot;: { # A descriptive representation of submitted pipeline as well as the executed form. This data is provided by the Dataflow service for ease of visualizing the pipeline and interpreting Dataflow provided metrics. # Preliminary field: The format of this data may change at any time. A description of the user pipeline and stages through which it is executed. Created by Cloud Dataflow service. Only retrieved with JOB_VIEW_DESCRIPTION or JOB_VIEW_ALL.
343343
&quot;displayData&quot;: [ # Pipeline level display data.
344344
{ # Data provided with a pipeline or transform to provide descriptive info.
@@ -427,13 +427,14 @@ <h3>Method Details</h3>
427427
],
428428
&quot;stepNamesHash&quot;: &quot;A String&quot;, # A hash value of the submitted pipeline portable graph step names if exists.
429429
},
430-
&quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
430+
&quot;projectId&quot;: &quot;A String&quot;, # The ID of the Google Cloud project that the job belongs to.
431431
&quot;replaceJobId&quot;: &quot;A String&quot;, # If this job is an update of an existing job, this field is the job ID of the job it replaced. When sending a `CreateJobRequest`, you can update a job by specifying it here. The job named here is stopped, and its intermediate state is transferred to this job.
432432
&quot;replacedByJobId&quot;: &quot;A String&quot;, # If another job is an update of this job (and thus, this job is in `JOB_STATE_UPDATED`), this field contains the ID of that job.
433433
&quot;requestedState&quot;: &quot;A String&quot;, # The job&#x27;s requested state. Applies to `UpdateJob` requests. Set `requested_state` with `UpdateJob` requests to switch between the states `JOB_STATE_STOPPED` and `JOB_STATE_RUNNING`. You can also use `UpdateJob` requests to change a job&#x27;s state from `JOB_STATE_RUNNING` to `JOB_STATE_CANCELLED`, `JOB_STATE_DONE`, or `JOB_STATE_DRAINED`. These states irrevocably terminate the job if it hasn&#x27;t already reached a terminal state. This field has no effect on `CreateJob` requests.
434434
&quot;runtimeUpdatableParams&quot;: { # Additional job parameters that can only be updated during runtime using the projects.jobs.update method. These fields have no effect when specified during job creation. # This field may ONLY be modified at runtime using the projects.jobs.update method to adjust job behavior. This field has no effect when specified at job creation.
435435
&quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap autoscaling at. This field is currently only supported for Streaming Engine jobs.
436436
&quot;minNumWorkers&quot;: 42, # The minimum number of workers to scale down to. This field is currently only supported for Streaming Engine jobs.
437+
&quot;workerUtilizationHint&quot;: 3.14, # Target worker utilization, compared against the aggregate utilization of the worker pool by autoscaler, to determine upscaling and downscaling when absent other constraints such as backlog.
437438
},
438439
&quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests.
439440
&quot;satisfiesPzs&quot;: True or False, # Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests.
@@ -461,7 +462,7 @@ <h3>Method Details</h3>
461462
&quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
462463
&quot;a_key&quot;: &quot;A String&quot;,
463464
},
464-
&quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
465+
&quot;type&quot;: &quot;A String&quot;, # The type of Dataflow job.
465466
}</pre>
466467
</div>
467468

@@ -625,7 +626,7 @@ <h3>Method Details</h3>
625626
&quot;clientRequestId&quot;: &quot;A String&quot;, # The client&#x27;s unique identifier of the job, re-used across retried attempts. If this field is set, the service will ensure its uniqueness. The request to create a job will fail if the service has knowledge of a previously submitted job with the same client&#x27;s ID and job name. The caller may use this field to ensure idempotence of job creation across retried attempts to create a job. By default, the field is empty and, in that case, the service ignores it.
626627
&quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
627628
&quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
628-
&quot;currentState&quot;: &quot;A String&quot;, # The current state of the job. Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise specified. A job in the `JOB_STATE_RUNNING` state may asynchronously enter a terminal state. After a job has reached a terminal state, no further state updates may be made. This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
629+
&quot;currentState&quot;: &quot;A String&quot;, # The current state of the job. Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise specified. A job in the `JOB_STATE_RUNNING` state may asynchronously enter a terminal state. After a job has reached a terminal state, no further state updates may be made. This field might be mutated by the Dataflow service; callers cannot mutate it.
629630
&quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
630631
&quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
631632
&quot;clusterManagerApiService&quot;: &quot;A String&quot;, # The type of cluster manager API to use. If unknown or unspecified, the service will attempt to choose a reasonable default. This should be in the form of the API service name, e.g. &quot;compute.googleapis.com&quot;.
@@ -756,7 +757,7 @@ <h3>Method Details</h3>
756757
},
757758
},
758759
},
759-
&quot;id&quot;: &quot;A String&quot;, # The unique ID of this job. This field is set by the Cloud Dataflow service when the Job is created, and is immutable for the life of the job.
760+
&quot;id&quot;: &quot;A String&quot;, # The unique ID of this job. This field is set by the Dataflow service when the job is created, and is immutable for the life of the job.
760761
&quot;jobMetadata&quot;: { # Metadata available primarily for filtering jobs. Will be included in the ListJob response and Job SUMMARY view. # This field is populated by the Dataflow service to support filtering jobs by the metadata values provided here. Populated for ListJobs and all GetJob views SUMMARY and higher.
761762
&quot;bigTableDetails&quot;: [ # Identification of a Cloud Bigtable source used in the Dataflow job.
762763
{ # Metadata for a Cloud Bigtable connector used by the job.
@@ -817,7 +818,7 @@ <h3>Method Details</h3>
817818
&quot;a_key&quot;: &quot;A String&quot;,
818819
},
819820
&quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
820-
&quot;name&quot;: &quot;A String&quot;, # The user-specified Cloud Dataflow job name. Only one Job with a given name can exist in a project within one region at any given time. Jobs in different regions can have the same name. If a caller attempts to create a Job with the same name as an already-existing Job, the attempt returns the existing Job. The name must match the regular expression `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?`
821+
&quot;name&quot;: &quot;A String&quot;, # The user-specified Dataflow job name. Only one active job with a given name can exist in a project within one region at any given time. Jobs in different regions can have the same name. If a caller attempts to create a job with the same name as an active job that already exists, the attempt returns the existing job. The name must match the regular expression `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?`
821822
&quot;pipelineDescription&quot;: { # A descriptive representation of submitted pipeline as well as the executed form. This data is provided by the Dataflow service for ease of visualizing the pipeline and interpreting Dataflow provided metrics. # Preliminary field: The format of this data may change at any time. A description of the user pipeline and stages through which it is executed. Created by Cloud Dataflow service. Only retrieved with JOB_VIEW_DESCRIPTION or JOB_VIEW_ALL.
822823
&quot;displayData&quot;: [ # Pipeline level display data.
823824
{ # Data provided with a pipeline or transform to provide descriptive info.
@@ -906,13 +907,14 @@ <h3>Method Details</h3>
906907
],
907908
&quot;stepNamesHash&quot;: &quot;A String&quot;, # A hash value of the submitted pipeline portable graph step names if exists.
908909
},
909-
&quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
910+
&quot;projectId&quot;: &quot;A String&quot;, # The ID of the Google Cloud project that the job belongs to.
910911
&quot;replaceJobId&quot;: &quot;A String&quot;, # If this job is an update of an existing job, this field is the job ID of the job it replaced. When sending a `CreateJobRequest`, you can update a job by specifying it here. The job named here is stopped, and its intermediate state is transferred to this job.
911912
&quot;replacedByJobId&quot;: &quot;A String&quot;, # If another job is an update of this job (and thus, this job is in `JOB_STATE_UPDATED`), this field contains the ID of that job.
912913
&quot;requestedState&quot;: &quot;A String&quot;, # The job&#x27;s requested state. Applies to `UpdateJob` requests. Set `requested_state` with `UpdateJob` requests to switch between the states `JOB_STATE_STOPPED` and `JOB_STATE_RUNNING`. You can also use `UpdateJob` requests to change a job&#x27;s state from `JOB_STATE_RUNNING` to `JOB_STATE_CANCELLED`, `JOB_STATE_DONE`, or `JOB_STATE_DRAINED`. These states irrevocably terminate the job if it hasn&#x27;t already reached a terminal state. This field has no effect on `CreateJob` requests.
913914
&quot;runtimeUpdatableParams&quot;: { # Additional job parameters that can only be updated during runtime using the projects.jobs.update method. These fields have no effect when specified during job creation. # This field may ONLY be modified at runtime using the projects.jobs.update method to adjust job behavior. This field has no effect when specified at job creation.
914915
&quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap autoscaling at. This field is currently only supported for Streaming Engine jobs.
915916
&quot;minNumWorkers&quot;: 42, # The minimum number of workers to scale down to. This field is currently only supported for Streaming Engine jobs.
917+
&quot;workerUtilizationHint&quot;: 3.14, # Target worker utilization, compared against the aggregate utilization of the worker pool by autoscaler, to determine upscaling and downscaling when absent other constraints such as backlog.
916918
},
917919
&quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests.
918920
&quot;satisfiesPzs&quot;: True or False, # Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests.
@@ -940,7 +942,7 @@ <h3>Method Details</h3>
940942
&quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
941943
&quot;a_key&quot;: &quot;A String&quot;,
942944
},
943-
&quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
945+
&quot;type&quot;: &quot;A String&quot;, # The type of Dataflow job.
944946
},
945947
}</pre>
946948
</div>

‎docs/dyn/dataflow_v1b3.projects.templates.html

+12-10
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ <h3>Method Details</h3>
145145
&quot;clientRequestId&quot;: &quot;A String&quot;, # The client&#x27;s unique identifier of the job, re-used across retried attempts. If this field is set, the service will ensure its uniqueness. The request to create a job will fail if the service has knowledge of a previously submitted job with the same client&#x27;s ID and job name. The caller may use this field to ensure idempotence of job creation across retried attempts to create a job. By default, the field is empty and, in that case, the service ignores it.
146146
&quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
147147
&quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
148-
&quot;currentState&quot;: &quot;A String&quot;, # The current state of the job. Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise specified. A job in the `JOB_STATE_RUNNING` state may asynchronously enter a terminal state. After a job has reached a terminal state, no further state updates may be made. This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
148+
&quot;currentState&quot;: &quot;A String&quot;, # The current state of the job. Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise specified. A job in the `JOB_STATE_RUNNING` state may asynchronously enter a terminal state. After a job has reached a terminal state, no further state updates may be made. This field might be mutated by the Dataflow service; callers cannot mutate it.
149149
&quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
150150
&quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
151151
&quot;clusterManagerApiService&quot;: &quot;A String&quot;, # The type of cluster manager API to use. If unknown or unspecified, the service will attempt to choose a reasonable default. This should be in the form of the API service name, e.g. &quot;compute.googleapis.com&quot;.
@@ -276,7 +276,7 @@ <h3>Method Details</h3>
276276
},
277277
},
278278
},
279-
&quot;id&quot;: &quot;A String&quot;, # The unique ID of this job. This field is set by the Cloud Dataflow service when the Job is created, and is immutable for the life of the job.
279+
&quot;id&quot;: &quot;A String&quot;, # The unique ID of this job. This field is set by the Dataflow service when the job is created, and is immutable for the life of the job.
280280
&quot;jobMetadata&quot;: { # Metadata available primarily for filtering jobs. Will be included in the ListJob response and Job SUMMARY view. # This field is populated by the Dataflow service to support filtering jobs by the metadata values provided here. Populated for ListJobs and all GetJob views SUMMARY and higher.
281281
&quot;bigTableDetails&quot;: [ # Identification of a Cloud Bigtable source used in the Dataflow job.
282282
{ # Metadata for a Cloud Bigtable connector used by the job.
@@ -337,7 +337,7 @@ <h3>Method Details</h3>
337337
&quot;a_key&quot;: &quot;A String&quot;,
338338
},
339339
&quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
340-
&quot;name&quot;: &quot;A String&quot;, # The user-specified Cloud Dataflow job name. Only one Job with a given name can exist in a project within one region at any given time. Jobs in different regions can have the same name. If a caller attempts to create a Job with the same name as an already-existing Job, the attempt returns the existing Job. The name must match the regular expression `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?`
340+
&quot;name&quot;: &quot;A String&quot;, # The user-specified Dataflow job name. Only one active job with a given name can exist in a project within one region at any given time. Jobs in different regions can have the same name. If a caller attempts to create a job with the same name as an active job that already exists, the attempt returns the existing job. The name must match the regular expression `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?`
341341
&quot;pipelineDescription&quot;: { # A descriptive representation of submitted pipeline as well as the executed form. This data is provided by the Dataflow service for ease of visualizing the pipeline and interpreting Dataflow provided metrics. # Preliminary field: The format of this data may change at any time. A description of the user pipeline and stages through which it is executed. Created by Cloud Dataflow service. Only retrieved with JOB_VIEW_DESCRIPTION or JOB_VIEW_ALL.
342342
&quot;displayData&quot;: [ # Pipeline level display data.
343343
{ # Data provided with a pipeline or transform to provide descriptive info.
@@ -426,13 +426,14 @@ <h3>Method Details</h3>
426426
],
427427
&quot;stepNamesHash&quot;: &quot;A String&quot;, # A hash value of the submitted pipeline portable graph step names if exists.
428428
},
429-
&quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
429+
&quot;projectId&quot;: &quot;A String&quot;, # The ID of the Google Cloud project that the job belongs to.
430430
&quot;replaceJobId&quot;: &quot;A String&quot;, # If this job is an update of an existing job, this field is the job ID of the job it replaced. When sending a `CreateJobRequest`, you can update a job by specifying it here. The job named here is stopped, and its intermediate state is transferred to this job.
431431
&quot;replacedByJobId&quot;: &quot;A String&quot;, # If another job is an update of this job (and thus, this job is in `JOB_STATE_UPDATED`), this field contains the ID of that job.
432432
&quot;requestedState&quot;: &quot;A String&quot;, # The job&#x27;s requested state. Applies to `UpdateJob` requests. Set `requested_state` with `UpdateJob` requests to switch between the states `JOB_STATE_STOPPED` and `JOB_STATE_RUNNING`. You can also use `UpdateJob` requests to change a job&#x27;s state from `JOB_STATE_RUNNING` to `JOB_STATE_CANCELLED`, `JOB_STATE_DONE`, or `JOB_STATE_DRAINED`. These states irrevocably terminate the job if it hasn&#x27;t already reached a terminal state. This field has no effect on `CreateJob` requests.
433433
&quot;runtimeUpdatableParams&quot;: { # Additional job parameters that can only be updated during runtime using the projects.jobs.update method. These fields have no effect when specified during job creation. # This field may ONLY be modified at runtime using the projects.jobs.update method to adjust job behavior. This field has no effect when specified at job creation.
434434
&quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap autoscaling at. This field is currently only supported for Streaming Engine jobs.
435435
&quot;minNumWorkers&quot;: 42, # The minimum number of workers to scale down to. This field is currently only supported for Streaming Engine jobs.
436+
&quot;workerUtilizationHint&quot;: 3.14, # Target worker utilization, compared against the aggregate utilization of the worker pool by autoscaler, to determine upscaling and downscaling when absent other constraints such as backlog.
436437
},
437438
&quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests.
438439
&quot;satisfiesPzs&quot;: True or False, # Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests.
@@ -460,7 +461,7 @@ <h3>Method Details</h3>
460461
&quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
461462
&quot;a_key&quot;: &quot;A String&quot;,
462463
},
463-
&quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
464+
&quot;type&quot;: &quot;A String&quot;, # The type of Dataflow job.
464465
}</pre>
465466
</div>
466467

@@ -624,7 +625,7 @@ <h3>Method Details</h3>
624625
&quot;clientRequestId&quot;: &quot;A String&quot;, # The client&#x27;s unique identifier of the job, re-used across retried attempts. If this field is set, the service will ensure its uniqueness. The request to create a job will fail if the service has knowledge of a previously submitted job with the same client&#x27;s ID and job name. The caller may use this field to ensure idempotence of job creation across retried attempts to create a job. By default, the field is empty and, in that case, the service ignores it.
625626
&quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
626627
&quot;createdFromSnapshotId&quot;: &quot;A String&quot;, # If this is specified, the job&#x27;s initial state is populated from the given snapshot.
627-
&quot;currentState&quot;: &quot;A String&quot;, # The current state of the job. Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise specified. A job in the `JOB_STATE_RUNNING` state may asynchronously enter a terminal state. After a job has reached a terminal state, no further state updates may be made. This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
628+
&quot;currentState&quot;: &quot;A String&quot;, # The current state of the job. Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise specified. A job in the `JOB_STATE_RUNNING` state may asynchronously enter a terminal state. After a job has reached a terminal state, no further state updates may be made. This field might be mutated by the Dataflow service; callers cannot mutate it.
628629
&quot;currentStateTime&quot;: &quot;A String&quot;, # The timestamp associated with the current state.
629630
&quot;environment&quot;: { # Describes the environment in which a Dataflow Job runs. # The environment for the job.
630631
&quot;clusterManagerApiService&quot;: &quot;A String&quot;, # The type of cluster manager API to use. If unknown or unspecified, the service will attempt to choose a reasonable default. This should be in the form of the API service name, e.g. &quot;compute.googleapis.com&quot;.
@@ -755,7 +756,7 @@ <h3>Method Details</h3>
755756
},
756757
},
757758
},
758-
&quot;id&quot;: &quot;A String&quot;, # The unique ID of this job. This field is set by the Cloud Dataflow service when the Job is created, and is immutable for the life of the job.
759+
&quot;id&quot;: &quot;A String&quot;, # The unique ID of this job. This field is set by the Dataflow service when the job is created, and is immutable for the life of the job.
759760
&quot;jobMetadata&quot;: { # Metadata available primarily for filtering jobs. Will be included in the ListJob response and Job SUMMARY view. # This field is populated by the Dataflow service to support filtering jobs by the metadata values provided here. Populated for ListJobs and all GetJob views SUMMARY and higher.
760761
&quot;bigTableDetails&quot;: [ # Identification of a Cloud Bigtable source used in the Dataflow job.
761762
{ # Metadata for a Cloud Bigtable connector used by the job.
@@ -816,7 +817,7 @@ <h3>Method Details</h3>
816817
&quot;a_key&quot;: &quot;A String&quot;,
817818
},
818819
&quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
819-
&quot;name&quot;: &quot;A String&quot;, # The user-specified Cloud Dataflow job name. Only one Job with a given name can exist in a project within one region at any given time. Jobs in different regions can have the same name. If a caller attempts to create a Job with the same name as an already-existing Job, the attempt returns the existing Job. The name must match the regular expression `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?`
820+
&quot;name&quot;: &quot;A String&quot;, # The user-specified Dataflow job name. Only one active job with a given name can exist in a project within one region at any given time. Jobs in different regions can have the same name. If a caller attempts to create a job with the same name as an active job that already exists, the attempt returns the existing job. The name must match the regular expression `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?`
820821
&quot;pipelineDescription&quot;: { # A descriptive representation of submitted pipeline as well as the executed form. This data is provided by the Dataflow service for ease of visualizing the pipeline and interpreting Dataflow provided metrics. # Preliminary field: The format of this data may change at any time. A description of the user pipeline and stages through which it is executed. Created by Cloud Dataflow service. Only retrieved with JOB_VIEW_DESCRIPTION or JOB_VIEW_ALL.
821822
&quot;displayData&quot;: [ # Pipeline level display data.
822823
{ # Data provided with a pipeline or transform to provide descriptive info.
@@ -905,13 +906,14 @@ <h3>Method Details</h3>
905906
],
906907
&quot;stepNamesHash&quot;: &quot;A String&quot;, # A hash value of the submitted pipeline portable graph step names if exists.
907908
},
908-
&quot;projectId&quot;: &quot;A String&quot;, # The ID of the Cloud Platform project that the job belongs to.
909+
&quot;projectId&quot;: &quot;A String&quot;, # The ID of the Google Cloud project that the job belongs to.
909910
&quot;replaceJobId&quot;: &quot;A String&quot;, # If this job is an update of an existing job, this field is the job ID of the job it replaced. When sending a `CreateJobRequest`, you can update a job by specifying it here. The job named here is stopped, and its intermediate state is transferred to this job.
910911
&quot;replacedByJobId&quot;: &quot;A String&quot;, # If another job is an update of this job (and thus, this job is in `JOB_STATE_UPDATED`), this field contains the ID of that job.
911912
&quot;requestedState&quot;: &quot;A String&quot;, # The job&#x27;s requested state. Applies to `UpdateJob` requests. Set `requested_state` with `UpdateJob` requests to switch between the states `JOB_STATE_STOPPED` and `JOB_STATE_RUNNING`. You can also use `UpdateJob` requests to change a job&#x27;s state from `JOB_STATE_RUNNING` to `JOB_STATE_CANCELLED`, `JOB_STATE_DONE`, or `JOB_STATE_DRAINED`. These states irrevocably terminate the job if it hasn&#x27;t already reached a terminal state. This field has no effect on `CreateJob` requests.
912913
&quot;runtimeUpdatableParams&quot;: { # Additional job parameters that can only be updated during runtime using the projects.jobs.update method. These fields have no effect when specified during job creation. # This field may ONLY be modified at runtime using the projects.jobs.update method to adjust job behavior. This field has no effect when specified at job creation.
913914
&quot;maxNumWorkers&quot;: 42, # The maximum number of workers to cap autoscaling at. This field is currently only supported for Streaming Engine jobs.
914915
&quot;minNumWorkers&quot;: 42, # The minimum number of workers to scale down to. This field is currently only supported for Streaming Engine jobs.
916+
&quot;workerUtilizationHint&quot;: 3.14, # Target worker utilization, compared against the aggregate utilization of the worker pool by autoscaler, to determine upscaling and downscaling when absent other constraints such as backlog.
915917
},
916918
&quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests.
917919
&quot;satisfiesPzs&quot;: True or False, # Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests.
@@ -939,7 +941,7 @@ <h3>Method Details</h3>
939941
&quot;transformNameMapping&quot;: { # The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
940942
&quot;a_key&quot;: &quot;A String&quot;,
941943
},
942-
&quot;type&quot;: &quot;A String&quot;, # The type of Cloud Dataflow job.
944+
&quot;type&quot;: &quot;A String&quot;, # The type of Dataflow job.
943945
},
944946
}</pre>
945947
</div>

‎googleapiclient/discovery_cache/documents/dataflow.v1b3.json

+11-6
Original file line numberDiff line numberDiff line change
@@ -2221,7 +2221,7 @@
22212221
}
22222222
}
22232223
},
2224-
"revision": "20231112",
2224+
"revision": "20231130",
22252225
"rootUrl": "https://dataflow.googleapis.com/",
22262226
"schemas": {
22272227
"ApproximateProgress": {
@@ -3809,7 +3809,7 @@
38093809
"type": "string"
38103810
},
38113811
"currentState": {
3812-
"description": "The current state of the job. Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise specified. A job in the `JOB_STATE_RUNNING` state may asynchronously enter a terminal state. After a job has reached a terminal state, no further state updates may be made. This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.",
3812+
"description": "The current state of the job. Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise specified. A job in the `JOB_STATE_RUNNING` state may asynchronously enter a terminal state. After a job has reached a terminal state, no further state updates may be made. This field might be mutated by the Dataflow service; callers cannot mutate it.",
38133813
"enum": [
38143814
"JOB_STATE_UNKNOWN",
38153815
"JOB_STATE_STOPPED",
@@ -3856,7 +3856,7 @@
38563856
"description": "Deprecated."
38573857
},
38583858
"id": {
3859-
"description": "The unique ID of this job. This field is set by the Cloud Dataflow service when the Job is created, and is immutable for the life of the job.",
3859+
"description": "The unique ID of this job. This field is set by the Dataflow service when the job is created, and is immutable for the life of the job.",
38603860
"type": "string"
38613861
},
38623862
"jobMetadata": {
@@ -3875,15 +3875,15 @@
38753875
"type": "string"
38763876
},
38773877
"name": {
3878-
"description": "The user-specified Cloud Dataflow job name. Only one Job with a given name can exist in a project within one region at any given time. Jobs in different regions can have the same name. If a caller attempts to create a Job with the same name as an already-existing Job, the attempt returns the existing Job. The name must match the regular expression `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?`",
3878+
"description": "The user-specified Dataflow job name. Only one active job with a given name can exist in a project within one region at any given time. Jobs in different regions can have the same name. If a caller attempts to create a job with the same name as an active job that already exists, the attempt returns the existing job. The name must match the regular expression `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?`",
38793879
"type": "string"
38803880
},
38813881
"pipelineDescription": {
38823882
"$ref": "PipelineDescription",
38833883
"description": "Preliminary field: The format of this data may change at any time. A description of the user pipeline and stages through which it is executed. Created by Cloud Dataflow service. Only retrieved with JOB_VIEW_DESCRIPTION or JOB_VIEW_ALL."
38843884
},
38853885
"projectId": {
3886-
"description": "The ID of the Cloud Platform project that the job belongs to.",
3886+
"description": "The ID of the Google Cloud project that the job belongs to.",
38873887
"type": "string"
38883888
},
38893889
"replaceJobId": {
@@ -3979,7 +3979,7 @@
39793979
"type": "object"
39803980
},
39813981
"type": {
3982-
"description": "The type of Cloud Dataflow job.",
3982+
"description": "The type of Dataflow job.",
39833983
"enum": [
39843984
"JOB_TYPE_UNKNOWN",
39853985
"JOB_TYPE_BATCH",
@@ -5372,6 +5372,11 @@
53725372
"description": "The minimum number of workers to scale down to. This field is currently only supported for Streaming Engine jobs.",
53735373
"format": "int32",
53745374
"type": "integer"
5375+
},
5376+
"workerUtilizationHint": {
5377+
"description": "Target worker utilization, compared against the aggregate utilization of the worker pool by autoscaler, to determine upscaling and downscaling when absent other constraints such as backlog.",
5378+
"format": "double",
5379+
"type": "number"
53755380
}
53765381
},
53775382
"type": "object"

0 commit comments

Comments
 (0)
Please sign in to comment.