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

Commit d34c23c

Browse files
fix: Add service_yaml_parameters to py_gapic_library BUILD.bazel targets (#107)
* 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 f51b4b3 commit d34c23c

File tree

1 file changed

+27
-1
lines changed
  • google/cloud/ids_v1/services/ids/transports

1 file changed

+27
-1
lines changed

google/cloud/ids_v1/services/ids/transports/rest.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,33 @@ def operations_client(self) -> operations_v1.AbstractOperationsClient:
298298
"""
299299
# Only create a new client if we do not already have one.
300300
if self._operations_client is None:
301-
http_options: Dict[str, List[Dict[str, str]]] = {}
301+
http_options: Dict[str, List[Dict[str, str]]] = {
302+
"google.longrunning.Operations.CancelOperation": [
303+
{
304+
"method": "post",
305+
"uri": "/v1/{name=projects/*/locations/*/operations/*}:cancel",
306+
"body": "*",
307+
},
308+
],
309+
"google.longrunning.Operations.DeleteOperation": [
310+
{
311+
"method": "delete",
312+
"uri": "/v1/{name=projects/*/locations/*/operations/*}",
313+
},
314+
],
315+
"google.longrunning.Operations.GetOperation": [
316+
{
317+
"method": "get",
318+
"uri": "/v1/{name=projects/*/locations/*/operations/*}",
319+
},
320+
],
321+
"google.longrunning.Operations.ListOperations": [
322+
{
323+
"method": "get",
324+
"uri": "/v1/{name=projects/*/locations/*}/operations",
325+
},
326+
],
327+
}
302328

303329
rest_transport = operations_v1.OperationsRestTransport(
304330
host=self._host,

0 commit comments

Comments
 (0)