Skip to content

Commit c7bbbfc

Browse files
chore: [google-cloud-bigquery-reservation] Update gapic-generator-python to 1.26.2 (#14333)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 802200836 Source-Link: googleapis/googleapis@d300b15 Source-Link: googleapis/googleapis-gen@a1ff0ae Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWJpZ3F1ZXJ5LXJlc2VydmF0aW9uLy5Pd2xCb3QueWFtbCIsImgiOiJhMWZmMGFlNzJkZGNiNjhhMjU5MjE1ZDhjNzc2NjFlMmNkYmI5YjAyIn0= BEGIN_NESTED_COMMIT feat: [google-cloud-bigquery-reservation] Add a new field `soft_failover_start_time` in the existing `replication_status` in `.google.cloud.bigquery.reservation.v1.Reservation` to provide visibility into the state of ongoing soft failover operations onthe reservation feat: Add a new field `failover_mode` to `.google.cloud.bigquery.reservation.v1.FailoverReservationRequest` that allows users to choose between the HARD or SOFT failover modes when they initiate a failover operation on a reservation PiperOrigin-RevId: 802187284 Source-Link: googleapis/googleapis@afe86f3 Source-Link: googleapis/googleapis-gen@df2db68 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWJpZ3F1ZXJ5LXJlc2VydmF0aW9uLy5Pd2xCb3QueWFtbCIsImgiOiJkZjJkYjY4N2E2NDI3ZDExN2FmZWMzYzJiZTdmM2Y4N2Y0YzlmOTliIn0= END_NESTED_COMMIT BEGIN_COMMIT_OVERRIDE feat: Add a new field `soft_failover_start_time` in the existing `replication_status` in `.google.cloud.bigquery.reservation.v1.Reservation` to provide visibility into the state of ongoing soft failover operations onthe reservation feat: Add a new field `failover_mode` to `.google.cloud.bigquery.reservation.v1.FailoverReservationRequest` that allows users to choose between the HARD or SOFT failover modes when they initiate a failover operation on a reservation END_COMMIT_OVERRIDE --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 6eb4e2a commit c7bbbfc

File tree

14 files changed

+150
-92
lines changed

14 files changed

+150
-92
lines changed

packages/google-cloud-bigquery-reservation/google/cloud/bigquery_reservation/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
DeleteCapacityCommitmentRequest,
3636
DeleteReservationRequest,
3737
Edition,
38+
FailoverMode,
3839
FailoverReservationRequest,
3940
GetBiReservationRequest,
4041
GetCapacityCommitmentRequest,
@@ -98,4 +99,5 @@
9899
"UpdateCapacityCommitmentRequest",
99100
"UpdateReservationRequest",
100101
"Edition",
102+
"FailoverMode",
101103
)

packages/google-cloud-bigquery-reservation/google/cloud/bigquery_reservation/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "1.18.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-bigquery-reservation/google/cloud/bigquery_reservation_v1/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
DeleteCapacityCommitmentRequest,
3434
DeleteReservationRequest,
3535
Edition,
36+
FailoverMode,
3637
FailoverReservationRequest,
3738
GetBiReservationRequest,
3839
GetCapacityCommitmentRequest,
@@ -71,6 +72,7 @@
7172
"DeleteCapacityCommitmentRequest",
7273
"DeleteReservationRequest",
7374
"Edition",
75+
"FailoverMode",
7476
"FailoverReservationRequest",
7577
"GetBiReservationRequest",
7678
"GetCapacityCommitmentRequest",

packages/google-cloud-bigquery-reservation/google/cloud/bigquery_reservation_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "1.18.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

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

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1961,11 +1961,11 @@ async def create_assignment(
19611961
19621962
Example:
19631963
1964-
- The organization ``organizationA`` contains two projects,
1965-
``project1`` and ``project2``.
1966-
- Assignments for all three entities (``organizationA``,
1967-
``project1``, and ``project2``) could all be created and
1968-
mapped to the same or different reservations.
1964+
- The organization ``organizationA`` contains two projects,
1965+
``project1`` and ``project2``.
1966+
- Assignments for all three entities (``organizationA``,
1967+
``project1``, and ``project2``) could all be created and
1968+
mapped to the same or different reservations.
19691969
19701970
"None" assignments represent an absence of the assignment.
19711971
Projects assigned to None use on-demand pricing. To create a
@@ -2106,12 +2106,12 @@ async def list_assignments(
21062106
21072107
Example:
21082108
2109-
- Organization ``organizationA`` contains two projects,
2110-
``project1`` and ``project2``.
2111-
- Reservation ``res1`` exists and was created previously.
2112-
- CreateAssignment was used previously to define the following
2113-
associations between entities and reservations:
2114-
``<organizationA, res1>`` and ``<project1, res1>``
2109+
- Organization ``organizationA`` contains two projects,
2110+
``project1`` and ``project2``.
2111+
- Reservation ``res1`` exists and was created previously.
2112+
- CreateAssignment was used previously to define the following
2113+
associations between entities and reservations:
2114+
``<organizationA, res1>`` and ``<project1, res1>``
21152115
21162116
In this example, ListAssignments will just return the above two
21172117
assignments for reservation ``res1``, and no expansion/merge
@@ -2256,12 +2256,12 @@ async def delete_assignment(
22562256
22572257
Example:
22582258
2259-
- Organization ``organizationA`` contains two projects,
2260-
``project1`` and ``project2``.
2261-
- Reservation ``res1`` exists and was created previously.
2262-
- CreateAssignment was used previously to define the following
2263-
associations between entities and reservations:
2264-
``<organizationA, res1>`` and ``<project1, res1>``
2259+
- Organization ``organizationA`` contains two projects,
2260+
``project1`` and ``project2``.
2261+
- Reservation ``res1`` exists and was created previously.
2262+
- CreateAssignment was used previously to define the following
2263+
associations between entities and reservations:
2264+
``<organizationA, res1>`` and ``<project1, res1>``
22652265
22662266
In this example, deletion of the ``<organizationA, res1>``
22672267
assignment won't affect the other assignment
@@ -2441,9 +2441,9 @@ async def sample_search_assignments():
24412441
24422442
Examples:
24432443
2444-
- ``assignee=projects/myproject``
2445-
- ``assignee=folders/123``
2446-
- ``assignee=organizations/456``
2444+
- ``assignee=projects/myproject``
2445+
- ``assignee=folders/123``
2446+
- ``assignee=organizations/456``
24472447
24482448
This corresponds to the ``query`` field
24492449
on the ``request`` instance; if ``request`` is provided, this
@@ -2612,9 +2612,9 @@ async def sample_search_all_assignments():
26122612
26132613
Examples:
26142614
2615-
- ``assignee=projects/myproject``
2616-
- ``assignee=folders/123``
2617-
- ``assignee=organizations/456``
2615+
- ``assignee=projects/myproject``
2616+
- ``assignee=folders/123``
2617+
- ``assignee=organizations/456``
26182618
26192619
This corresponds to the ``query`` field
26202620
on the ``request`` instance; if ``request`` is provided, this

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

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2412,11 +2412,11 @@ def create_assignment(
24122412
24132413
Example:
24142414
2415-
- The organization ``organizationA`` contains two projects,
2416-
``project1`` and ``project2``.
2417-
- Assignments for all three entities (``organizationA``,
2418-
``project1``, and ``project2``) could all be created and
2419-
mapped to the same or different reservations.
2415+
- The organization ``organizationA`` contains two projects,
2416+
``project1`` and ``project2``.
2417+
- Assignments for all three entities (``organizationA``,
2418+
``project1``, and ``project2``) could all be created and
2419+
mapped to the same or different reservations.
24202420
24212421
"None" assignments represent an absence of the assignment.
24222422
Projects assigned to None use on-demand pricing. To create a
@@ -2554,12 +2554,12 @@ def list_assignments(
25542554
25552555
Example:
25562556
2557-
- Organization ``organizationA`` contains two projects,
2558-
``project1`` and ``project2``.
2559-
- Reservation ``res1`` exists and was created previously.
2560-
- CreateAssignment was used previously to define the following
2561-
associations between entities and reservations:
2562-
``<organizationA, res1>`` and ``<project1, res1>``
2557+
- Organization ``organizationA`` contains two projects,
2558+
``project1`` and ``project2``.
2559+
- Reservation ``res1`` exists and was created previously.
2560+
- CreateAssignment was used previously to define the following
2561+
associations between entities and reservations:
2562+
``<organizationA, res1>`` and ``<project1, res1>``
25632563
25642564
In this example, ListAssignments will just return the above two
25652565
assignments for reservation ``res1``, and no expansion/merge
@@ -2701,12 +2701,12 @@ def delete_assignment(
27012701
27022702
Example:
27032703
2704-
- Organization ``organizationA`` contains two projects,
2705-
``project1`` and ``project2``.
2706-
- Reservation ``res1`` exists and was created previously.
2707-
- CreateAssignment was used previously to define the following
2708-
associations between entities and reservations:
2709-
``<organizationA, res1>`` and ``<project1, res1>``
2704+
- Organization ``organizationA`` contains two projects,
2705+
``project1`` and ``project2``.
2706+
- Reservation ``res1`` exists and was created previously.
2707+
- CreateAssignment was used previously to define the following
2708+
associations between entities and reservations:
2709+
``<organizationA, res1>`` and ``<project1, res1>``
27102710
27112711
In this example, deletion of the ``<organizationA, res1>``
27122712
assignment won't affect the other assignment
@@ -2883,9 +2883,9 @@ def sample_search_assignments():
28832883
28842884
Examples:
28852885
2886-
- ``assignee=projects/myproject``
2887-
- ``assignee=folders/123``
2888-
- ``assignee=organizations/456``
2886+
- ``assignee=projects/myproject``
2887+
- ``assignee=folders/123``
2888+
- ``assignee=organizations/456``
28892889
28902890
This corresponds to the ``query`` field
28912891
on the ``request`` instance; if ``request`` is provided, this
@@ -3051,9 +3051,9 @@ def sample_search_all_assignments():
30513051
30523052
Examples:
30533053
3054-
- ``assignee=projects/myproject``
3055-
- ``assignee=folders/123``
3056-
- ``assignee=organizations/456``
3054+
- ``assignee=projects/myproject``
3055+
- ``assignee=folders/123``
3056+
- ``assignee=organizations/456``
30573057
30583058
This corresponds to the ``query`` field
30593059
on the ``request`` instance; if ``request`` is provided, this

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

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -763,11 +763,11 @@ def create_assignment(
763763
764764
Example:
765765
766-
- The organization ``organizationA`` contains two projects,
767-
``project1`` and ``project2``.
768-
- Assignments for all three entities (``organizationA``,
769-
``project1``, and ``project2``) could all be created and
770-
mapped to the same or different reservations.
766+
- The organization ``organizationA`` contains two projects,
767+
``project1`` and ``project2``.
768+
- Assignments for all three entities (``organizationA``,
769+
``project1``, and ``project2``) could all be created and
770+
mapped to the same or different reservations.
771771
772772
"None" assignments represent an absence of the assignment.
773773
Projects assigned to None use on-demand pricing. To create a
@@ -814,12 +814,12 @@ def list_assignments(
814814
815815
Example:
816816
817-
- Organization ``organizationA`` contains two projects,
818-
``project1`` and ``project2``.
819-
- Reservation ``res1`` exists and was created previously.
820-
- CreateAssignment was used previously to define the following
821-
associations between entities and reservations:
822-
``<organizationA, res1>`` and ``<project1, res1>``
817+
- Organization ``organizationA`` contains two projects,
818+
``project1`` and ``project2``.
819+
- Reservation ``res1`` exists and was created previously.
820+
- CreateAssignment was used previously to define the following
821+
associations between entities and reservations:
822+
``<organizationA, res1>`` and ``<project1, res1>``
823823
824824
In this example, ListAssignments will just return the above two
825825
assignments for reservation ``res1``, and no expansion/merge
@@ -859,12 +859,12 @@ def delete_assignment(
859859
860860
Example:
861861
862-
- Organization ``organizationA`` contains two projects,
863-
``project1`` and ``project2``.
864-
- Reservation ``res1`` exists and was created previously.
865-
- CreateAssignment was used previously to define the following
866-
associations between entities and reservations:
867-
``<organizationA, res1>`` and ``<project1, res1>``
862+
- Organization ``organizationA`` contains two projects,
863+
``project1`` and ``project2``.
864+
- Reservation ``res1`` exists and was created previously.
865+
- CreateAssignment was used previously to define the following
866+
associations between entities and reservations:
867+
``<organizationA, res1>`` and ``<project1, res1>``
868868
869869
In this example, deletion of the ``<organizationA, res1>``
870870
assignment won't affect the other assignment

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

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -786,11 +786,11 @@ def create_assignment(
786786
787787
Example:
788788
789-
- The organization ``organizationA`` contains two projects,
790-
``project1`` and ``project2``.
791-
- Assignments for all three entities (``organizationA``,
792-
``project1``, and ``project2``) could all be created and
793-
mapped to the same or different reservations.
789+
- The organization ``organizationA`` contains two projects,
790+
``project1`` and ``project2``.
791+
- Assignments for all three entities (``organizationA``,
792+
``project1``, and ``project2``) could all be created and
793+
mapped to the same or different reservations.
794794
795795
"None" assignments represent an absence of the assignment.
796796
Projects assigned to None use on-demand pricing. To create a
@@ -838,12 +838,12 @@ def list_assignments(
838838
839839
Example:
840840
841-
- Organization ``organizationA`` contains two projects,
842-
``project1`` and ``project2``.
843-
- Reservation ``res1`` exists and was created previously.
844-
- CreateAssignment was used previously to define the following
845-
associations between entities and reservations:
846-
``<organizationA, res1>`` and ``<project1, res1>``
841+
- Organization ``organizationA`` contains two projects,
842+
``project1`` and ``project2``.
843+
- Reservation ``res1`` exists and was created previously.
844+
- CreateAssignment was used previously to define the following
845+
associations between entities and reservations:
846+
``<organizationA, res1>`` and ``<project1, res1>``
847847
848848
In this example, ListAssignments will just return the above two
849849
assignments for reservation ``res1``, and no expansion/merge
@@ -883,12 +883,12 @@ def delete_assignment(
883883
884884
Example:
885885
886-
- Organization ``organizationA`` contains two projects,
887-
``project1`` and ``project2``.
888-
- Reservation ``res1`` exists and was created previously.
889-
- CreateAssignment was used previously to define the following
890-
associations between entities and reservations:
891-
``<organizationA, res1>`` and ``<project1, res1>``
886+
- Organization ``organizationA`` contains two projects,
887+
``project1`` and ``project2``.
888+
- Reservation ``res1`` exists and was created previously.
889+
- CreateAssignment was used previously to define the following
890+
associations between entities and reservations:
891+
``<organizationA, res1>`` and ``<project1, res1>``
892892
893893
In this example, deletion of the ``<organizationA, res1>``
894894
assignment won't affect the other assignment

packages/google-cloud-bigquery-reservation/google/cloud/bigquery_reservation_v1/types/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
DeleteCapacityCommitmentRequest,
2525
DeleteReservationRequest,
2626
Edition,
27+
FailoverMode,
2728
FailoverReservationRequest,
2829
GetBiReservationRequest,
2930
GetCapacityCommitmentRequest,
@@ -85,4 +86,5 @@
8586
"UpdateCapacityCommitmentRequest",
8687
"UpdateReservationRequest",
8788
"Edition",
89+
"FailoverMode",
8890
)

0 commit comments

Comments
 (0)