Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Sep 5, 2023. It is now read-only.

Commit 7427873

Browse filesBrowse files
authored
Merge branch 'main' into release-please--branches--main
2 parents 2d60ca2 + dc09068 commit 7427873
Copy full SHA for 7427873

File tree

Expand file treeCollapse file tree

1 file changed

+27
-1
lines changed
Filter options
  • google/cloud/datastream_v1alpha1/services/datastream/transports
Expand file treeCollapse file tree

1 file changed

+27
-1
lines changed

‎google/cloud/datastream_v1alpha1/services/datastream/transports/rest.py

Copy file name to clipboardExpand all lines: google/cloud/datastream_v1alpha1/services/datastream/transports/rest.py
+27-1Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,33 @@ def operations_client(self) -> operations_v1.AbstractOperationsClient:
829829
"""
830830
# Only create a new client if we do not already have one.
831831
if self._operations_client is None:
832-
http_options: Dict[str, List[Dict[str, str]]] = {}
832+
http_options: Dict[str, List[Dict[str, str]]] = {
833+
"google.longrunning.Operations.CancelOperation": [
834+
{
835+
"method": "post",
836+
"uri": "/v1alpha1/{name=projects/*/locations/*/operations/*}:cancel",
837+
"body": "*",
838+
},
839+
],
840+
"google.longrunning.Operations.DeleteOperation": [
841+
{
842+
"method": "delete",
843+
"uri": "/v1alpha1/{name=projects/*/locations/*/operations/*}",
844+
},
845+
],
846+
"google.longrunning.Operations.GetOperation": [
847+
{
848+
"method": "get",
849+
"uri": "/v1alpha1/{name=projects/*/locations/*/operations/*}",
850+
},
851+
],
852+
"google.longrunning.Operations.ListOperations": [
853+
{
854+
"method": "get",
855+
"uri": "/v1alpha1/{name=projects/*/locations/*}/operations",
856+
},
857+
],
858+
}
833859

834860
rest_transport = operations_v1.OperationsRestTransport(
835861
host=self._host,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.