diff --git a/google/cloud/appengine_admin_v1/services/applications/transports/rest.py b/google/cloud/appengine_admin_v1/services/applications/transports/rest.py index 8ee3048..2472a9b 100644 --- a/google/cloud/appengine_admin_v1/services/applications/transports/rest.py +++ b/google/cloud/appengine_admin_v1/services/applications/transports/rest.py @@ -308,7 +308,20 @@ def operations_client(self) -> operations_v1.AbstractOperationsClient: """ # Only create a new client if we do not already have one. if self._operations_client is None: - http_options: Dict[str, List[Dict[str, str]]] = {} + http_options: Dict[str, List[Dict[str, str]]] = { + "google.longrunning.Operations.GetOperation": [ + { + "method": "get", + "uri": "/v1/{name=apps/*/operations/*}", + }, + ], + "google.longrunning.Operations.ListOperations": [ + { + "method": "get", + "uri": "/v1/{name=apps/*}/operations", + }, + ], + } rest_transport = operations_v1.OperationsRestTransport( host=self._host, diff --git a/google/cloud/appengine_admin_v1/services/domain_mappings/transports/rest.py b/google/cloud/appengine_admin_v1/services/domain_mappings/transports/rest.py index c5a1a81..cb14815 100644 --- a/google/cloud/appengine_admin_v1/services/domain_mappings/transports/rest.py +++ b/google/cloud/appengine_admin_v1/services/domain_mappings/transports/rest.py @@ -339,7 +339,20 @@ def operations_client(self) -> operations_v1.AbstractOperationsClient: """ # Only create a new client if we do not already have one. if self._operations_client is None: - http_options: Dict[str, List[Dict[str, str]]] = {} + http_options: Dict[str, List[Dict[str, str]]] = { + "google.longrunning.Operations.GetOperation": [ + { + "method": "get", + "uri": "/v1/{name=apps/*/operations/*}", + }, + ], + "google.longrunning.Operations.ListOperations": [ + { + "method": "get", + "uri": "/v1/{name=apps/*}/operations", + }, + ], + } rest_transport = operations_v1.OperationsRestTransport( host=self._host, diff --git a/google/cloud/appengine_admin_v1/services/instances/transports/rest.py b/google/cloud/appengine_admin_v1/services/instances/transports/rest.py index 6822b9c..eb38f47 100644 --- a/google/cloud/appengine_admin_v1/services/instances/transports/rest.py +++ b/google/cloud/appengine_admin_v1/services/instances/transports/rest.py @@ -304,7 +304,20 @@ def operations_client(self) -> operations_v1.AbstractOperationsClient: """ # Only create a new client if we do not already have one. if self._operations_client is None: - http_options: Dict[str, List[Dict[str, str]]] = {} + http_options: Dict[str, List[Dict[str, str]]] = { + "google.longrunning.Operations.GetOperation": [ + { + "method": "get", + "uri": "/v1/{name=apps/*/operations/*}", + }, + ], + "google.longrunning.Operations.ListOperations": [ + { + "method": "get", + "uri": "/v1/{name=apps/*}/operations", + }, + ], + } rest_transport = operations_v1.OperationsRestTransport( host=self._host, diff --git a/google/cloud/appengine_admin_v1/services/services/transports/rest.py b/google/cloud/appengine_admin_v1/services/services/transports/rest.py index e8d3814..1489a31 100644 --- a/google/cloud/appengine_admin_v1/services/services/transports/rest.py +++ b/google/cloud/appengine_admin_v1/services/services/transports/rest.py @@ -304,7 +304,20 @@ def operations_client(self) -> operations_v1.AbstractOperationsClient: """ # Only create a new client if we do not already have one. if self._operations_client is None: - http_options: Dict[str, List[Dict[str, str]]] = {} + http_options: Dict[str, List[Dict[str, str]]] = { + "google.longrunning.Operations.GetOperation": [ + { + "method": "get", + "uri": "/v1/{name=apps/*/operations/*}", + }, + ], + "google.longrunning.Operations.ListOperations": [ + { + "method": "get", + "uri": "/v1/{name=apps/*}/operations", + }, + ], + } rest_transport = operations_v1.OperationsRestTransport( host=self._host, diff --git a/google/cloud/appengine_admin_v1/services/versions/transports/rest.py b/google/cloud/appengine_admin_v1/services/versions/transports/rest.py index fd62126..f5cf14e 100644 --- a/google/cloud/appengine_admin_v1/services/versions/transports/rest.py +++ b/google/cloud/appengine_admin_v1/services/versions/transports/rest.py @@ -335,7 +335,20 @@ def operations_client(self) -> operations_v1.AbstractOperationsClient: """ # Only create a new client if we do not already have one. if self._operations_client is None: - http_options: Dict[str, List[Dict[str, str]]] = {} + http_options: Dict[str, List[Dict[str, str]]] = { + "google.longrunning.Operations.GetOperation": [ + { + "method": "get", + "uri": "/v1/{name=apps/*/operations/*}", + }, + ], + "google.longrunning.Operations.ListOperations": [ + { + "method": "get", + "uri": "/v1/{name=apps/*}/operations", + }, + ], + } rest_transport = operations_v1.OperationsRestTransport( host=self._host,