Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit ecce362

Browse files
docs: Fix formatting of request arg in docstring (#350)
* docs: Fix formatting of request arg in docstring chore: Update gapic-generator-python to v1.9.1 PiperOrigin-RevId: 518604533 Source-Link: googleapis/googleapis@8a085ae Source-Link: https://github.com/googleapis/googleapis-gen/commit/b2ab4b0a0ae2907e812c209198a74e0898afcb04 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjJhYjRiMGEwYWUyOTA3ZTgxMmMyMDkxOThhNzRlMDg5OGFmY2IwNCJ9 * 🦉 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 e94a53b commit ecce362

File tree

3 files changed

+4
-24
lines changed

3 files changed

+4
-24
lines changed

google/cloud/bigquery_reservation_v1/services/reservation_service/async_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2505,6 +2505,7 @@ async def sample_move_assignment():
25052505
request (Optional[Union[google.cloud.bigquery_reservation_v1.types.MoveAssignmentRequest, dict]]):
25062506
The request object. The request for
25072507
[ReservationService.MoveAssignment][google.cloud.bigquery.reservation.v1.ReservationService.MoveAssignment].
2508+
25082509
**Note**: "bigquery.reservationAssignments.create"
25092510
permission is required on the destination_id.
25102511
@@ -2853,8 +2854,7 @@ async def sample_update_bi_reservation():
28532854
28542855
Args:
28552856
request (Optional[Union[google.cloud.bigquery_reservation_v1.types.UpdateBiReservationRequest, dict]]):
2856-
The request object. A request to update a BI
2857-
reservation.
2857+
The request object. A request to update a BI reservation.
28582858
bi_reservation (:class:`google.cloud.bigquery_reservation_v1.types.BiReservation`):
28592859
A reservation to update.
28602860
This corresponds to the ``bi_reservation`` field

google/cloud/bigquery_reservation_v1/services/reservation_service/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2709,6 +2709,7 @@ def sample_move_assignment():
27092709
request (Union[google.cloud.bigquery_reservation_v1.types.MoveAssignmentRequest, dict]):
27102710
The request object. The request for
27112711
[ReservationService.MoveAssignment][google.cloud.bigquery.reservation.v1.ReservationService.MoveAssignment].
2712+
27122713
**Note**: "bigquery.reservationAssignments.create"
27132714
permission is required on the destination_id.
27142715
@@ -3047,8 +3048,7 @@ def sample_update_bi_reservation():
30473048
30483049
Args:
30493050
request (Union[google.cloud.bigquery_reservation_v1.types.UpdateBiReservationRequest, dict]):
3050-
The request object. A request to update a BI
3051-
reservation.
3051+
The request object. A request to update a BI reservation.
30523052
bi_reservation (google.cloud.bigquery_reservation_v1.types.BiReservation):
30533053
A reservation to update.
30543054
This corresponds to the ``bi_reservation`` field

google/cloud/bigquery_reservation_v1/services/reservation_service/transports/rest.py

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,6 @@ def __call__(
821821
[ReservationService.CreateAssignment][google.cloud.bigquery.reservation.v1.ReservationService.CreateAssignment].
822822
Note: "bigquery.reservationAssignments.create"
823823
permission is required on the related assignee.
824-
825824
retry (google.api_core.retry.Retry): Designation of what errors, if any,
826825
should be retried.
827826
timeout (float): The timeout for this request.
@@ -924,7 +923,6 @@ def __call__(
924923
request (~.reservation.CreateCapacityCommitmentRequest):
925924
The request object. The request for
926925
[ReservationService.CreateCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.CreateCapacityCommitment].
927-
928926
retry (google.api_core.retry.Retry): Designation of what errors, if any,
929927
should be retried.
930928
timeout (float): The timeout for this request.
@@ -1037,7 +1035,6 @@ def __call__(
10371035
request (~.gcbr_reservation.CreateReservationRequest):
10381036
The request object. The request for
10391037
[ReservationService.CreateReservation][google.cloud.bigquery.reservation.v1.ReservationService.CreateReservation].
1040-
10411038
retry (google.api_core.retry.Retry): Designation of what errors, if any,
10421039
should be retried.
10431040
timeout (float): The timeout for this request.
@@ -1140,7 +1137,6 @@ def __call__(
11401137
[ReservationService.DeleteAssignment][google.cloud.bigquery.reservation.v1.ReservationService.DeleteAssignment].
11411138
Note: "bigquery.reservationAssignments.delete"
11421139
permission is required on the related assignee.
1143-
11441140
retry (google.api_core.retry.Retry): Designation of what errors, if any,
11451141
should be retried.
11461142
timeout (float): The timeout for this request.
@@ -1219,7 +1215,6 @@ def __call__(
12191215
request (~.reservation.DeleteCapacityCommitmentRequest):
12201216
The request object. The request for
12211217
[ReservationService.DeleteCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.DeleteCapacityCommitment].
1222-
12231218
retry (google.api_core.retry.Retry): Designation of what errors, if any,
12241219
should be retried.
12251220
timeout (float): The timeout for this request.
@@ -1297,7 +1292,6 @@ def __call__(
12971292
request (~.reservation.DeleteReservationRequest):
12981293
The request object. The request for
12991294
[ReservationService.DeleteReservation][google.cloud.bigquery.reservation.v1.ReservationService.DeleteReservation].
1300-
13011295
retry (google.api_core.retry.Retry): Designation of what errors, if any,
13021296
should be retried.
13031297
timeout (float): The timeout for this request.
@@ -1375,7 +1369,6 @@ def __call__(
13751369
request (~.reservation.GetBiReservationRequest):
13761370
The request object. A request to get a singleton BI
13771371
reservation.
1378-
13791372
retry (google.api_core.retry.Retry): Designation of what errors, if any,
13801373
should be retried.
13811374
timeout (float): The timeout for this request.
@@ -1465,7 +1458,6 @@ def __call__(
14651458
request (~.reservation.GetCapacityCommitmentRequest):
14661459
The request object. The request for
14671460
[ReservationService.GetCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.GetCapacityCommitment].
1468-
14691461
retry (google.api_core.retry.Retry): Designation of what errors, if any,
14701462
should be retried.
14711463
timeout (float): The timeout for this request.
@@ -1569,7 +1561,6 @@ def __call__(
15691561
request (~.reservation.GetReservationRequest):
15701562
The request object. The request for
15711563
[ReservationService.GetReservation][google.cloud.bigquery.reservation.v1.ReservationService.GetReservation].
1572-
15731564
retry (google.api_core.retry.Retry): Designation of what errors, if any,
15741565
should be retried.
15751566
timeout (float): The timeout for this request.
@@ -1659,7 +1650,6 @@ def __call__(
16591650
request (~.reservation.ListAssignmentsRequest):
16601651
The request object. The request for
16611652
[ReservationService.ListAssignments][google.cloud.bigquery.reservation.v1.ReservationService.ListAssignments].
1662-
16631653
retry (google.api_core.retry.Retry): Designation of what errors, if any,
16641654
should be retried.
16651655
timeout (float): The timeout for this request.
@@ -1751,7 +1741,6 @@ def __call__(
17511741
request (~.reservation.ListCapacityCommitmentsRequest):
17521742
The request object. The request for
17531743
[ReservationService.ListCapacityCommitments][google.cloud.bigquery.reservation.v1.ReservationService.ListCapacityCommitments].
1754-
17551744
retry (google.api_core.retry.Retry): Designation of what errors, if any,
17561745
should be retried.
17571746
timeout (float): The timeout for this request.
@@ -1843,7 +1832,6 @@ def __call__(
18431832
request (~.reservation.ListReservationsRequest):
18441833
The request object. The request for
18451834
[ReservationService.ListReservations][google.cloud.bigquery.reservation.v1.ReservationService.ListReservations].
1846-
18471835
retry (google.api_core.retry.Retry): Designation of what errors, if any,
18481836
should be retried.
18491837
timeout (float): The timeout for this request.
@@ -1926,7 +1914,6 @@ def __call__(
19261914
request (~.reservation.MergeCapacityCommitmentsRequest):
19271915
The request object. The request for
19281916
[ReservationService.MergeCapacityCommitments][google.cloud.bigquery.reservation.v1.ReservationService.MergeCapacityCommitments].
1929-
19301917
retry (google.api_core.retry.Retry): Designation of what errors, if any,
19311918
should be retried.
19321919
timeout (float): The timeout for this request.
@@ -2045,7 +2032,6 @@ def __call__(
20452032
**Note**: "bigquery.reservationAssignments.create" and
20462033
"bigquery.reservationAssignments.delete" permission are
20472034
required on the related assignee.
2048-
20492035
retry (google.api_core.retry.Retry): Designation of what errors, if any,
20502036
should be retried.
20512037
timeout (float): The timeout for this request.
@@ -2147,7 +2133,6 @@ def __call__(
21472133
[ReservationService.SearchAllAssignments][google.cloud.bigquery.reservation.v1.ReservationService.SearchAllAssignments].
21482134
Note: "bigquery.reservationAssignments.search"
21492135
permission is required on the related assignee.
2150-
21512136
retry (google.api_core.retry.Retry): Designation of what errors, if any,
21522137
should be retried.
21532138
timeout (float): The timeout for this request.
@@ -2241,7 +2226,6 @@ def __call__(
22412226
[ReservationService.SearchAssignments][google.cloud.bigquery.reservation.v1.ReservationService.SearchAssignments].
22422227
Note: "bigquery.reservationAssignments.search"
22432228
permission is required on the related assignee.
2244-
22452229
retry (google.api_core.retry.Retry): Designation of what errors, if any,
22462230
should be retried.
22472231
timeout (float): The timeout for this request.
@@ -2333,7 +2317,6 @@ def __call__(
23332317
request (~.reservation.SplitCapacityCommitmentRequest):
23342318
The request object. The request for
23352319
[ReservationService.SplitCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.SplitCapacityCommitment].
2336-
23372320
retry (google.api_core.retry.Retry): Designation of what errors, if any,
23382321
should be retried.
23392322
timeout (float): The timeout for this request.
@@ -2424,7 +2407,6 @@ def __call__(
24242407
request (~.reservation.UpdateAssignmentRequest):
24252408
The request object. The request for
24262409
[ReservationService.UpdateAssignment][google.cloud.bigquery.reservation.v1.ReservationService.UpdateAssignment].
2427-
24282410
retry (google.api_core.retry.Retry): Designation of what errors, if any,
24292411
should be retried.
24302412
timeout (float): The timeout for this request.
@@ -2602,7 +2584,6 @@ def __call__(
26022584
request (~.reservation.UpdateCapacityCommitmentRequest):
26032585
The request object. The request for
26042586
[ReservationService.UpdateCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.UpdateCapacityCommitment].
2605-
26062587
retry (google.api_core.retry.Retry): Designation of what errors, if any,
26072588
should be retried.
26082589
timeout (float): The timeout for this request.
@@ -2704,7 +2685,6 @@ def __call__(
27042685
request (~.gcbr_reservation.UpdateReservationRequest):
27052686
The request object. The request for
27062687
[ReservationService.UpdateReservation][google.cloud.bigquery.reservation.v1.ReservationService.UpdateReservation].
2707-
27082688
retry (google.api_core.retry.Retry): Designation of what errors, if any,
27092689
should be retried.
27102690
timeout (float): The timeout for this request.

0 commit comments

Comments
 (0)