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

Commit 438a971

Browse files
chore: Add service_yaml_parameters to py_gapic_library BUILD.bazel targets (#167)
* 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 c39e35c commit 438a971

File tree

1 file changed

+27
-1
lines changed
  • google/cloud/data_fusion_v1/services/data_fusion/transports

1 file changed

+27
-1
lines changed

google/cloud/data_fusion_v1/services/data_fusion/transports/rest.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,33 @@ def operations_client(self) -> operations_v1.AbstractOperationsClient:
401401
"""
402402
# Only create a new client if we do not already have one.
403403
if self._operations_client is None:
404-
http_options: Dict[str, List[Dict[str, str]]] = {}
404+
http_options: Dict[str, List[Dict[str, str]]] = {
405+
"google.longrunning.Operations.CancelOperation": [
406+
{
407+
"method": "post",
408+
"uri": "/v1/{name=projects/*/locations/*/operations/*}:cancel",
409+
"body": "*",
410+
},
411+
],
412+
"google.longrunning.Operations.DeleteOperation": [
413+
{
414+
"method": "delete",
415+
"uri": "/v1/{name=projects/*/locations/*/operations/*}",
416+
},
417+
],
418+
"google.longrunning.Operations.GetOperation": [
419+
{
420+
"method": "get",
421+
"uri": "/v1/{name=projects/*/locations/*/operations/*}",
422+
},
423+
],
424+
"google.longrunning.Operations.ListOperations": [
425+
{
426+
"method": "get",
427+
"uri": "/v1/{name=projects/*/locations/*}/operations",
428+
},
429+
],
430+
}
405431

406432
rest_transport = operations_v1.OperationsRestTransport(
407433
host=self._host,

0 commit comments

Comments
 (0)