Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a92a21c

Browse files
fix: Add service_yaml_parameters to py_gapic_library BUILD.bazel targets (googleapis#204)
* 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 bff081a commit a92a21c

File tree

1 file changed

+27
-1
lines changed
  • google/cloud/apigateway_v1/services/api_gateway_service/transports

1 file changed

+27
-1
lines changed

google/cloud/apigateway_v1/services/api_gateway_service/transports/rest.py

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

639665
rest_transport = operations_v1.OperationsRestTransport(
640666
host=self._host,

0 commit comments

Comments
 (0)