This repository was archived by the owner on Jul 6, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +40
-2
lines changed
workflows_v1beta/services/workflows/transports
workflows_v1/services/workflows/transports Expand file tree Collapse file tree 2 files changed +40
-2
lines changed Original file line number Diff line number Diff line change @@ -337,7 +337,26 @@ def operations_client(self) -> operations_v1.AbstractOperationsClient:
337337 """
338338 # Only create a new client if we do not already have one.
339339 if self ._operations_client is None :
340- http_options : Dict [str , List [Dict [str , str ]]] = {}
340+ http_options : Dict [str , List [Dict [str , str ]]] = {
341+ "google.longrunning.Operations.DeleteOperation" : [
342+ {
343+ "method" : "delete" ,
344+ "uri" : "/v1/{name=projects/*/locations/*/operations/*}" ,
345+ },
346+ ],
347+ "google.longrunning.Operations.GetOperation" : [
348+ {
349+ "method" : "get" ,
350+ "uri" : "/v1/{name=projects/*/locations/*/operations/*}" ,
351+ },
352+ ],
353+ "google.longrunning.Operations.ListOperations" : [
354+ {
355+ "method" : "get" ,
356+ "uri" : "/v1/{name=projects/*/locations/*}/operations" ,
357+ },
358+ ],
359+ }
341360
342361 rest_transport = operations_v1 .OperationsRestTransport (
343362 host = self ._host ,
Original file line number Diff line number Diff line change @@ -337,7 +337,26 @@ def operations_client(self) -> operations_v1.AbstractOperationsClient:
337337 """
338338 # Only create a new client if we do not already have one.
339339 if self ._operations_client is None :
340- http_options : Dict [str , List [Dict [str , str ]]] = {}
340+ http_options : Dict [str , List [Dict [str , str ]]] = {
341+ "google.longrunning.Operations.DeleteOperation" : [
342+ {
343+ "method" : "delete" ,
344+ "uri" : "/v1beta/{name=projects/*/locations/*/operations/*}" ,
345+ },
346+ ],
347+ "google.longrunning.Operations.GetOperation" : [
348+ {
349+ "method" : "get" ,
350+ "uri" : "/v1beta/{name=projects/*/locations/*/operations/*}" ,
351+ },
352+ ],
353+ "google.longrunning.Operations.ListOperations" : [
354+ {
355+ "method" : "get" ,
356+ "uri" : "/v1beta/{name=projects/*/locations/*}/operations" ,
357+ },
358+ ],
359+ }
341360
342361 rest_transport = operations_v1 .OperationsRestTransport (
343362 host = self ._host ,
You can’t perform that action at this time.
0 commit comments