Skip to content

Commit

Permalink
feat: Add the ability to plumb environment capabilities through v1bet…
Browse files Browse the repository at this point in the history
…a3 protos. (#5137)

* fix!: Use http binding with location field as primary http bindings

Changing HTTP bindings and/or their order might be a breaking change for libraries.

PiperOrigin-RevId: 430239565

Source-Link: googleapis/googleapis@71fe7ff

Source-Link: googleapis/googleapis-gen@1f496cc
Copy-Tag: eyJwIjoiRGF0YWZsb3cvLk93bEJvdC55YW1sIiwiaCI6IjFmNDk2Y2MzNmRkNzc5MjFlNDVhMjc4MTE0YmJjMjE5OGNjODM1MmEifQ==

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* feat: Add the ability to plumb environment capabilities through v1beta3 protos.

PiperOrigin-RevId: 434899727

Source-Link: googleapis/googleapis@392ae91

Source-Link: googleapis/googleapis-gen@febf173
Copy-Tag: eyJwIjoiRGF0YWZsb3cvLk93bEJvdC55YW1sIiwiaCI6ImZlYmYxNzMxNzI0ODNmY2ViZDU2NjhkZDMyZjNkNzM1MmE0NDIwY2UifQ==

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Mar 31, 2022
1 parent a1986cb commit 59ff4e9
Show file tree
Hide file tree
Showing 13 changed files with 64 additions and 27 deletions.
Binary file modified Dataflow/metadata/V1Beta3/Environment.php
Binary file not shown.
Binary file modified Dataflow/metadata/V1Beta3/Jobs.php
Binary file not shown.
Binary file modified Dataflow/metadata/V1Beta3/Messages.php
Binary file not shown.
Binary file modified Dataflow/metadata/V1Beta3/Metrics.php
Binary file not shown.
Binary file modified Dataflow/metadata/V1Beta3/Snapshots.php
Binary file not shown.
Binary file modified Dataflow/metadata/V1Beta3/Templates.php
Binary file not shown.
1 change: 0 additions & 1 deletion Dataflow/src/V1beta3/Job.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 38 additions & 0 deletions Dataflow/src/V1beta3/SdkHarnessContainerImage.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions Dataflow/src/V1beta3/resources/jobs_v1_beta3_rest_client_config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
],
],
Expand All @@ -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' => [
Expand All @@ -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' => [
Expand All @@ -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' => '*',
],
],
Expand All @@ -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',
],
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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' => [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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' => [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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' => [
Expand All @@ -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' => [
Expand All @@ -59,15 +59,15 @@
],
'ListSnapshots' => [
'method' => 'get',
'uriTemplate' => '/v1b3/projects/{project_id}/snapshots',
'uriTemplate' => '/v1b3/projects/{project_id}/locations/{location}/jobs/{job_id}/snapshots',
'additionalBindings' => [
[
'method' => 'get',
'uriTemplate' => '/v1b3/projects/{project_id}/locations/{location}/snapshots',
],
[
'method' => 'get',
'uriTemplate' => '/v1b3/projects/{project_id}/locations/{location}/jobs/{job_id}/snapshots',
'uriTemplate' => '/v1b3/projects/{project_id}/snapshots',
],
],
'placeholders' => [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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' => '*',
],
],
Expand All @@ -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' => [
Expand All @@ -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',
],
],
Expand Down

0 comments on commit 59ff4e9

Please sign in to comment.