8000 chore: use gapic-generator-python 0.63.4 (#227) · googleapis/google-cloud-python@4c38faf · GitHub
[go: up one dir, main page]

Skip to content

Commit 4c38faf

Browse files
chore: use gapic-generator-python 0.63.4 (#227)
* chore: use gapic-generator-python 0.63.4 chore: fix snippet region tag format chore: fix docstring code block formatting PiperOrigin-RevId: 430730865 Source-Link: googleapis/googleapis@ea58002 Source-Link: googleapis/googleapis-gen@ca893ff Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2E4OTNmZjhhZjI1ZmM3ZmUwMDFkZTE0MDVhNTE3ZDgwNDQ2ZWNjYSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * remove redundant samples Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent 6023edf commit 4c38faf

File tree

43 files changed

+200
-220
lines changed

Some content is hidden

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

43 files changed

+200
-220
lines changed

packages/google-cloud-bigquery-reservation/google/cloud/bigquery_reservation_v1/services/reservation_service/async_client.py

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ async def create_reservation(
252252
) -> gcbr_reservation.Reservation:
253253
r"""Creates a new reservation resource.
254254
255-
.. code-block::
255+
.. code-block:: python
256256
257257
from google.cloud import bigquery_reservation_v1
258258
@@ -364,7 +364,7 @@ async def list_reservations(
364364
specified location.
365365
366366
367-
.. code-block::
367+
.. code-block:: python
368368
369369
from google.cloud import bigquery_reservation_v1
370370
@@ -474,7 +474,7 @@ async def get_reservation(
474474
) -> reservation.Reservation:
475475
r"""Returns information about the reservation.
476476
477-
.. code-block::
477+
.. code-block:: python
478478
479479
from google.cloud import bigquery_reservation_v1
480480
@@ -578,7 +578,7 @@ async def delete_reservation(
578578
assignments.
579579
580580
581-
.. code-block::
581+
.. code-block:: python
582582
583583
from google.cloud import bigquery_reservation_v1
584584
@@ -670,7 +670,7 @@ async def update_reservation(
670670
) -> gcbr_reservation.Reservation:
671671
r"""Updates an existing reservation resource.
672672
673-
.. code-block::
673+
.. code-block:: python
674674
675675
from google.cloud import bigquery_reservation_v1
676676
@@ -769,7 +769,7 @@ async def create_capacity_commitment(
769769
) -> reservation.CapacityCommitment:
770770
r"""Creates a new capacity commitment resource.
771771
772-
.. code-block::
772+
.. code-block:: python
773773
774774
from google.cloud import bigquery_reservation_v1
775775
@@ -882,7 +882,7 @@ async def list_capacity_commitments(
882882
project.
883883
884884
885-
.. code-block::
885+
.. code-block:: python
886886
887887
from google.cloud import bigquery_reservation_v1
888888
@@ -992,7 +992,7 @@ async def get_capacity_commitment(
992992
) -> reservation.CapacityCommitment:
993993
r"""Returns information about the capacity commitment.
994994
995-
.. code-block::
995+
.. code-block:: python
996996
997997
from google.cloud import bigquery_reservation_v1
998998
@@ -1108,7 +1108,7 @@ async def delete_capacity_commitment(
11081108
error code ``google.rpc.Code.FAILED_PRECONDITION``.
11091109
11101110
1111-
.. code-block::
1111+
.. code-block:: python
11121112
11131113
from google.cloud import bigquery_reservation_v1
11141114
@@ -1208,7 +1208,7 @@ async def update_capacity_commitment(
12081208
``google.rpc.Code.FAILED_PRECONDITION``.
12091209
12101210
1211-
.. code-block::
1211+
.. code-block:: python
12121212
12131213
from google.cloud import bigquery_reservation_v1
12141214
@@ -1330,7 +1330,7 @@ async def split_capacity_commitment(
13301330
``FLEX`` and then delete it.
13311331
13321332
1333-
.. code-block::
1333+
.. code-block:: python
13341334
13351335
from google.cloud import bigquery_reservation_v1
13361336
@@ -1440,7 +1440,7 @@ async def merge_capacity_commitments(
14401440
``google.rpc.Code.FAILED_PRECONDITION``.
14411441
14421442
1443-
.. code-block::
1443+
.. code-block:: python
14441444
14451445
from google.cloud import bigquery_reservation_v1
14461446
@@ -1594,7 +1594,7 @@ async def create_assignment(
15941594
the assignment does not match location of the reservation.
15951595
15961596
1597-
.. code-block::
1597+
.. code-block:: python
15981598
15991599
from google.cloud import bigquery_reservation_v1
16001600
@@ -1717,7 +1717,7 @@ async def list_assignments(
17171717
**Note** "-" cannot be used for projects nor locations.
17181718
17191719
1720-
.. code-block::
1720+
.. code-block:: python
17211721
17221722
from google.cloud import bigquery_reservation_v1
17231723
@@ -1848,7 +1848,7 @@ async def delete_assignment(
18481848
``project2`` will switch to use on-demand mode.
18491849
18501850
1851-
.. code-block::
1851+
.. code-block:: python
18521852
18531853
from google.cloud import bigquery_reservation_v1
18541854
@@ -1966,7 +1966,7 @@ async def search_assignments(
19661966
**Note** "-" cannot be used for projects nor locations.
19671967
19681968
1969-
.. code-block::
1969+
.. code-block:: python
19701970
19711971
from google.cloud import bigquery_reservation_v1
19721972
@@ -2122,7 +2122,7 @@ async def search_all_assignments(
21222122
``projects/*/locations/*reservations/*``.
21232123
21242124
2125-
.. code-block::
2125+
.. code-block:: python
21262126
21272127
from google.cloud import bigquery_reservation_v1
21282128
@@ -2245,7 +2245,7 @@ async def move_assignment(
22452245
reservation.
22462246
22472247
2248-
.. code-block::
2248+
.. code-block:: python
22492249
22502250
from google.cloud import bigquery_reservation_v1
22512251
@@ -2351,7 +2351,7 @@ async def get_bi_reservation(
23512351
) -> reservation.BiReservation:
23522352
r"""Retrieves a BI reservation.
23532353
2354-
.. code-block::
2354+
.. code-block:: python
23552355
23562356
from google.cloud import bigquery_reservation_v1
23572357
@@ -2459,7 +2459,7 @@ async def update_bi_reservation(
24592459
must be set to 0.
24602460
24612461
2462-
.. code-block::
2462+
.. code-block:: python
24632463
24642464
from google.cloud import bigquery_reservation_v1
24652465

packages/google-cloud-bigquery-reservation/google/cloud/bigquery_reservation_v1/services/reservation_service/client.py

Lines changed: 20 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -491,8 +491,7 @@ def create_reservation(
491491
) -> gcbr_reservation.Reservation:
492492
r"""Creates a new reservation resource.
493493
494-
495-
.. code-block::
494+
.. code-block:: python
496495
497496
from google.cloud import bigquery_reservation_v1
498497
@@ -604,8 +603,7 @@ def list_reservations(
604603
specified location.
605604
606605
607-
608-
.. code-block::
606+
.. code-block:: python
609607
610608
from google.cloud import bigquery_reservation_v1
611609
@@ -705,8 +703,7 @@ def get_reservation(
705703
) -> reservation.Reservation:
706704
r"""Returns information about the reservation.
707705
708-
709-
.. code-block::
706+
.. code-block:: python
710707
711708
from google.cloud import bigquery_reservation_v1
712709
@@ -800,8 +797,7 @@ def delete_reservation(
800797
assignments.
801798
802799
803-
804-
.. code-block::
800+
.. code-block:: python
805801
806802
from google.cloud import bigquery_reservation_v1
807803
@@ -883,8 +879,7 @@ def update_reservation(
883879
) -> gcbr_reservation.Reservation:
884880
r"""Updates an existing reservation resource.
885881
886-
887-
.. code-block::
882+
.. code-block:: python
888883
889884
from google.cloud import bigquery_reservation_v1
890885
@@ -983,8 +978,7 @@ def create_capacity_commitment(
983978
) -> reservation.CapacityCommitment:
984979
r"""Creates a new capacity commitment resource.
985980
986-
987-
.. code-block::
981+
.. code-block:: python
988982
989983
from google.cloud import bigquery_reservation_v1
990984
@@ -1099,8 +1093,7 @@ def list_capacity_commitments(
10991093
project.
11001094
11011095
1102-
1103-
.. code-block::
1096+
.. code-block:: python
11041097
11051098
from google.cloud import bigquery_reservation_v1
11061099
@@ -1202,8 +1195,7 @@ def get_capacity_commitment(
12021195
) -> reservation.CapacityCommitment:
12031196
r"""Returns information about the capacity commitment.
12041197
1205-
1206-
.. code-block::
1198+
.. code-block:: python
12071199
12081200
from google.cloud import bigquery_reservation_v1
12091201
@@ -1309,8 +1301,7 @@ def delete_capacity_commitment(
13091301
error code ``google.rpc.Code.FAILED_PRECONDITION``.
13101302
13111303
1312-
1313-
.. code-block::
1304+
.. code-block:: python
13141305
13151306
from google.cloud import bigquery_reservation_v1
13161307
@@ -1402,8 +1393,7 @@ def update_capacity_commitment(
14021393
``google.rpc.Code.FAILED_PRECONDITION``.
14031394
14041395
1405-
1406-
.. code-block::
1396+
.. code-block:: python
14071397
14081398
from google.cloud import bigquery_reservation_v1
14091399
@@ -1527,8 +1517,7 @@ def split_capacity_commitment(
15271517
``FLEX`` and then delete it.
15281518
15291519
1530-
1531-
.. code-block::
1520+
.. code-block:: python
15321521
15331522
from google.cloud import bigquery_reservation_v1
15341523
@@ -1640,8 +1629,7 @@ def merge_capacity_commitments(
16401629
``google.rpc.Code.FAILED_PRECONDITION``.
16411630
16421631
1643-
1644-
.. code-block::
1632+
.. code-block:: python
16451633
16461634
from google.cloud import bigquery_reservation_v1
16471635
@@ -1797,8 +1785,7 @@ def create_assignment(
17971785
the assignment does not match location of the reservation.
17981786
17991787
1800-
1801-
.. code-block::
1788+
.. code-block:: python
18021789
18031790
from google.cloud import bigquery_reservation_v1
18041791
@@ -1921,8 +1908,7 @@ def list_assignments(
19211908
**Note** "-" cannot be used for projects nor locations.
19221909
19231910
1924-
1925-
.. code-block::
1911+
.. code-block:: python
19261912
19271913
from google.cloud import bigquery_reservation_v1
19281914
@@ -2043,8 +2029,7 @@ def delete_assignment(
20432029
``project2`` will switch to use on-demand mode.
20442030
20452031
2046-
2047-
.. code-block::
2032+
.. code-block:: python
20482033
20492034
from google.cloud import bigquery_reservation_v1
20502035
@@ -2152,8 +2137,7 @@ def search_assignments(
21522137
**Note** "-" cannot be used for projects nor locations.
21532138
21542139
2155-
2156-
.. code-block::
2140+
.. code-block:: python
21572141
21582142
from google.cloud import bigquery_reservation_v1
21592143
@@ -2299,8 +2283,7 @@ def search_all_assignments(
22992283
``projects/*/locations/*reservations/*``.
23002284
23012285
2302-
2303-
.. code-block::
2286+
.. code-block:: python
23042287
23052288
from google.cloud import bigquery_reservation_v1
23062289
@@ -2423,8 +2406,7 @@ def move_assignment(
24232406
reservation.
24242407
24252408
2426-
2427-
.. code-block::
2409+
.. code-block:: python
24282410
24292411
from google.cloud import bigquery_reservation_v1
24302412
@@ -2530,8 +2512,7 @@ def get_bi_reservation(
25302512
) -> reservation.BiReservation:
25312513
r"""Retrieves a BI reservation.
25322514
2533-
2534-
.. code-block::
2515+
.. code-block:: python
25352516
25362517
from google.cloud import bigquery_reservation_v1
25372518
@@ -2629,8 +2610,7 @@ def update_bi_reservation(
26292610
must be set to 0.
26302611
26312612
2632-
2633-
.. code-block::
2613+
.. code-block:: python
26342614
26352615
from google.cloud import bigquery_reservation_v1
26362616
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# python3 -m pip install google-cloud-bigquery-reservation
2424

2525

26-
# [START bigqueryreservation_generated_bigquery_reservation_v1_ReservationService_CreateAssignment_async]
26+
# [START bigqueryreservation_v1_generated_ReservationService_CreateAssignment_async]
2727
from google.cloud import bigquery_reservation_v1
2828

2929

@@ -42,4 +42,4 @@ async def sample_create_assignment():
4242
# Handle the response
4343
print(response)
4444

45-
# [END bigqueryreservation_generated_bigquery_reservation_v1_ReservationService_CreateAssignment_async]
45+
# [END bigqueryreservation_v1_generated_ReservationService_CreateAssignment_async]

0 commit comments

Comments
 (0)
0