Skip to content
This repository was archived by the owner on Sep 14, 2023. It is now read-only.

Commit d5f4bbd

Browse files
fix: Add service_yaml_parameters to py_gapic_library BUILD.bazel targets (#54)
* fix: Add service_yaml_parameters to py_gapic_library BUILD.bazel targets PiperOrigin-RevId: 510187992 Source-Link: googleapis/googleapis@5edc235 Source-Link: https://github.com/googleapis/googleapis-gen/commit/b0bedb72e4765a3e0b674a28c50ea0f9a9b26a89 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjBiZWRiNzJlNDc2NWEzZTBiNjc0YTI4YzUwZWEwZjlhOWIyNmE4OSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent e3f88cc commit d5f4bbd

File tree

1 file changed

+27
-1
lines changed
  • google/cloud/gke_backup_v1/services/backup_for_gke/transports

1 file changed

+27
-1
lines changed

google/cloud/gke_backup_v1/services/backup_for_gke/transports/rest.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,33 @@ def operations_client(self) -> operations_v1.AbstractOperationsClient:
927927
"""
928928
# Only create a new client if we do not already have one.
929929
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+
}
931957

932958
rest_transport = operations_v1.OperationsRestTransport(
933959
host=self._host,

0 commit comments

Comments
 (0)