Skip to content

Commit 5cfe30b

Browse files
Google APIscopybara-github
authored andcommitted
fix: override HTTP URLs for LRO cancel/delete operations
PiperOrigin-RevId: 532357846
1 parent 6634804 commit 5cfe30b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

google/cloud/batch/v1alpha/batch_v1alpha.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ http:
3838
get: '/v1alpha/{name=projects/*/locations/*}'
3939
- selector: google.cloud.location.Locations.ListLocations
4040
get: '/v1alpha/{name=projects/*}/locations'
41+
- selector: google.longrunning.Operations.CancelOperation
42+
post: '/v1alpha/{name=projects/*/locations/*/operations/*}:cancel'
43+
body: '*'
44+
- selector: google.longrunning.Operations.DeleteOperation
45+
delete: '/v1alpha/{name=projects/*/locations/*/operations/*}'
4146
- selector: google.longrunning.Operations.GetOperation
4247
get: '/v1alpha/{name=projects/*/locations/*/operations/*}'
4348
- selector: google.longrunning.Operations.ListOperations

0 commit comments

Comments
 (0)