This repository was archived by the owner on Sep 14, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +27
-1
lines changed
google/cloud/gke_backup_v1/services/backup_for_gke/transports Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -927,7 +927,33 @@ def operations_client(self) -> operations_v1.AbstractOperationsClient:
927
927
"""
928
928
# Only create a new client if we do not already have one.
929
929
if self ._operations_client is None :
930
- http_options : Dict [str , List [Dict [str , str ]]] = {}
930
+ http_options : Dict [str , List [Dict [str , str ]]] = {
931
+ "google.longrunning.Operations.CancelOperation" : [
932
+ {
933
+ "method" : "post" ,
934
+ "uri" : "/v1/{name=projects/*/locations/*/operations/*}:cancel" ,
935
+ "body" : "*" ,
936
+ },
937
+ ],
938
+ "google.longrunning.Operations.DeleteOperation" : [
939
+ {
940
+ "method" : "delete" ,
941
+ "uri" : "/v1/{name=projects/*/locations/*}/operations" ,
942
+ },
943
+ ],
944
+ "google.longrunning.Operations.GetOperation" : [
945
+ {
946
+ "method" : "get" ,
947
+ "uri" : "/v1/{name=projects/*/locations/*/operations/*}" ,
948
+ },
949
+ ],
950
+ "google.longrunning.Operations.ListOperations" : [
951
+ {
952
+ "method" : "get" ,
953
+ "uri" : "/v1/{name=projects/*/locations/*}/operations" ,
954
+ },
955
+ ],
956
+ }
931
957
932
958
rest_transport = operations_v1 .OperationsRestTransport (
933
959
host = self ._host ,
You can’t perform that action at this time.
0 commit comments