This repository was archived by the owner on Jul 6, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +27
-1
lines changed
google/cloud/ids_v1/services/ids/transports Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -298,7 +298,33 @@ def operations_client(self) -> operations_v1.AbstractOperationsClient:
298
298
"""
299
299
# Only create a new client if we do not already have one.
300
300
if self ._operations_client is None :
301
- http_options : Dict [str , List [Dict [str , str ]]] = {}
301
+ http_options : Dict [str , List [Dict [str , str ]]] = {
302
+ "google.longrunning.Operations.CancelOperation" : [
303
+ {
304
+ "method" : "post" ,
305
+ "uri" : "/v1/{name=projects/*/locations/*/operations/*}:cancel" ,
306
+ "body" : "*" ,
307
+ },
308
+ ],
309
+ "google.longrunning.Operations.DeleteOperation" : [
310
+ {
311
+ "method" : "delete" ,
312
+ "uri" : "/v1/{name=projects/*/locations/*/operations/*}" ,
313
+ },
314
+ ],
315
+ "google.longrunning.Operations.GetOperation" : [
316
+ {
317
+ "method" : "get" ,
318
+ "uri" : "/v1/{name=projects/*/locations/*/operations/*}" ,
319
+ },
320
+ ],
321
+ "google.longrunning.Operations.ListOperations" : [
322
+ {
323
+ "method" : "get" ,
324
+ "uri" : "/v1/{name=projects/*/locations/*}/operations" ,
325
+ },
326
+ ],
327
+ }
302
328
303
329
rest_transport = operations_v1 .OperationsRestTransport (
304
330
host = self ._host ,
You can’t perform that action at this time.
0 commit comments