Skip to content

Commit 4291a23

Browse files
chore: Add service_yaml_parameters to py_gapic_library BUILD.bazel targets (#226)
* fix: Add service_yaml_parameters to py_gapic_library BUILD.bazel targets PiperOrigin-RevId: 510187992 Source-Link: googleapis/googleapis@5edc235 Source-Link: googleapis/googleapis-gen@b0bedb7 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 6e133e4 commit 4291a23

5 files changed

Lines changed: 70 additions & 5 deletions

File tree

  • packages/google-cloud-appengine-admin/google/cloud/appengine_admin_v1/services

packages/google-cloud-appengine-admin/google/cloud/appengine_admin_v1/services/applications/transports/rest.py

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,20 @@ def operations_client(self) -> operations_v1.AbstractOperationsClient:
308308
"""
309309
# Only create a new client if we do not already have one.
310310
if self._operations_client is None:
311-
http_options: Dict[str, List[Dict[str, str]]] = {}
311+
http_options: Dict[str, List[Dict[str, str]]] = {
312+
"google.longrunning.Operations.GetOperation": [
313+
{
314+
"method": "get",
315+
"uri": "/v1/{name=apps/*/operations/*}",
316+
},
317+
],
318+
"google.longrunning.Operations.ListOperations": [
319+
{
320+
"method": "get",
321+
"uri": "/v1/{name=apps/*}/operations",
322+
},
323+
],
324+
}
312325

313326
rest_transport = operations_v1.OperationsRestTransport(
314327
host=self._host,

packages/google-cloud-appengine-admin/google/cloud/appengine_admin_v1/services/domain_mappings/transports/rest.py

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,20 @@ def operations_client(self) -> operations_v1.AbstractOperationsClient:
339339
"""
340340
# Only create a new client if we do not already have one.
341341
if self._operations_client is None:
342-
http_options: Dict[str, List[Dict[str, str]]] = {}
342+
http_options: Dict[str, List[Dict[str, str]]] = {
343+
"google.longrunning.Operations.GetOperation": [
344+
{
345+
"method": "get",
346+
"uri": "/v1/{name=apps/*/operations/*}",
347+
},
348+
],
349+
"google.longrunning.Operations.ListOperations": [
350+
{
351+
"method": "get",
352+
"uri": "/v1/{name=apps/*}/operations",
353+
},
354+
],
355+
}
343356

344357
rest_transport = operations_v1.OperationsRestTransport(
345358
host=self._host,

packages/google-cloud-appengine-admin/google/cloud/appengine_admin_v1/services/instances/transports/rest.py

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,20 @@ def operations_client(self) -> operations_v1.AbstractOperationsClient:
304304
"""
305305
# Only create a new client if we do not already have one.
306306
if self._operations_client is None:
307-
http_options: Dict[str, List[Dict[str, str]]] = {}
307+
http_options: Dict[str, List[Dict[str, str]]] = {
308+
"google.longrunning.Operations.GetOperation": [
309+
{
310+
"method": "get",
311+
"uri": "/v1/{name=apps/*/operations/*}",
312+
},
313+
],
314+
"google.longrunning.Operations.ListOperations": [
315+
{
316+
"method": "get",
317+
"uri": "/v1/{name=apps/*}/operations",
318+
},
319+
],
320+
}
308321

309322
rest_transport = operations_v1.OperationsRestTransport(
310323
host=self._host,

packages/google-cloud-appengine-admin/google/cloud/appengine_admin_v1/services/services/transports/rest.py

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,20 @@ def operations_client(self) -> operations_v1.AbstractOperationsClient:
304304
"""
305305
# Only create a new client if we do not already have one.
306306
if self._operations_client is None:
307-
http_options: Dict[str, List[Dict[str, str]]] = {}
307+
http_options: Dict[str, List[Dict[str, str]]] = {
308+
"google.longrunning.Operations.GetOperation": [
309+
{
310+
"method": "get",
311+
"uri": "/v1/{name=apps/*/operations/*}",
312+
},
313+
],
314+
"google.longrunning.Operations.ListOperations": [
315+
{
316+
"method": "get",
317+
"uri": "/v1/{name=apps/*}/operations",
318+
},
319+
],
320+
}
308321

309322
rest_transport = operations_v1.OperationsRestTransport(
310323
host=self._host,

packages/google-cloud-appengine-admin/google/cloud/appengine_admin_v1/services/versions/transports/rest.py

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,20 @@ def operations_client(self) -> operations_v1.AbstractOperationsClient:
335335
"""
336336
# Only create a new client if we do not already have one.
337337
if self._operations_client is None:
338-
http_options: Dict[str, List[Dict[str, str]]] = {}
338+
http_options: Dict[str, List[Dict[str, str]]] = {
339+
"google.longrunning.Operations.GetOperation": [
340+
{
341+
"method": "get",
342+
"uri": "/v1/{name=apps/*/operations/*}",
343+
},
344+
],
345+
"google.longrunning.Operations.ListOperations": [
346+
{
347+
"method": "get",
348+
"uri": "/v1/{name=apps/*}/operations",
349+
},
350+
],
351+
}
339352

340353
rest_transport = operations_v1.OperationsRestTransport(
341354
host=self._host,

0 commit comments

Comments
 (0)