Skip to content

Commit 44f176c

Browse files
Google APIscopybara-github
authored andcommitted
docs: update comment
fix: update http bindings for alpha API PiperOrigin-RevId: 504360226
1 parent 5417824 commit 44f176c

2 files changed

Lines changed: 7 additions & 31 deletions

File tree

google/cloud/tpu/v2alpha1/cloud_tpu.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ message CreateQueuedResourceRequest {
880880
}
881881
];
882882

883-
// The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$`
883+
// The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$
884884
// regex format.
885885
string queued_resource_id = 2;
886886

google/cloud/tpu/v2alpha1/tpu_v2alpha1.yaml

Lines changed: 6 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -34,41 +34,17 @@ backend:
3434
http:
3535
rules:
3636
- selector: google.cloud.location.Locations.GetLocation
37-
get: '/v1alpha1/{name=projects/*/locations/*}'
38-
additional_bindings:
39-
- get: '/v1/{name=projects/*/locations/*}'
40-
- get: '/v2alpha1/{name=projects/*/locations/*}'
41-
- get: '/v2/{name=projects/*/locations/*}'
37+
get: '/v2alpha1/{name=projects/*/locations/*}'
4238
- selector: google.cloud.location.Locations.ListLocations
43-
get: '/v1alpha1/{name=projects/*}/locations'
44-
additional_bindings:
45-
- get: '/v1/{name=projects/*}/locations'
46-
- get: '/v2alpha1/{name=projects/*}/locations'
47-
- get: '/v2/{name=projects/*}/locations'
39+
get: '/v2alpha1/{name=projects/*}/locations'
4840
- selector: google.longrunning.Operations.CancelOperation
49-
post: '/v1alpha1/{name=projects/*/locations/*/operations/*}:cancel'
50-
additional_bindings:
51-
- post: '/v1/{name=projects/*/locations/*/operations/*}:cancel'
52-
- post: '/v2alpha1/{name=projects/*/locations/*/operations/*}:cancel'
53-
- post: '/v2/{name=projects/*/locations/*/operations/*}:cancel'
41+
post: '/v2alpha1/{name=projects/*/locations/*/operations/*}:cancel'
5442
- selector: google.longrunning.Operations.DeleteOperation
55-
delete: '/v1alpha1/{name=projects/*/locations/*/operations/*}'
56-
additional_bindings:
57-
- delete: '/v1/{name=projects/*/locations/*/operations/*}'
58-
- delete: '/v2alpha1/{name=projects/*/locations/*/operations/*}'
59-
- delete: '/v2/{name=projects/*/locations/*/operations/*}'
43+
delete: '/v2alpha1/{name=projects/*/locations/*/operations/*}'
6044
- selector: google.longrunning.Operations.GetOperation
61-
get: '/v1alpha1/{name=projects/*/locations/*/operations/*}'
62-
additional_bindings:
63-
- get: '/v1/{name=projects/*/locations/*/operations/*}'
64-
- get: '/v2alpha1/{name=projects/*/locations/*/operations/*}'
65-
- get: '/v2/{name=projects/*/locations/*/operations/*}'
45+
get: '/v2alpha1/{name=projects/*/locations/*/operations/*}'
6646
- selector: google.longrunning.Operations.ListOperations
67-
get: '/v1alpha1/{name=projects/*/locations/*}/operations'
68-
additional_bindings:
69-
- get: '/v1/{name=projects/*/locations/*}/operations'
70-
- get: '/v2alpha1/{name=projects/*/locations/*}/operations'
71-
- get: '/v2/{name=projects/*/locations/*}/operations'
47+
get: '/v2alpha1/{name=projects/*/locations/*}/operations'
7248

7349
authentication:
7450
rules:

0 commit comments

Comments
 (0)