diff --git a/Dataflow/metadata/V1Beta3/Environment.php b/Dataflow/metadata/V1Beta3/Environment.php index 6eb60d0042d5..d8b39d231684 100644 Binary files a/Dataflow/metadata/V1Beta3/Environment.php and b/Dataflow/metadata/V1Beta3/Environment.php differ diff --git a/Dataflow/metadata/V1Beta3/Jobs.php b/Dataflow/metadata/V1Beta3/Jobs.php index bf0438cd6b21..0f3b111b454a 100644 Binary files a/Dataflow/metadata/V1Beta3/Jobs.php and b/Dataflow/metadata/V1Beta3/Jobs.php differ diff --git a/Dataflow/metadata/V1Beta3/Messages.php b/Dataflow/metadata/V1Beta3/Messages.php index 6bd2a96147c6..6eef58a1682a 100644 Binary files a/Dataflow/metadata/V1Beta3/Messages.php and b/Dataflow/metadata/V1Beta3/Messages.php differ diff --git a/Dataflow/metadata/V1Beta3/Metrics.php b/Dataflow/metadata/V1Beta3/Metrics.php index 064367dc020d..47491a4e066a 100644 Binary files a/Dataflow/metadata/V1Beta3/Metrics.php and b/Dataflow/metadata/V1Beta3/Metrics.php differ diff --git a/Dataflow/metadata/V1Beta3/Snapshots.php b/Dataflow/metadata/V1Beta3/Snapshots.php index 4b338721d2f0..d42d00a3a2e7 100644 Binary files a/Dataflow/metadata/V1Beta3/Snapshots.php and b/Dataflow/metadata/V1Beta3/Snapshots.php differ diff --git a/Dataflow/metadata/V1Beta3/Templates.php b/Dataflow/metadata/V1Beta3/Templates.php index 7eb6dd99b393..476548baf099 100644 Binary files a/Dataflow/metadata/V1Beta3/Templates.php and b/Dataflow/metadata/V1Beta3/Templates.php differ diff --git a/Dataflow/src/V1beta3/Job.php b/Dataflow/src/V1beta3/Job.php index 5daae3fd2b9c..c75a7eabc5c7 100644 --- a/Dataflow/src/V1beta3/Job.php +++ b/Dataflow/src/V1beta3/Job.php @@ -10,7 +10,6 @@ /** * Defines a job to be run by the Cloud Dataflow service. - * nextID: 26 * * Generated from protobuf message google.dataflow.v1beta3.Job */ diff --git a/Dataflow/src/V1beta3/SdkHarnessContainerImage.php b/Dataflow/src/V1beta3/SdkHarnessContainerImage.php index 7d4638867c5d..acdf9f0819a3 100644 --- a/Dataflow/src/V1beta3/SdkHarnessContainerImage.php +++ b/Dataflow/src/V1beta3/SdkHarnessContainerImage.php @@ -38,6 +38,13 @@ class SdkHarnessContainerImage extends \Google\Protobuf\Internal\Message * Generated from protobuf field string environment_id = 3; */ private $environment_id = ''; + /** + * The set of capabilities enumerated in the above Environment proto. See also + * https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/beam_runner_api.proto + * + * Generated from protobuf field repeated string capabilities = 4; + */ + private $capabilities; /** * Constructor. @@ -56,6 +63,9 @@ class SdkHarnessContainerImage extends \Google\Protobuf\Internal\Message * @type string $environment_id * Environment ID for the Beam runner API proto Environment that corresponds * to the current SDK Harness. + * @type string[]|\Google\Protobuf\Internal\RepeatedField $capabilities + * The set of capabilities enumerated in the above Environment proto. See also + * https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/beam_runner_api.proto * } */ public function __construct($data = NULL) { @@ -151,5 +161,33 @@ public function setEnvironmentId($var) return $this; } + /** + * The set of capabilities enumerated in the above Environment proto. See also + * https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/beam_runner_api.proto + * + * Generated from protobuf field repeated string capabilities = 4; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getCapabilities() + { + return $this->capabilities; + } + + /** + * The set of capabilities enumerated in the above Environment proto. See also + * https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/beam_runner_api.proto + * + * Generated from protobuf field repeated string capabilities = 4; + * @param string[]|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setCapabilities($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->capabilities = $arr; + + return $this; + } + } diff --git a/Dataflow/src/V1beta3/resources/jobs_v1_beta3_rest_client_config.php b/Dataflow/src/V1beta3/resources/jobs_v1_beta3_rest_client_config.php index 8714c06915e6..a2703167fed9 100644 --- a/Dataflow/src/V1beta3/resources/jobs_v1_beta3_rest_client_config.php +++ b/Dataflow/src/V1beta3/resources/jobs_v1_beta3_rest_client_config.php @@ -16,12 +16,12 @@ ], 'CreateJob' => [ 'method' => 'post', - 'uriTemplate' => '/v1b3/projects/{project_id}/jobs', + 'uriTemplate' => '/v1b3/projects/{project_id}/locations/{location}/jobs', 'body' => 'job', 'additionalBindings' => [ [ 'method' => 'post', - 'uriTemplate' => '/v1b3/projects/{project_id}/locations/{location}/jobs', + 'uriTemplate' => '/v1b3/projects/{project_id}/jobs', 'body' => 'job', ], ], @@ -40,11 +40,11 @@ ], 'GetJob' => [ 'method' => 'get', - 'uriTemplate' => '/v1b3/projects/{project_id}/jobs/{job_id}', + 'uriTemplate' => '/v1b3/projects/{project_id}/locations/{location}/jobs/{job_id}', 'additionalBindings' => [ [ 'method' => 'get', - 'uriTemplate' => '/v1b3/projects/{project_id}/locations/{location}/jobs/{job_id}', + 'uriTemplate' => '/v1b3/projects/{project_id}/jobs/{job_id}', ], ], 'placeholders' => [ @@ -67,11 +67,11 @@ ], 'ListJobs' => [ 'method' => 'get', - 'uriTemplate' => '/v1b3/projects/{project_id}/jobs', + 'uriTemplate' => '/v1b3/projects/{project_id}/locations/{location}/jobs', 'additionalBindings' => [ [ 'method' => 'get', - 'uriTemplate' => '/v1b3/projects/{project_id}/locations/{location}/jobs', + 'uriTemplate' => '/v1b3/projects/{project_id}/jobs', ], ], 'placeholders' => [ @@ -89,12 +89,12 @@ ], 'SnapshotJob' => [ 'method' => 'post', - 'uriTemplate' => '/v1b3/projects/{project_id}/jobs/{job_id}:snapshot', + 'uriTemplate' => '/v1b3/projects/{project_id}/locations/{location}/jobs/{job_id}:snapshot', 'body' => '*', 'additionalBindings' => [ [ 'method' => 'post', - 'uriTemplate' => '/v1b3/projects/{project_id}/locations/{location}/jobs/{job_id}:snapshot', + 'uriTemplate' => '/v1b3/projects/{project_id}/jobs/{job_id}:snapshot', 'body' => '*', ], ], @@ -118,12 +118,12 @@ ], 'UpdateJob' => [ 'method' => 'put', - 'uriTemplate' => '/v1b3/projects/{project_id}/jobs/{job_id}', + 'uriTemplate' => '/v1b3/projects/{project_id}/locations/{location}/jobs/{job_id}', 'body' => 'job', 'additionalBindings' => [ [ 'method' => 'put', - 'uriTemplate' => '/v1b3/projects/{project_id}/locations/{location}/jobs/{job_id}', + 'uriTemplate' => '/v1b3/projects/{project_id}/jobs/{job_id}', 'body' => 'job', ], ], diff --git a/Dataflow/src/V1beta3/resources/messages_v1_beta3_rest_client_config.php b/Dataflow/src/V1beta3/resources/messages_v1_beta3_rest_client_config.php index 4dbaaa8646d4..3ce2653db7b8 100644 --- a/Dataflow/src/V1beta3/resources/messages_v1_beta3_rest_client_config.php +++ b/Dataflow/src/V1beta3/resources/messages_v1_beta3_rest_client_config.php @@ -5,11 +5,11 @@ 'google.dataflow.v1beta3.MessagesV1Beta3' => [ 'ListJobMessages' => [ 'method' => 'get', - 'uriTemplate' => '/v1b3/projects/{project_id}/jobs/{job_id}/messages', + 'uriTemplate' => '/v1b3/projects/{project_id}/locations/{location}/jobs/{job_id}/messages', 'additionalBindings' => [ [ 'method' => 'get', - 'uriTemplate' => '/v1b3/projects/{project_id}/locations/{location}/jobs/{job_id}/messages', + 'uriTemplate' => '/v1b3/projects/{project_id}/jobs/{job_id}/messages', ], ], 'placeholders' => [ diff --git a/Dataflow/src/V1beta3/resources/metrics_v1_beta3_rest_client_config.php b/Dataflow/src/V1beta3/resources/metrics_v1_beta3_rest_client_config.php index 5a1f03e59b9a..28120e7fada4 100644 --- a/Dataflow/src/V1beta3/resources/metrics_v1_beta3_rest_client_config.php +++ b/Dataflow/src/V1beta3/resources/metrics_v1_beta3_rest_client_config.php @@ -26,11 +26,11 @@ ], 'GetJobMetrics' => [ 'method' => 'get', - 'uriTemplate' => '/v1b3/projects/{project_id}/jobs/{job_id}/metrics', + 'uriTemplate' => '/v1b3/projects/{project_id}/locations/{location}/jobs/{job_id}/metrics', 'additionalBindings' => [ [ 'method' => 'get', - 'uriTemplate' => '/v1b3/projects/{project_id}/locations/{location}/jobs/{job_id}/metrics', + 'uriTemplate' => '/v1b3/projects/{project_id}/jobs/{job_id}/metrics', ], ], 'placeholders' => [ diff --git a/Dataflow/src/V1beta3/resources/snapshots_v1_beta3_rest_client_config.php b/Dataflow/src/V1beta3/resources/snapshots_v1_beta3_rest_client_config.php index 52637dcf2f2f..14108f53ebed 100644 --- a/Dataflow/src/V1beta3/resources/snapshots_v1_beta3_rest_client_config.php +++ b/Dataflow/src/V1beta3/resources/snapshots_v1_beta3_rest_client_config.php @@ -5,11 +5,11 @@ 'google.dataflow.v1beta3.SnapshotsV1Beta3' => [ 'DeleteSnapshot' => [ 'method' => 'delete', - 'uriTemplate' => '/v1b3/projects/{project_id}/snapshots', + 'uriTemplate' => '/v1b3/projects/{project_id}/locations/{location}/snapshots/{snapshot_id}', 'additionalBindings' => [ [ 'method' => 'delete', - 'uriTemplate' => '/v1b3/projects/{project_id}/locations/{location}/snapshots/{snapshot_id}', + 'uriTemplate' => '/v1b3/projects/{project_id}/snapshots', ], ], 'placeholders' => [ @@ -32,11 +32,11 @@ ], 'GetSnapshot' => [ 'method' => 'get', - 'uriTemplate' => '/v1b3/projects/{project_id}/snapshots/{snapshot_id}', + 'uriTemplate' => '/v1b3/projects/{project_id}/locations/{location}/snapshots/{snapshot_id}', 'additionalBindings' => [ [ 'method' => 'get', - 'uriTemplate' => '/v1b3/projects/{project_id}/locations/{location}/snapshots/{snapshot_id}', + 'uriTemplate' => '/v1b3/projects/{project_id}/snapshots/{snapshot_id}', ], ], 'placeholders' => [ @@ -59,7 +59,7 @@ ], 'ListSnapshots' => [ 'method' => 'get', - 'uriTemplate' => '/v1b3/projects/{project_id}/snapshots', + 'uriTemplate' => '/v1b3/projects/{project_id}/locations/{location}/jobs/{job_id}/snapshots', 'additionalBindings' => [ [ 'method' => 'get', @@ -67,7 +67,7 @@ ], [ 'method' => 'get', - 'uriTemplate' => '/v1b3/projects/{project_id}/locations/{location}/jobs/{job_id}/snapshots', + 'uriTemplate' => '/v1b3/projects/{project_id}/snapshots', ], ], 'placeholders' => [ diff --git a/Dataflow/src/V1beta3/resources/templates_service_rest_client_config.php b/Dataflow/src/V1beta3/resources/templates_service_rest_client_config.php index b4e443cfbe8b..7b3c01358599 100644 --- a/Dataflow/src/V1beta3/resources/templates_service_rest_client_config.php +++ b/Dataflow/src/V1beta3/resources/templates_service_rest_client_config.php @@ -5,12 +5,12 @@ 'google.dataflow.v1beta3.TemplatesService' => [ 'CreateJobFromTemplate' => [ 'method' => 'post', - 'uriTemplate' => '/v1b3/projects/{project_id}/templates', + 'uriTemplate' => '/v1b3/projects/{project_id}/locations/{location}/templates', 'body' => '*', 'additionalBindings' => [ [ 'method' => 'post', - 'uriTemplate' => '/v1b3/projects/{project_id}/locations/{location}/templates', + 'uriTemplate' => '/v1b3/projects/{project_id}/templates', 'body' => '*', ], ], @@ -29,11 +29,11 @@ ], 'GetTemplate' => [ 'method' => 'get', - 'uriTemplate' => '/v1b3/projects/{project_id}/templates:get', + 'uriTemplate' => '/v1b3/projects/{project_id}/locations/{location}/templates:get', 'additionalBindings' => [ [ 'method' => 'get', - 'uriTemplate' => '/v1b3/projects/{project_id}/locations/{location}/templates:get', + 'uriTemplate' => '/v1b3/projects/{project_id}/templates:get', ], ], 'placeholders' => [ @@ -51,12 +51,12 @@ ], 'LaunchTemplate' => [ 'method' => 'post', - 'uriTemplate' => '/v1b3/projects/{project_id}/templates:launch', + 'uriTemplate' => '/v1b3/projects/{project_id}/locations/{location}/templates:launch', 'body' => 'launch_parameters', 'additionalBindings' => [ [ 'method' => 'post', - 'uriTemplate' => '/v1b3/projects/{project_id}/locations/{location}/templates:launch', + 'uriTemplate' => '/v1b3/projects/{project_id}/templates:launch', 'body' => 'launch_parameters', ], ],