File tree Expand file tree Collapse file tree 1 file changed +27
-1
lines changed
google/cloud/apigateway_v1/services/api_gateway_service/transports Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -634,7 +634,33 @@ def operations_client(self) -> operations_v1.AbstractOperationsClient:
634
634
"""
635
635
# Only create a new client if we do not already have one.
636
636
if self ._operations_client is None :
637
- http_options : Dict [str , List [Dict [str , str ]]] = {}
637
+ http_options : Dict [str , List [Dict [str , str ]]] = {
638
+ "google.longrunning.Operations.CancelOperation" : [
639
+ {
640
+ "method" : "post" ,
641
+ "uri" : "/v1/{name=projects/*/locations/*/operations/*}:cancel" ,
642
+ "body" : "*" ,
643
+ },
644
+ ],
645
+ "google.longrunning.Operations.DeleteOperation" : [
646
+ {
647
+ "method" : "delete" ,
648
+ "uri" : "/v1/{name=projects/*/locations/*/operations/*}" ,
649
+ },
650
+ ],
651
+ "google.longrunning.Operations.GetOperation" : [
652
+ {
653
+ "method" : "get" ,
654
+ "uri" : "/v1/{name=projects/*/locations/*/operations/*}" ,
655
+ },
656
+ ],
657
+ "google.longrunning.Operations.ListOperations" : [
658
+ {
659
+ "method" : "get" ,
660
+ "uri" : "/v1/{name=projects/*/locations/*}/operations" ,
661
+ },
662
+ ],
663
+ }
638
664
639
665
rest_transport = operations_v1 .OperationsRestTransport (
640
666
host = self ._host ,
You can’t perform that action at this time.
0 commit comments