Skip to content

Commit d0b6f90

Browse files
chore: use gapic-generator-python 0.65.2 (#275)
* chore: use gapic-generator-python 0.65.2 PiperOrigin-RevId: 444333013 Source-Link: googleapis/googleapis@f91b6cf Source-Link: googleapis/googleapis-gen@16eb360 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTZlYjM2MDk1YzI5NGU3MTJjNzRhMWJmMjM1NTA4MTdiNDIxNzRlNSJ9 * 🦉 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 438588d commit d0b6f90

File tree

85 files changed

+10299
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+10299
-0
lines changed

packages/google-cloud-compute/google/cloud/compute_v1/services/accelerator_types/client.py

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,12 @@ def aggregated_list(
463463
# and friendly error handling.
464464
rpc = self._transport._wrapped_methods[self._transport.aggregated_list]
465465

466+
# Certain fields should be provided within the metadata header;
467+
# add these here.
468+
metadata = tuple(metadata) + (
469+
gapic_v1.routing_header.to_grpc_metadata((("project", request.project),)),
470+
)
471+
466472
# Send the request.
467473
response = rpc(
468474
request,
@@ -567,6 +573,18 @@ def get(
567573
# and friendly error handling.
568574
rpc = self._transport._wrapped_methods[self._transport.get]
569575

576+
# Certain fields should be provided within the metadata header;
577+
# add these here.
578+
metadata = tuple(metadata) + (
579+
gapic_v1.routing_header.to_grpc_metadata(
580+
(
581+
("project", request.project),
582+
("zone", request.zone),
583+
("accelerator_type", request.accelerator_type),
584+
)
585+
),
586+
)
587+
570588
# Send the request.
571589
response = rpc(
572590
request,
@@ -649,6 +667,17 @@ def list(
649667
# and friendly error handling.
650668
rpc = self._transport._wrapped_methods[self._transport.list]
651669

670+
# Certain fields should be provided within the metadata header;
671+
# add these here.
672+
metadata = tuple(metadata) + (
673+
gapic_v1.routing_header.to_grpc_metadata(
674+
(
675+
("project", request.project),
676+
("zone", request.zone),
677+
)
678+
),
679+
)
680+
652681
# Send the request.
653682
response = rpc(
654683
request,

packages/google-cloud-compute/google/cloud/compute_v1/services/addresses/client.py

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,12 @@ def aggregated_list(
462462
# and friendly error handling.
463463
rpc = self._transport._wrapped_methods[self._transport.aggregated_list]
464464

465+
# Certain fields should be provided within the metadata header;
466+
# add these here.
467+
metadata = tuple(metadata) + (
468+
gapic_v1.routing_header.to_grpc_metadata((("project", request.project),)),
469+
)
470+
465471
# Send the request.
466472
response = rpc(
467473
request,
@@ -558,6 +564,18 @@ def delete_unary(
558564
# and friendly error handling.
559565
rpc = self._transport._wrapped_methods[self._transport.delete]
560566

567+
# Certain fields should be provided within the metadata header;
568+
# add these here.
569+
metadata = tuple(metadata) + (
570+
gapic_v1.routing_header.to_grpc_metadata(
571+
(
572+
("project", request.project),
573+
("region", request.region),
574+
("address", request.address),
575+
)
576+
),
577+
)
578+
561579
# Send the request.
562580
response = rpc(
563581
request,
@@ -645,6 +663,18 @@ def delete(
645663
# and friendly error handling.
646664
rpc = self._transport._wrapped_methods[self._transport.delete]
647665

666+
# Certain fields should be provided within the metadata header;
667+
# add these here.
668+
metadata = tuple(metadata) + (
669+
gapic_v1.routing_header.to_grpc_metadata(
670+
(
671+
("project", request.project),
672+
("region", request.region),
673+
("address", request.address),
674+
)
675+
),
676+
)
677+
648678
# Send the request.
649679
response = rpc(
650680
request,
@@ -761,6 +791,18 @@ def get(
761791
# and friendly error handling.
762792
rpc = self._transport._wrapped_methods[self._transport.get]
763793

794+
# Certain fields should be provided within the metadata header;
795+
# add these here.
796+
metadata = tuple(metadata) + (
797+
gapic_v1.routing_header.to_grpc_metadata(
798+
(
799+
("project", request.project),
800+
("region", request.region),
801+
("address", request.address),
802+
)
803+
),
804+
)
805+
764806
# Send the request.
765807
response = rpc(
766808
request,
@@ -847,6 +889,17 @@ def insert_unary(
847889
# and friendly error handling.
848890
rpc = self._transport._wrapped_methods[self._transport.insert]
849891

892+
# Certain fields should be provided within the metadata header;
893+
# add these here.
894+
metadata = tuple(metadata) + (
895+
gapic_v1.routing_header.to_grpc_metadata(
896+
(
897+
("project", request.project),
898+
("region", request.region),
899+
)
900+
),
901+
)
902+
850903
# Send the request.
851904
response = rpc(
852905
request,
@@ -933,6 +986,17 @@ def insert(
933986
# and friendly error handling.
934987
rpc = self._transport._wrapped_methods[self._transport.insert]
935988

989+
# Certain fields should be provided within the metadata header;
990+
# add these here.
991+
metadata = tuple(metadata) + (
992+
gapic_v1.routing_header.to_grpc_metadata(
993+
(
994+
("project", request.project),
995+
("region", request.region),
996+
)
997+
),
998+
)
999+
9361000
# Send the request.
9371001
response = rpc(
9381002
request,
@@ -1037,6 +1101,17 @@ def list(
10371101
# and friendly error handling.
10381102
rpc = self._transport._wrapped_methods[self._transport.list]
10391103

1104+
# Certain fields should be provided within the metadata header;
1105+
# add these here.
1106+
metadata = tuple(metadata) + (
1107+
gapic_v1.routing_header.to_grpc_metadata(
1108+
(
1109+
("project", request.project),
1110+
("region", request.region),
1111+
)
1112+
),
1113+
)
1114+
10401115
# Send the request.
10411116
response = rpc(
10421117
request,

packages/google-cloud-compute/google/cloud/compute_v1/services/autoscalers/client.py

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,12 @@ def aggregated_list(
462462
# and friendly error handling.
463463
rpc = self._transport._wrapped_methods[self._transport.aggregated_list]
464464

465+
# Certain fields should be provided within the metadata header;
466+
# add these here.
467+
metadata = tuple(metadata) + (
468+
gapic_v1.routing_header.to_grpc_metadata((("project", request.project),)),
469+
)
470+
465471
# Send the request.
466472
response = rpc(
467473
request,
@@ -556,6 +562,18 @@ def delete_unary(
556562
# and friendly error handling.
557563
rpc = self._transport._wrapped_methods[self._transport.delete]
558564

565+
# Certain fields should be provided within the metadata header;
566+
# add these here.
567+
metadata = tuple(metadata) + (
568+
gapic_v1.routing_header.to_grpc_metadata(
569+
(
570+
("project", request.project),
571+
("zone", request.zone),
572+
("autoscaler", request.autoscaler),
573+
)
574+
),
575+
)
576+
559577
# Send the request.
560578
response = rpc(
561579
request,
@@ -641,6 +659,18 @@ def delete(
641659
# and friendly error handling.
642660
rpc = self._transport._wrapped_methods[self._transport.delete]
643661

662+
# Certain fields should be provided within the metadata header;
663+
# add these here.
664+
metadata = tuple(metadata) + (
665+
gapic_v1.routing_header.to_grpc_metadata(
666+
(
667+
("project", request.project),
668+
("zone", request.zone),
669+
("autoscaler", request.autoscaler),
670+
)
671+
),
672+
)
673+
644674
# Send the request.
645675
response = rpc(
646676
request,
@@ -761,6 +791,18 @@ def get(
761791
# and friendly error handling.
762792
rpc = self._transport._wrapped_methods[self._transport.get]
763793

794+
# Certain fields should be provided within the metadata header;
795+
# add these here.
796+
metadata = tuple(metadata) + (
797+
gapic_v1.routing_header.to_grpc_metadata(
798+
(
799+
("project", request.project),
800+
("zone", request.zone),
801+
("autoscaler", request.autoscaler),
802+
)
803+
),
804+
)
805+
764806
# Send the request.
765807
response = rpc(
766808
request,
@@ -847,6 +889,17 @@ def insert_unary(
847889
# and friendly error handling.
848890
rpc = self._transport._wrapped_methods[self._transport.insert]
849891

892+
# Certain fields should be provided within the metadata header;
893+
# add these here.
894+
metadata = tuple(metadata) + (
895+
gapic_v1.routing_header.to_grpc_metadata(
896+
(
897+
("project", request.project),
898+
("zone", request.zone),
899+
)
900+
),
901+
)
902+
850903
# Send the request.
851904
response = rpc(
852905
request,
@@ -933,6 +986,17 @@ def insert(
933986
# and friendly error handling.
934987
rpc = self._transport._wrapped_methods[self._transport.insert]
935988

989+
# Certain fields should be provided within the metadata header;
990+
# add these here.
991+
metadata = tuple(metadata) + (
992+
gapic_v1.routing_header.to_grpc_metadata(
993+
(
994+
("project", request.project),
995+
("zone", request.zone),
996+
)
997+
),
998+
)
999+
9361000
# Send the request.
9371001
response = rpc(
9381002
request,
@@ -1039,6 +1103,17 @@ def list(
10391103
# and friendly error handling.
10401104
rpc = self._transport._wrapped_methods[self._transport.list]
10411105

1106+
# Certain fields should be provided within the metadata header;
1107+
# add these here.
1108+
metadata = tuple(metadata) + (
1109+
gapic_v1.routing_header.to_grpc_metadata(
1110+
(
1111+
("project", request.project),
1112+
("zone", request.zone),
1113+
)
1114+
),
1115+
)
1116+
10421117
# Send the request.
10431118
response = rpc(
10441119
request,
@@ -1136,6 +1211,17 @@ def patch_unary(
11361211
# and friendly error handling.
11371212
rpc = self._transport._wrapped_methods[self._transport.patch]
11381213

1214+
# Certain fields should be provided within the metadata header;
1215+
# add these here.
1216+
metadata = tuple(metadata) + (
1217+
gapic_v1.routing_header.to_grpc_metadata(
1218+
(
1219+
("project", request.project),
1220+
("zone", request.zone),
1221+
)
1222+
),
1223+
)
1224+
11391225
# Send the request.
11401226
response = rpc(
11411227
request,
@@ -1224,6 +1310,17 @@ def patch(
12241310
# and friendly error handling.
12251311
rpc = self._transport._wrapped_methods[self._transport.patch]
12261312

1313+
# Certain fields should be provided within the metadata header;
1314+
# add these here.
1315+
metadata = tuple(metadata) + (
1316+
gapic_v1.routing_header.to_grpc_metadata(
1317+
(
1318+
("project", request.project),
1319+
("zone", request.zone),
1320+
)
1321+
),
1322+
)
1323+
12271324
# Send the request.
12281325
response = rpc(
12291326
request,
@@ -1335,6 +1432,17 @@ def update_unary(
13351432
# and friendly error handling.
13361433
rpc = self._transport._wrapped_methods[self._transport.update]
13371434

1435+
# Certain fields should be provided within the metadata header;
1436+
# add these here.
1437+
metadata = tuple(metadata) + (
1438+
gapic_v1.routing_header.to_grpc_metadata(
1439+
(
1440+
("project", request.project),
1441+
("zone", request.zone),
1442+
)
1443+
),
1444+
)
1445+
13381446
# Send the request.
13391447
response = rpc(
13401448
request,
@@ -1421,6 +1529,17 @@ def update(
14211529
# and friendly error handling.
14221530
rpc = self._transport._wrapped_methods[self._transport.update]
14231531

1532+
# Certain fields should be provided within the metadata header;
1533+
# add these here.
1534+
metadata = tuple(metadata) + (
1535+
gapic_v1.routing_header.to_grpc_metadata(
1536+
(
1537+
("project", request.project),
1538+
("zone", request.zone),
1539+
)
1540+
),
1541+
)
1542+
14241543
# Send the request.
14251544
response = rpc(
14261545
request,

0 commit comments

Comments
 (0)