google-cloud-bigquery-reservation-v1 1.13.0 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +0 -4
- data/lib/google/cloud/bigquery/reservation/v1/reservation_pb.rb +2 -1
- data/lib/google/cloud/bigquery/reservation/v1/reservation_service/client.rb +94 -0
- data/lib/google/cloud/bigquery/reservation/v1/reservation_service/rest/client.rb +87 -0
- data/lib/google/cloud/bigquery/reservation/v1/reservation_service/rest/service_stub.rb +62 -0
- data/lib/google/cloud/bigquery/reservation/v1/reservation_services_pb.rb +2 -0
- data/lib/google/cloud/bigquery/reservation/v1/version.rb +1 -1
- data/proto_docs/google/cloud/bigquery/reservation/v1/reservation.rb +47 -5
- metadata +5 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 833533bb08782a49cb5cdb82c05518665c85d432bcf55d91fc8a3ab6aa9f0ffd
|
|
4
|
+
data.tar.gz: 94d8ef75afb976007a0cf8071fe2d0f0ad25c29f20b58b3823783de0440e6fe1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ece146614c61938d212c2ed375d3433b6d20b2e682aaa43aa45fbc08de269ee2dd84c8bcb2d20d312f6db1dbb755a114907d2a8f4ea959a747b41d34a947c16b
|
|
7
|
+
data.tar.gz: 95cf37b56d21ecadfb4f5c84a059a6b207326a2b2a8d383e19d690aefeb63646b8a656cc92f5f6a5f45d48166fafd3ff977d31c341a54f81d357f982911e7183
|
data/README.md
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
A service to modify your BigQuery reservations.
|
|
4
4
|
|
|
5
|
-
The BigQuery Reservation API provides the mechanisms by which enterprise users can provision and manage dedicated resources such as slots and BigQuery BI Engine memory allocations.
|
|
6
5
|
|
|
7
6
|
https://github.com/googleapis/google-cloud-ruby
|
|
8
7
|
|
|
@@ -40,9 +39,6 @@ response = client.create_reservation request
|
|
|
40
39
|
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-bigquery-reservation-v1/latest)
|
|
41
40
|
for class and method documentation.
|
|
42
41
|
|
|
43
|
-
See also the [Product Documentation](https://cloud.google.com/bigquery/docs/reference/reservations)
|
|
44
|
-
for general usage information.
|
|
45
|
-
|
|
46
42
|
## Debug Logging
|
|
47
43
|
|
|
48
44
|
This library comes with opt-in Debug Logging that can help you troubleshoot
|
|
@@ -17,7 +17,7 @@ require 'google/rpc/status_pb'
|
|
|
17
17
|
require 'google/type/expr_pb'
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
descriptor_data = "\n6google/cloud/bigquery/reservation/v1/reservation.proto\x12$google.cloud.bigquery.reservation.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\x1a\x16google/type/expr.proto\"\xfc\x0c\n\x0bReservation\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x1a\n\rslot_capacity\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01\x12\x1e\n\x11ignore_idle_slots\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12S\n\tautoscale\x18\x07 \x01(\x0b\x32;.google.cloud.bigquery.reservation.v1.Reservation.AutoscaleB\x03\xe0\x41\x01\x12\x18\n\x0b\x63oncurrency\x18\x10 \x01(\x03\x42\x03\xe0\x41\x01\x12\x36\n\rcreation_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\"\n\x16multi_region_auxiliary\x18\x0e \x01(\x08\x42\x02\x18\x01\x12\x43\n\x07\x65\x64ition\x18\x11 \x01(\x0e\x32-.google.cloud.bigquery.reservation.v1.EditionB\x03\xe0\x41\x01\x12\x43\n\x10primary_location\x18\x12 \x01(\tB)\xe0\x41\x03\xfa\x41#\n!locations.googleapis.com/Location\x12\x45\n\x12secondary_location\x18\x13 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!locations.googleapis.com/Location\x12L\n\x19original_primary_location\x18\x14 \x01(\tB)\xe0\x41\x03\xfa\x41#\n!locations.googleapis.com/Location\x12\x1b\n\tmax_slots\x18\x15 \x01(\x03\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12X\n\x0cscaling_mode\x18\x16 \x01(\x0e\x32=.google.cloud.bigquery.reservation.v1.Reservation.ScalingModeB\x03\xe0\x41\x01\x12R\n\x06labels\x18\x17 \x03(\x0b\x32=.google.cloud.bigquery.reservation.v1.Reservation.LabelsEntryB\x03\xe0\x41\x01\x12\x1e\n\x11reservation_group\x18\x19 \x01(\tB\x03\xe0\x41\x01\x12\x64\n\x12replication_status\x18\x18 \x01(\x0b\x32\x43.google.cloud.bigquery.reservation.v1.Reservation.ReplicationStatusB\x03\xe0\x41\x03\x12V\n\x11scheduling_policy\x18\x1b \x01(\x0b\x32\x36.google.cloud.bigquery.reservation.v1.SchedulingPolicyB\x03\xe0\x41\x01\x1a?\n\tAutoscale\x12\x1a\n\rcurrent_slots\x18\x01 \x01(\x03\x42\x03\xe0\x41\x03\x12\x16\n\tmax_slots\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01\x1a\xf8\x01\n\x11ReplicationStatus\x12&\n\x05\x65rror\x18\x01 \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12\x38\n\x0flast_error_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12>\n\x15last_replication_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x41\n\x18soft_failover_start_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"c\n\x0bScalingMode\x12\x1c\n\x18SCALING_MODE_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x41UTOSCALE_ONLY\x10\x01\x12\x13\n\x0fIDLE_SLOTS_ONLY\x10\x02\x12\r\n\tALL_SLOTS\x10\x03:w\xea\x41t\n.bigqueryreservation.googleapis.com/Reservation\x12\x42projects/{project}/locations/{location}/reservations/{reservation}B\x0c\n\n_max_slots\"l\n\x10SchedulingPolicy\x12\x1d\n\x0b\x63oncurrency\x18\x01 \x01(\x03\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x1b\n\tmax_slots\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x42\x0e\n\x0c_concurrencyB\x0c\n\n_max_slots\"\xd5\x01\n\x10ReservationGroup\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08:\xad\x01\xea\x41\xa9\x01\n3bigqueryreservation.googleapis.com/ReservationGroup\x12Mprojects/{project}/locations/{location}/reservationGroups/{reservation_group}*\x11reservationGroups2\x10reservationGroup\"\xaa\x08\n\x12\x43\x61pacityCommitment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nslot_count\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01\x12Z\n\x04plan\x18\x03 \x01(\x0e\x32G.google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlanB\x03\xe0\x41\x01\x12R\n\x05state\x18\x04 \x01(\x0e\x32>.google.cloud.bigquery.reservation.v1.CapacityCommitment.StateB\x03\xe0\x41\x03\x12>\n\x15\x63ommitment_start_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12<\n\x13\x63ommitment_end_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12/\n\x0e\x66\x61ilure_status\x18\x07 \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12\x62\n\x0crenewal_plan\x18\x08 \x01(\x0e\x32G.google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlanB\x03\xe0\x41\x01\x12\"\n\x16multi_region_auxiliary\x18\n \x01(\x08\x42\x02\x18\x01\x12\x43\n\x07\x65\x64ition\x18\x0c \x01(\x0e\x32-.google.cloud.bigquery.reservation.v1.EditionB\x03\xe0\x41\x01\x12\x19\n\x0cis_flat_rate\x18\x0e \x01(\x08\x42\x03\xe0\x41\x03\"\xca\x01\n\x0e\x43ommitmentPlan\x12\x1f\n\x1b\x43OMMITMENT_PLAN_UNSPECIFIED\x10\x00\x12\x08\n\x04\x46LEX\x10\x03\x12\x16\n\x0e\x46LEX_FLAT_RATE\x10\x07\x1a\x02\x08\x01\x12\r\n\x05TRIAL\x10\x05\x1a\x02\x08\x01\x12\x0b\n\x07MONTHLY\x10\x02\x12\x19\n\x11MONTHLY_FLAT_RATE\x10\x08\x1a\x02\x08\x01\x12\n\n\x06\x41NNUAL\x10\x04\x12\x18\n\x10\x41NNUAL_FLAT_RATE\x10\t\x1a\x02\x08\x01\x12\x0e\n\nTHREE_YEAR\x10\n\x12\x08\n\x04NONE\x10\x06\"C\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03:\x8e\x01\xea\x41\x8a\x01\n5bigqueryreservation.googleapis.com/CapacityCommitment\x12Qprojects/{project}/locations/{location}/capacityCommitments/{capacity_commitment}\"\xc2\x01\n\x18\x43reateReservationRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\x12.bigqueryreservation.googleapis.com/Reservation\x12\x16\n\x0ereservation_id\x18\x02 \x01(\t\x12\x46\n\x0breservation\x18\x03 \x01(\x0b\x32\x31.google.cloud.bigquery.reservation.v1.Reservation\"\x88\x01\n\x17ListReservationsRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\x12.bigqueryreservation.googleapis.com/Reservation\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"|\n\x18ListReservationsResponse\x12G\n\x0creservations\x18\x01 \x03(\x0b\x32\x31.google.cloud.bigquery.reservation.v1.Reservation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"]\n\x15GetReservationRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.bigqueryreservation.googleapis.com/Reservation\"`\n\x18\x44\x65leteReservationRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.bigqueryreservation.googleapis.com/Reservation\"\x93\x01\n\x18UpdateReservationRequest\x12\x46\n\x0breservation\x18\x01 \x01(\x0b\x32\x31.google.cloud.bigquery.reservation.v1.Reservation\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xb2\x01\n\x1a\x46\x61iloverReservationRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.bigqueryreservation.googleapis.com/Reservation\x12N\n\rfailover_mode\x18\x02 \x01(\x0e\x32\x32.google.cloud.bigquery.reservation.v1.FailoverModeB\x03\xe0\x41\x01\"\xe7\x01\n\x1d\x43reateReservationGroupRequest\x12K\n\x06parent\x18\x01 \x01(\tB;\xe0\x41\x02\xfa\x41\x35\x12\x33\x62igqueryreservation.googleapis.com/ReservationGroup\x12!\n\x14reservation_group_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12V\n\x11reservation_group\x18\x03 \x01(\x0b\x32\x36.google.cloud.bigquery.reservation.v1.ReservationGroupB\x03\xe0\x41\x02\"g\n\x1aGetReservationGroupRequest\x12I\n\x04name\x18\x01 \x01(\tB;\xe0\x41\x02\xfa\x41\x35\n3bigqueryreservation.googleapis.com/ReservationGroup\"\x92\x01\n\x1cListReservationGroupsRequest\x12K\n\x06parent\x18\x01 \x01(\tB;\xe0\x41\x02\xfa\x41\x35\x12\x33\x62igqueryreservation.googleapis.com/ReservationGroup\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x8c\x01\n\x1dListReservationGroupsResponse\x12R\n\x12reservation_groups\x18\x01 \x03(\x0b\x32\x36.google.cloud.bigquery.reservation.v1.ReservationGroup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"j\n\x1d\x44\x65leteReservationGroupRequest\x12I\n\x04name\x18\x01 \x01(\tB;\xe0\x41\x02\xfa\x41\x35\n3bigqueryreservation.googleapis.com/ReservationGroup\"\x95\x02\n\x1f\x43reateCapacityCommitmentRequest\x12M\n\x06parent\x18\x01 \x01(\tB=\xe0\x41\x02\xfa\x41\x37\x12\x35\x62igqueryreservation.googleapis.com/CapacityCommitment\x12U\n\x13\x63\x61pacity_commitment\x18\x02 \x01(\x0b\x32\x38.google.cloud.bigquery.reservation.v1.CapacityCommitment\x12,\n$enforce_single_admin_project_per_org\x18\x04 \x01(\x08\x12\x1e\n\x16\x63\x61pacity_commitment_id\x18\x05 \x01(\t\"\x96\x01\n\x1eListCapacityCommitmentsRequest\x12M\n\x06parent\x18\x01 \x01(\tB=\xe0\x41\x02\xfa\x41\x37\x12\x35\x62igqueryreservation.googleapis.com/CapacityCommitment\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x92\x01\n\x1fListCapacityCommitmentsResponse\x12V\n\x14\x63\x61pacity_commitments\x18\x01 \x03(\x0b\x32\x38.google.cloud.bigquery.reservation.v1.CapacityCommitment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"k\n\x1cGetCapacityCommitmentRequest\x12K\n\x04name\x18\x01 \x01(\tB=\xe0\x41\x02\xfa\x41\x37\n5bigqueryreservation.googleapis.com/CapacityCommitment\"}\n\x1f\x44\x65leteCapacityCommitmentRequest\x12K\n\x04name\x18\x01 \x01(\tB=\xe0\x41\x02\xfa\x41\x37\n5bigqueryreservation.googleapis.com/CapacityCommitment\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\"\xa9\x01\n\x1fUpdateCapacityCommitmentRequest\x12U\n\x13\x63\x61pacity_commitment\x18\x01 \x01(\x0b\x32\x38.google.cloud.bigquery.reservation.v1.CapacityCommitment\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\x81\x01\n\x1eSplitCapacityCommitmentRequest\x12K\n\x04name\x18\x01 \x01(\tB=\xe0\x41\x02\xfa\x41\x37\n5bigqueryreservation.googleapis.com/CapacityCommitment\x12\x12\n\nslot_count\x18\x02 \x01(\x03\"\xb4\x01\n\x1fSplitCapacityCommitmentResponse\x12G\n\x05\x66irst\x18\x01 \x01(\x0b\x32\x38.google.cloud.bigquery.reservation.v1.CapacityCommitment\x12H\n\x06second\x18\x02 \x01(\x0b\x32\x38.google.cloud.bigquery.reservation.v1.CapacityCommitment\"\xb3\x01\n\x1fMergeCapacityCommitmentsRequest\x12J\n\x06parent\x18\x01 \x01(\tB:\xfa\x41\x37\x12\x35\x62igqueryreservation.googleapis.com/CapacityCommitment\x12\x1f\n\x17\x63\x61pacity_commitment_ids\x18\x02 \x03(\t\x12#\n\x16\x63\x61pacity_commitment_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xf5\x06\n\nAssignment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08\x61ssignee\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12O\n\x08job_type\x18\x03 \x01(\x0e\x32\x38.google.cloud.bigquery.reservation.v1.Assignment.JobTypeB\x03\xe0\x41\x01\x12J\n\x05state\x18\x06 \x01(\x0e\x32\x36.google.cloud.bigquery.reservation.v1.Assignment.StateB\x03\xe0\x41\x03\x12(\n\x19\x65nable_gemini_in_bigquery\x18\n \x01(\x08\x42\x05\x18\x01\xe0\x41\x01\x12V\n\x11scheduling_policy\x18\x0b \x01(\x0b\x32\x36.google.cloud.bigquery.reservation.v1.SchedulingPolicyB\x03\xe0\x41\x01\x12\x16\n\tprincipal\x18\x0c \x01(\tB\x03\xe0\x41\x01\x12\x17\n\nprecedence\x18\r \x01(\x03\x42\x03\xe0\x41\x01\x12)\n\tcondition\x18\x0e \x01(\x0b\x32\x11.google.type.ExprB\x03\xe0\x41\x01\"\xdc\x01\n\x07JobType\x12\x18\n\x14JOB_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08PIPELINE\x10\x01\x12\t\n\x05QUERY\x10\x02\x12\x0f\n\x0bML_EXTERNAL\x10\x03\x12\x0e\n\nBACKGROUND\x10\x04\x12\x0e\n\nCONTINUOUS\x10\x06\x12\"\n\x1e\x42\x41\x43KGROUND_CHANGE_DATA_CAPTURE\x10\x07\x12$\n BACKGROUND_COLUMN_METADATA_INDEX\x10\x08\x12#\n\x1f\x42\x41\x43KGROUND_SEARCH_INDEX_REFRESH\x10\t\"7\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02:\xa9\x01\xea\x41\xa5\x01\n-bigqueryreservation.googleapis.com/Assignment\x12[projects/{project}/locations/{location}/reservations/{reservation}/assignments/{assignment}*\x0b\x61ssignments2\nassignment\"\xbd\x01\n\x17\x43reateAssignmentRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\x12-bigqueryreservation.googleapis.com/Assignment\x12\x44\n\nassignment\x18\x02 \x01(\x0b\x32\x30.google.cloud.bigquery.reservation.v1.Assignment\x12\x15\n\rassignment_id\x18\x04 \x01(\t\"\x86\x01\n\x16ListAssignmentsRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\x12-bigqueryreservation.googleapis.com/Assignment\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"y\n\x17ListAssignmentsResponse\x12\x45\n\x0b\x61ssignments\x18\x01 \x03(\x0b\x32\x30.google.cloud.bigquery.reservation.v1.Assignment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"^\n\x17\x44\x65leteAssignmentRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-bigqueryreservation.googleapis.com/Assignment\"\x8b\x01\n\x18SearchAssignmentsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\r\n\x05query\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"\x8e\x01\n\x1bSearchAllAssignmentsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\r\n\x05query\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"{\n\x19SearchAssignmentsResponse\x12\x45\n\x0b\x61ssignments\x18\x01 \x03(\x0b\x32\x30.google.cloud.bigquery.reservation.v1.Assignment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"~\n\x1cSearchAllAssignmentsResponse\x12\x45\n\x0b\x61ssignments\x18\x01 \x03(\x0b\x32\x30.google.cloud.bigquery.reservation.v1.Assignment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xbf\x01\n\x15MoveAssignmentRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-bigqueryreservation.googleapis.com/Assignment\x12J\n\x0e\x64\x65stination_id\x18\x03 \x01(\tB2\xfa\x41/\x12-bigqueryreservation.googleapis.com/Assignment\x12\x15\n\rassignment_id\x18\x05 \x01(\t\"\x90\x01\n\x17UpdateAssignmentRequest\x12\x44\n\nassignment\x18\x01 \x01(\x0b\x32\x30.google.cloud.bigquery.reservation.v1.Assignment\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"Y\n\x0eTableReference\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\ndataset_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08table_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xae\x02\n\rBiReservation\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04size\x18\x04 \x01(\x03\x42\x03\xe0\x41\x01\x12S\n\x10preferred_tables\x18\x05 \x03(\x0b\x32\x34.google.cloud.bigquery.reservation.v1.TableReferenceB\x03\xe0\x41\x01:l\xea\x41i\n0bigqueryreservation.googleapis.com/BiReservation\x12\x35projects/{project}/locations/{location}/biReservation\"a\n\x17GetBiReservationRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0bigqueryreservation.googleapis.com/BiReservation\"\x9a\x01\n\x1aUpdateBiReservationRequest\x12K\n\x0e\x62i_reservation\x18\x01 \x01(\x0b\x32\x33.google.cloud.bigquery.reservation.v1.BiReservation\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask*U\n\x07\x45\x64ition\x12\x17\n\x13\x45\x44ITION_UNSPECIFIED\x10\x00\x12\x0c\n\x08STANDARD\x10\x01\x12\x0e\n\nENTERPRISE\x10\x02\x12\x13\n\x0f\x45NTERPRISE_PLUS\x10\x03*A\n\x0c\x46\x61iloverMode\x12\x1d\n\x19\x46\x41ILOVER_MODE_UNSPECIFIED\x10\x00\x12\x08\n\x04SOFT\x10\x01\x12\x08\n\x04HARD\x10\x02\x32\xa3\x36\n\x12ReservationService\x12\xf1\x01\n\x11\x43reateReservation\x12>.google.cloud.bigquery.reservation.v1.CreateReservationRequest\x1a\x31.google.cloud.bigquery.reservation.v1.Reservation\"i\xda\x41!parent,reservation,reservation_id\x82\xd3\xe4\x93\x02?\"0/v1/{parent=projects/*/locations/*}/reservations:\x0breservation\x12\xd4\x01\n\x10ListReservations\x12=.google.cloud.bigquery.reservation.v1.ListReservationsRequest\x1a>.google.cloud.bigquery.reservation.v1.ListReservationsResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/reservations\x12\xc1\x01\n\x0eGetReservation\x12;.google.cloud.bigquery.reservation.v1.GetReservationRequest\x1a\x31.google.cloud.bigquery.reservation.v1.Reservation\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/reservations/*}\x12\xac\x01\n\x11\x44\x65leteReservation\x12>.google.cloud.bigquery.reservation.v1.DeleteReservationRequest\x1a\x16.google.protobuf.Empty\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/reservations/*}\x12\xf3\x01\n\x11UpdateReservation\x12>.google.cloud.bigquery.reservation.v1.UpdateReservationRequest\x1a\x31.google.cloud.bigquery.reservation.v1.Reservation\"k\xda\x41\x17reservation,update_mask\x82\xd3\xe4\x93\x02K2</v1/{reservation.name=projects/*/locations/*/reservations/*}:\x0breservation\x12\xdb\x01\n\x13\x46\x61iloverReservation\x12@.google.cloud.bigquery.reservation.v1.FailoverReservationRequest\x1a\x31.google.cloud.bigquery.reservation.v1.Reservation\"O\x82\xd3\xe4\x93\x02I\"D/v1/{name=projects/*/locations/*/reservations/*}:failoverReservation:\x01*\x12\x8e\x02\n\x18\x43reateCapacityCommitment\x12\x45.google.cloud.bigquery.reservation.v1.CreateCapacityCommitmentRequest\x1a\x38.google.cloud.bigquery.reservation.v1.CapacityCommitment\"q\xda\x41\x1aparent,capacity_commitment\x82\xd3\xe4\x93\x02N\"7/v1/{parent=projects/*/locations/*}/capacityCommitments:\x13\x63\x61pacity_commitment\x12\xf0\x01\n\x17ListCapacityCommitments\x12\x44.google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsRequest\x1a\x45.google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsResponse\"H\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{parent=projects/*/locations/*}/capacityCommitments\x12\xdd\x01\n\x15GetCapacityCommitment\x12\x42.google.cloud.bigquery.reservation.v1.GetCapacityCommitmentRequest\x1a\x38.google.cloud.bigquery.reservation.v1.CapacityCommitment\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{name=projects/*/locations/*/capacityCommitments/*}\x12\xc1\x01\n\x18\x44\x65leteCapacityCommitment\x12\x45.google.cloud.bigquery.reservation.v1.DeleteCapacityCommitmentRequest\x1a\x16.google.protobuf.Empty\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39*7/v1/{name=projects/*/locations/*/capacityCommitments/*}\x12\xa8\x02\n\x18UpdateCapacityCommitment\x12\x45.google.cloud.bigquery.reservation.v1.UpdateCapacityCommitmentRequest\x1a\x38.google.cloud.bigquery.reservation.v1.CapacityCommitment\"\x8a\x01\xda\x41\x1f\x63\x61pacity_commitment,update_mask\x82\xd3\xe4\x93\x02\x62\x32K/v1/{capacity_commitment.name=projects/*/locations/*/capacityCommitments/*}:\x13\x63\x61pacity_commitment\x12\x82\x02\n\x17SplitCapacityCommitment\x12\x44.google.cloud.bigquery.reservation.v1.SplitCapacityCommitmentRequest\x1a\x45.google.cloud.bigquery.reservation.v1.SplitCapacityCommitmentResponse\"Z\xda\x41\x0fname,slot_count\x82\xd3\xe4\x93\x02\x42\"=/v1/{name=projects/*/locations/*/capacityCommitments/*}:split:\x01*\x12\x86\x02\n\x18MergeCapacityCommitments\x12\x45.google.cloud.bigquery.reservation.v1.MergeCapacityCommitmentsRequest\x1a\x38.google.cloud.bigquery.reservation.v1.CapacityCommitment\"i\xda\x41\x1eparent,capacity_commitment_ids\x82\xd3\xe4\x93\x02\x42\"=/v1/{parent=projects/*/locations/*}/capacityCommitments:merge:\x01*\x12\xeb\x01\n\x10\x43reateAssignment\x12=.google.cloud.bigquery.reservation.v1.CreateAssignmentRequest\x1a\x30.google.cloud.bigquery.reservation.v1.Assignment\"f\xda\x41\x11parent,assignment\x82\xd3\xe4\x93\x02L\">/v1/{parent=projects/*/locations/*/reservations/*}/assignments:\nassignment\x12\xdf\x01\n\x0fListAssignments\x12<.google.cloud.bigquery.reservation.v1.ListAssignmentsRequest\x1a=.google.cloud.bigquery.reservation.v1.ListAssignmentsResponse\"O\xda\x41\x06parent\x82\xd3\xe4\x93\x02@\x12>/v1/{parent=projects/*/locations/*/reservations/*}/assignments\x12\xb8\x01\n\x10\x44\x65leteAssignment\x12=.google.cloud.bigquery.reservation.v1.DeleteAssignmentRequest\x1a\x16.google.protobuf.Empty\"M\xda\x41\x04name\x82\xd3\xe4\x93\x02@*>/v1/{name=projects/*/locations/*/reservations/*/assignments/*}\x12\xe5\x01\n\x11SearchAssignments\x12>.google.cloud.bigquery.reservation.v1.SearchAssignmentsRequest\x1a?.google.cloud.bigquery.reservation.v1.SearchAssignmentsResponse\"O\x88\x02\x01\xda\x41\x0cparent,query\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{parent=projects/*/locations/*}:searchAssignments\x12\xee\x01\n\x14SearchAllAssignments\x12\x41.google.cloud.bigquery.reservation.v1.SearchAllAssignmentsRequest\x1a\x42.google.cloud.bigquery.reservation.v1.SearchAllAssignmentsResponse\"O\xda\x41\x0cparent,query\x82\xd3\xe4\x93\x02:\x12\x38/v1/{parent=projects/*/locations/*}:searchAllAssignments\x12\xe5\x01\n\x0eMoveAssignment\x12;.google.cloud.bigquery.reservation.v1.MoveAssignmentRequest\x1a\x30.google.cloud.bigquery.reservation.v1.Assignment\"d\xda\x41\x13name,destination_id\x82\xd3\xe4\x93\x02H\"C/v1/{name=projects/*/locations/*/reservations/*/assignments/*}:move:\x01*\x12\xfb\x01\n\x10UpdateAssignment\x12=.google.cloud.bigquery.reservation.v1.UpdateAssignmentRequest\x1a\x30.google.cloud.bigquery.reservation.v1.Assignment\"v\xda\x41\x16\x61ssignment,update_mask\x82\xd3\xe4\x93\x02W2I/v1/{assignment.name=projects/*/locations/*/reservations/*/assignments/*}:\nassignment\x12\xc6\x01\n\x10GetBiReservation\x12=.google.cloud.bigquery.reservation.v1.GetBiReservationRequest\x1a\x33.google.cloud.bigquery.reservation.v1.BiReservation\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/biReservation}\x12\x81\x02\n\x13UpdateBiReservation\x12@.google.cloud.bigquery.reservation.v1.UpdateBiReservationRequest\x1a\x33.google.cloud.bigquery.reservation.v1.BiReservation\"s\xda\x41\x1a\x62i_reservation,update_mask\x82\xd3\xe4\x93\x02P2>/v1/{bi_reservation.name=projects/*/locations/*/biReservation}:\x0e\x62i_reservation\x12\xf4\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\xa8\x01\xda\x41\x08resource\x82\xd3\xe4\x93\x02\x96\x01\x12\x41/v1/{resource=projects/*/locations/*/reservations/*}:getIamPolicyZQ\x12O/v1/{resource=projects/*/locations/*/reservations/*/assignments/*}:getIamPolicy\x12\x81\x02\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\xb5\x01\xda\x41\x0fresource,policy\x82\xd3\xe4\x93\x02\x9c\x01\"A/v1/{resource=projects/*/locations/*/reservations/*}:setIamPolicy:\x01*ZT\"O/v1/{resource=projects/*/locations/*/reservations/*/assignments/*}:setIamPolicy:\x01*\x12\x9b\x02\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"\xaf\x01\x82\xd3\xe4\x93\x02\xa8\x01\"G/v1/{resource=projects/*/locations/*/reservations/*}:testIamPermissions:\x01*ZZ\"U/v1/{resource=projects/*/locations/*/reservations/*/assignments/*}:testIamPermissions:\x01*\x12\xe7\x01\n\x16\x43reateReservationGroup\x12\x43.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest\x1a\x36.google.cloud.bigquery.reservation.v1.ReservationGroup\"P\x82\xd3\xe4\x93\x02J\"5/v1/{parent=projects/*/locations/*}/reservationGroups:\x11reservation_group\x12\xd5\x01\n\x13GetReservationGroup\x12@.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest\x1a\x36.google.cloud.bigquery.reservation.v1.ReservationGroup\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=projects/*/locations/*/reservationGroups/*}\x12\xbb\x01\n\x16\x44\x65leteReservationGroup\x12\x43.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest\x1a\x16.google.protobuf.Empty\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37*5/v1/{name=projects/*/locations/*/reservationGroups/*}\x12\xe8\x01\n\x15ListReservationGroups\x12\x42.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest\x1a\x43.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse\"F\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{parent=projects/*/locations/*}/reservationGroups\x1a\x7f\xca\x41\"bigqueryreservation.googleapis.com\xd2\x41Whttps://www.googleapis.com/auth/bigquery,https://www.googleapis.com/auth/cloud-platformB\xd8\x01\n(com.google.cloud.bigquery.reservation.v1B\x10ReservationProtoP\x01ZJcloud.google.com/go/bigquery/reservation/apiv1/reservationpb;reservationpb\xaa\x02$Google.Cloud.BigQuery.Reservation.V1\xca\x02$Google\\Cloud\\BigQuery\\Reservation\\V1b\x06proto3"
|
|
20
|
+
descriptor_data = "\n6google/cloud/bigquery/reservation/v1/reservation.proto\x12$google.cloud.bigquery.reservation.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\x1a\x16google/type/expr.proto\"\xa1\r\n\x0bReservation\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x1a\n\rslot_capacity\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01\x12\x1e\n\x11ignore_idle_slots\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12S\n\tautoscale\x18\x07 \x01(\x0b\x32;.google.cloud.bigquery.reservation.v1.Reservation.AutoscaleB\x03\xe0\x41\x01\x12\x18\n\x0b\x63oncurrency\x18\x10 \x01(\x03\x42\x03\xe0\x41\x01\x12\x36\n\rcreation_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\"\n\x16multi_region_auxiliary\x18\x0e \x01(\x08\x42\x02\x18\x01\x12\x43\n\x07\x65\x64ition\x18\x11 \x01(\x0e\x32-.google.cloud.bigquery.reservation.v1.EditionB\x03\xe0\x41\x01\x12\x43\n\x10primary_location\x18\x12 \x01(\tB)\xe0\x41\x03\xfa\x41#\n!locations.googleapis.com/Location\x12\x45\n\x12secondary_location\x18\x13 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!locations.googleapis.com/Location\x12L\n\x19original_primary_location\x18\x14 \x01(\tB)\xe0\x41\x03\xfa\x41#\n!locations.googleapis.com/Location\x12\x1b\n\tmax_slots\x18\x15 \x01(\x03\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12X\n\x0cscaling_mode\x18\x16 \x01(\x0e\x32=.google.cloud.bigquery.reservation.v1.Reservation.ScalingModeB\x03\xe0\x41\x01\x12R\n\x06labels\x18\x17 \x03(\x0b\x32=.google.cloud.bigquery.reservation.v1.Reservation.LabelsEntryB\x03\xe0\x41\x01\x12\x1e\n\x11reservation_group\x18\x19 \x01(\tB\x03\xe0\x41\x01\x12\x64\n\x12replication_status\x18\x18 \x01(\x0b\x32\x43.google.cloud.bigquery.reservation.v1.Reservation.ReplicationStatusB\x03\xe0\x41\x03\x12V\n\x11scheduling_policy\x18\x1b \x01(\x0b\x32\x36.google.cloud.bigquery.reservation.v1.SchedulingPolicyB\x03\xe0\x41\x01\x12#\n\x16reservation_group_path\x18\x1c \x03(\tB\x03\xe0\x41\x03\x1a?\n\tAutoscale\x12\x1a\n\rcurrent_slots\x18\x01 \x01(\x03\x42\x03\xe0\x41\x03\x12\x16\n\tmax_slots\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01\x1a\xf8\x01\n\x11ReplicationStatus\x12&\n\x05\x65rror\x18\x01 \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12\x38\n\x0flast_error_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12>\n\x15last_replication_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x41\n\x18soft_failover_start_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"c\n\x0bScalingMode\x12\x1c\n\x18SCALING_MODE_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x41UTOSCALE_ONLY\x10\x01\x12\x13\n\x0fIDLE_SLOTS_ONLY\x10\x02\x12\r\n\tALL_SLOTS\x10\x03:w\xea\x41t\n.bigqueryreservation.googleapis.com/Reservation\x12\x42projects/{project}/locations/{location}/reservations/{reservation}B\x0c\n\n_max_slots\"l\n\x10SchedulingPolicy\x12\x1d\n\x0b\x63oncurrency\x18\x01 \x01(\x03\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x1b\n\tmax_slots\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x42\x0e\n\x0c_concurrencyB\x0c\n\n_max_slots\"\x96\x03\n\x10ReservationGroup\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12Q\n\x0cparent_group\x18\x02 \x01(\tB;\xe0\x41\x01\xfa\x41\x35\x12\x33\x62igqueryreservation.googleapis.com/ReservationGroup\x12\x36\n\rcreation_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03:\xad\x01\xea\x41\xa9\x01\n3bigqueryreservation.googleapis.com/ReservationGroup\x12Mprojects/{project}/locations/{location}/reservationGroups/{reservation_group}*\x11reservationGroups2\x10reservationGroup\"\xae\x08\n\x12\x43\x61pacityCommitment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nslot_count\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01\x12Z\n\x04plan\x18\x03 \x01(\x0e\x32G.google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlanB\x03\xe0\x41\x01\x12R\n\x05state\x18\x04 \x01(\x0e\x32>.google.cloud.bigquery.reservation.v1.CapacityCommitment.StateB\x03\xe0\x41\x03\x12>\n\x15\x63ommitment_start_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12<\n\x13\x63ommitment_end_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12/\n\x0e\x66\x61ilure_status\x18\x07 \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12\x62\n\x0crenewal_plan\x18\x08 \x01(\x0e\x32G.google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlanB\x03\xe0\x41\x01\x12\"\n\x16multi_region_auxiliary\x18\n \x01(\x08\x42\x02\x18\x01\x12\x43\n\x07\x65\x64ition\x18\x0c \x01(\x0e\x32-.google.cloud.bigquery.reservation.v1.EditionB\x03\xe0\x41\x01\x12\x19\n\x0cis_flat_rate\x18\x0e \x01(\x08\x42\x03\xe0\x41\x03\"\xce\x01\n\x0e\x43ommitmentPlan\x12\x1f\n\x1b\x43OMMITMENT_PLAN_UNSPECIFIED\x10\x00\x12\x0c\n\x04\x46LEX\x10\x03\x1a\x02\x08\x01\x12\x16\n\x0e\x46LEX_FLAT_RATE\x10\x07\x1a\x02\x08\x01\x12\r\n\x05TRIAL\x10\x05\x1a\x02\x08\x01\x12\x0b\n\x07MONTHLY\x10\x02\x12\x19\n\x11MONTHLY_FLAT_RATE\x10\x08\x1a\x02\x08\x01\x12\n\n\x06\x41NNUAL\x10\x04\x12\x18\n\x10\x41NNUAL_FLAT_RATE\x10\t\x1a\x02\x08\x01\x12\x0e\n\nTHREE_YEAR\x10\n\x12\x08\n\x04NONE\x10\x06\"C\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03:\x8e\x01\xea\x41\x8a\x01\n5bigqueryreservation.googleapis.com/CapacityCommitment\x12Qprojects/{project}/locations/{location}/capacityCommitments/{capacity_commitment}\"\xc2\x01\n\x18\x43reateReservationRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\x12.bigqueryreservation.googleapis.com/Reservation\x12\x16\n\x0ereservation_id\x18\x02 \x01(\t\x12\x46\n\x0breservation\x18\x03 \x01(\x0b\x32\x31.google.cloud.bigquery.reservation.v1.Reservation\"\x88\x01\n\x17ListReservationsRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\x12.bigqueryreservation.googleapis.com/Reservation\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"|\n\x18ListReservationsResponse\x12G\n\x0creservations\x18\x01 \x03(\x0b\x32\x31.google.cloud.bigquery.reservation.v1.Reservation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"]\n\x15GetReservationRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.bigqueryreservation.googleapis.com/Reservation\"`\n\x18\x44\x65leteReservationRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.bigqueryreservation.googleapis.com/Reservation\"\x93\x01\n\x18UpdateReservationRequest\x12\x46\n\x0breservation\x18\x01 \x01(\x0b\x32\x31.google.cloud.bigquery.reservation.v1.Reservation\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xb2\x01\n\x1a\x46\x61iloverReservationRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.bigqueryreservation.googleapis.com/Reservation\x12N\n\rfailover_mode\x18\x02 \x01(\x0e\x32\x32.google.cloud.bigquery.reservation.v1.FailoverModeB\x03\xe0\x41\x01\"\xe7\x01\n\x1d\x43reateReservationGroupRequest\x12K\n\x06parent\x18\x01 \x01(\tB;\xe0\x41\x02\xfa\x41\x35\x12\x33\x62igqueryreservation.googleapis.com/ReservationGroup\x12!\n\x14reservation_group_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12V\n\x11reservation_group\x18\x03 \x01(\x0b\x32\x36.google.cloud.bigquery.reservation.v1.ReservationGroupB\x03\xe0\x41\x02\"g\n\x1aGetReservationGroupRequest\x12I\n\x04name\x18\x01 \x01(\tB;\xe0\x41\x02\xfa\x41\x35\n3bigqueryreservation.googleapis.com/ReservationGroup\"\x92\x01\n\x1cListReservationGroupsRequest\x12K\n\x06parent\x18\x01 \x01(\tB;\xe0\x41\x02\xfa\x41\x35\x12\x33\x62igqueryreservation.googleapis.com/ReservationGroup\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x8c\x01\n\x1dListReservationGroupsResponse\x12R\n\x12reservation_groups\x18\x01 \x03(\x0b\x32\x36.google.cloud.bigquery.reservation.v1.ReservationGroup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"j\n\x1d\x44\x65leteReservationGroupRequest\x12I\n\x04name\x18\x01 \x01(\tB;\xe0\x41\x02\xfa\x41\x35\n3bigqueryreservation.googleapis.com/ReservationGroup\"\xad\x01\n\x1dUpdateReservationGroupRequest\x12V\n\x11reservation_group\x18\x01 \x01(\x0b\x32\x36.google.cloud.bigquery.reservation.v1.ReservationGroupB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\x95\x02\n\x1f\x43reateCapacityCommitmentRequest\x12M\n\x06parent\x18\x01 \x01(\tB=\xe0\x41\x02\xfa\x41\x37\x12\x35\x62igqueryreservation.googleapis.com/CapacityCommitment\x12U\n\x13\x63\x61pacity_commitment\x18\x02 \x01(\x0b\x32\x38.google.cloud.bigquery.reservation.v1.CapacityCommitment\x12,\n$enforce_single_admin_project_per_org\x18\x04 \x01(\x08\x12\x1e\n\x16\x63\x61pacity_commitment_id\x18\x05 \x01(\t\"\x96\x01\n\x1eListCapacityCommitmentsRequest\x12M\n\x06parent\x18\x01 \x01(\tB=\xe0\x41\x02\xfa\x41\x37\x12\x35\x62igqueryreservation.googleapis.com/CapacityCommitment\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x92\x01\n\x1fListCapacityCommitmentsResponse\x12V\n\x14\x63\x61pacity_commitments\x18\x01 \x03(\x0b\x32\x38.google.cloud.bigquery.reservation.v1.CapacityCommitment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"k\n\x1cGetCapacityCommitmentRequest\x12K\n\x04name\x18\x01 \x01(\tB=\xe0\x41\x02\xfa\x41\x37\n5bigqueryreservation.googleapis.com/CapacityCommitment\"}\n\x1f\x44\x65leteCapacityCommitmentRequest\x12K\n\x04name\x18\x01 \x01(\tB=\xe0\x41\x02\xfa\x41\x37\n5bigqueryreservation.googleapis.com/CapacityCommitment\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\"\xa9\x01\n\x1fUpdateCapacityCommitmentRequest\x12U\n\x13\x63\x61pacity_commitment\x18\x01 \x01(\x0b\x32\x38.google.cloud.bigquery.reservation.v1.CapacityCommitment\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\x81\x01\n\x1eSplitCapacityCommitmentRequest\x12K\n\x04name\x18\x01 \x01(\tB=\xe0\x41\x02\xfa\x41\x37\n5bigqueryreservation.googleapis.com/CapacityCommitment\x12\x12\n\nslot_count\x18\x02 \x01(\x03\"\xb4\x01\n\x1fSplitCapacityCommitmentResponse\x12G\n\x05\x66irst\x18\x01 \x01(\x0b\x32\x38.google.cloud.bigquery.reservation.v1.CapacityCommitment\x12H\n\x06second\x18\x02 \x01(\x0b\x32\x38.google.cloud.bigquery.reservation.v1.CapacityCommitment\"\xb3\x01\n\x1fMergeCapacityCommitmentsRequest\x12J\n\x06parent\x18\x01 \x01(\tB:\xfa\x41\x37\x12\x35\x62igqueryreservation.googleapis.com/CapacityCommitment\x12\x1f\n\x17\x63\x61pacity_commitment_ids\x18\x02 \x03(\t\x12#\n\x16\x63\x61pacity_commitment_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x9e\x07\n\nAssignment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08\x61ssignee\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12O\n\x08job_type\x18\x03 \x01(\x0e\x32\x38.google.cloud.bigquery.reservation.v1.Assignment.JobTypeB\x03\xe0\x41\x01\x12J\n\x05state\x18\x06 \x01(\x0e\x32\x36.google.cloud.bigquery.reservation.v1.Assignment.StateB\x03\xe0\x41\x03\x12(\n\x19\x65nable_gemini_in_bigquery\x18\n \x01(\x08\x42\x05\x18\x01\xe0\x41\x01\x12V\n\x11scheduling_policy\x18\x0b \x01(\x0b\x32\x36.google.cloud.bigquery.reservation.v1.SchedulingPolicyB\x03\xe0\x41\x01\x12\x16\n\tprincipal\x18\x0c \x01(\tB\x03\xe0\x41\x01\x12\x17\n\nprecedence\x18\r \x01(\x03\x42\x03\xe0\x41\x01\x12)\n\tcondition\x18\x0e \x01(\x0b\x32\x11.google.type.ExprB\x03\xe0\x41\x01\"\x85\x02\n\x07JobType\x12\x18\n\x14JOB_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08PIPELINE\x10\x01\x12\t\n\x05QUERY\x10\x02\x12\x0f\n\x0bML_EXTERNAL\x10\x03\x12\x0e\n\nBACKGROUND\x10\x04\x12\x0e\n\nCONTINUOUS\x10\x06\x12\"\n\x1e\x42\x41\x43KGROUND_CHANGE_DATA_CAPTURE\x10\x07\x12$\n BACKGROUND_COLUMN_METADATA_INDEX\x10\x08\x12#\n\x1f\x42\x41\x43KGROUND_SEARCH_INDEX_REFRESH\x10\t\x12\'\n#AUTOMATIC_MATERIALIZED_VIEW_REFRESH\x10\n\"7\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02:\xa9\x01\xea\x41\xa5\x01\n-bigqueryreservation.googleapis.com/Assignment\x12[projects/{project}/locations/{location}/reservations/{reservation}/assignments/{assignment}*\x0b\x61ssignments2\nassignment\"\xbd\x01\n\x17\x43reateAssignmentRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\x12-bigqueryreservation.googleapis.com/Assignment\x12\x44\n\nassignment\x18\x02 \x01(\x0b\x32\x30.google.cloud.bigquery.reservation.v1.Assignment\x12\x15\n\rassignment_id\x18\x04 \x01(\t\"\x86\x01\n\x16ListAssignmentsRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\x12-bigqueryreservation.googleapis.com/Assignment\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"y\n\x17ListAssignmentsResponse\x12\x45\n\x0b\x61ssignments\x18\x01 \x03(\x0b\x32\x30.google.cloud.bigquery.reservation.v1.Assignment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"^\n\x17\x44\x65leteAssignmentRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-bigqueryreservation.googleapis.com/Assignment\"\x8b\x01\n\x18SearchAssignmentsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\r\n\x05query\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"\x8e\x01\n\x1bSearchAllAssignmentsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\r\n\x05query\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"{\n\x19SearchAssignmentsResponse\x12\x45\n\x0b\x61ssignments\x18\x01 \x03(\x0b\x32\x30.google.cloud.bigquery.reservation.v1.Assignment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"~\n\x1cSearchAllAssignmentsResponse\x12\x45\n\x0b\x61ssignments\x18\x01 \x03(\x0b\x32\x30.google.cloud.bigquery.reservation.v1.Assignment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xbf\x01\n\x15MoveAssignmentRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-bigqueryreservation.googleapis.com/Assignment\x12J\n\x0e\x64\x65stination_id\x18\x03 \x01(\tB2\xfa\x41/\x12-bigqueryreservation.googleapis.com/Assignment\x12\x15\n\rassignment_id\x18\x05 \x01(\t\"\x90\x01\n\x17UpdateAssignmentRequest\x12\x44\n\nassignment\x18\x01 \x01(\x0b\x32\x30.google.cloud.bigquery.reservation.v1.Assignment\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"Y\n\x0eTableReference\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\ndataset_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08table_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xae\x02\n\rBiReservation\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04size\x18\x04 \x01(\x03\x42\x03\xe0\x41\x01\x12S\n\x10preferred_tables\x18\x05 \x03(\x0b\x32\x34.google.cloud.bigquery.reservation.v1.TableReferenceB\x03\xe0\x41\x01:l\xea\x41i\n0bigqueryreservation.googleapis.com/BiReservation\x12\x35projects/{project}/locations/{location}/biReservation\"a\n\x17GetBiReservationRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0bigqueryreservation.googleapis.com/BiReservation\"\x9a\x01\n\x1aUpdateBiReservationRequest\x12K\n\x0e\x62i_reservation\x18\x01 \x01(\x0b\x32\x33.google.cloud.bigquery.reservation.v1.BiReservation\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask*U\n\x07\x45\x64ition\x12\x17\n\x13\x45\x44ITION_UNSPECIFIED\x10\x00\x12\x0c\n\x08STANDARD\x10\x01\x12\x0e\n\nENTERPRISE\x10\x02\x12\x13\n\x0f\x45NTERPRISE_PLUS\x10\x03*A\n\x0c\x46\x61iloverMode\x12\x1d\n\x19\x46\x41ILOVER_MODE_UNSPECIFIED\x10\x00\x12\x08\n\x04SOFT\x10\x01\x12\x08\n\x04HARD\x10\x02\x32\xc0\x38\n\x12ReservationService\x12\xf1\x01\n\x11\x43reateReservation\x12>.google.cloud.bigquery.reservation.v1.CreateReservationRequest\x1a\x31.google.cloud.bigquery.reservation.v1.Reservation\"i\xda\x41!parent,reservation,reservation_id\x82\xd3\xe4\x93\x02?\"0/v1/{parent=projects/*/locations/*}/reservations:\x0breservation\x12\xd4\x01\n\x10ListReservations\x12=.google.cloud.bigquery.reservation.v1.ListReservationsRequest\x1a>.google.cloud.bigquery.reservation.v1.ListReservationsResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/reservations\x12\xc1\x01\n\x0eGetReservation\x12;.google.cloud.bigquery.reservation.v1.GetReservationRequest\x1a\x31.google.cloud.bigquery.reservation.v1.Reservation\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/reservations/*}\x12\xac\x01\n\x11\x44\x65leteReservation\x12>.google.cloud.bigquery.reservation.v1.DeleteReservationRequest\x1a\x16.google.protobuf.Empty\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/reservations/*}\x12\xf3\x01\n\x11UpdateReservation\x12>.google.cloud.bigquery.reservation.v1.UpdateReservationRequest\x1a\x31.google.cloud.bigquery.reservation.v1.Reservation\"k\xda\x41\x17reservation,update_mask\x82\xd3\xe4\x93\x02K2</v1/{reservation.name=projects/*/locations/*/reservations/*}:\x0breservation\x12\xdb\x01\n\x13\x46\x61iloverReservation\x12@.google.cloud.bigquery.reservation.v1.FailoverReservationRequest\x1a\x31.google.cloud.bigquery.reservation.v1.Reservation\"O\x82\xd3\xe4\x93\x02I\"D/v1/{name=projects/*/locations/*/reservations/*}:failoverReservation:\x01*\x12\x8e\x02\n\x18\x43reateCapacityCommitment\x12\x45.google.cloud.bigquery.reservation.v1.CreateCapacityCommitmentRequest\x1a\x38.google.cloud.bigquery.reservation.v1.CapacityCommitment\"q\xda\x41\x1aparent,capacity_commitment\x82\xd3\xe4\x93\x02N\"7/v1/{parent=projects/*/locations/*}/capacityCommitments:\x13\x63\x61pacity_commitment\x12\xf0\x01\n\x17ListCapacityCommitments\x12\x44.google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsRequest\x1a\x45.google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsResponse\"H\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{parent=projects/*/locations/*}/capacityCommitments\x12\xdd\x01\n\x15GetCapacityCommitment\x12\x42.google.cloud.bigquery.reservation.v1.GetCapacityCommitmentRequest\x1a\x38.google.cloud.bigquery.reservation.v1.CapacityCommitment\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{name=projects/*/locations/*/capacityCommitments/*}\x12\xc1\x01\n\x18\x44\x65leteCapacityCommitment\x12\x45.google.cloud.bigquery.reservation.v1.DeleteCapacityCommitmentRequest\x1a\x16.google.protobuf.Empty\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39*7/v1/{name=projects/*/locations/*/capacityCommitments/*}\x12\xa8\x02\n\x18UpdateCapacityCommitment\x12\x45.google.cloud.bigquery.reservation.v1.UpdateCapacityCommitmentRequest\x1a\x38.google.cloud.bigquery.reservation.v1.CapacityCommitment\"\x8a\x01\xda\x41\x1f\x63\x61pacity_commitment,update_mask\x82\xd3\xe4\x93\x02\x62\x32K/v1/{capacity_commitment.name=projects/*/locations/*/capacityCommitments/*}:\x13\x63\x61pacity_commitment\x12\x82\x02\n\x17SplitCapacityCommitment\x12\x44.google.cloud.bigquery.reservation.v1.SplitCapacityCommitmentRequest\x1a\x45.google.cloud.bigquery.reservation.v1.SplitCapacityCommitmentResponse\"Z\xda\x41\x0fname,slot_count\x82\xd3\xe4\x93\x02\x42\"=/v1/{name=projects/*/locations/*/capacityCommitments/*}:split:\x01*\x12\x86\x02\n\x18MergeCapacityCommitments\x12\x45.google.cloud.bigquery.reservation.v1.MergeCapacityCommitmentsRequest\x1a\x38.google.cloud.bigquery.reservation.v1.CapacityCommitment\"i\xda\x41\x1eparent,capacity_commitment_ids\x82\xd3\xe4\x93\x02\x42\"=/v1/{parent=projects/*/locations/*}/capacityCommitments:merge:\x01*\x12\xeb\x01\n\x10\x43reateAssignment\x12=.google.cloud.bigquery.reservation.v1.CreateAssignmentRequest\x1a\x30.google.cloud.bigquery.reservation.v1.Assignment\"f\xda\x41\x11parent,assignment\x82\xd3\xe4\x93\x02L\">/v1/{parent=projects/*/locations/*/reservations/*}/assignments:\nassignment\x12\xdf\x01\n\x0fListAssignments\x12<.google.cloud.bigquery.reservation.v1.ListAssignmentsRequest\x1a=.google.cloud.bigquery.reservation.v1.ListAssignmentsResponse\"O\xda\x41\x06parent\x82\xd3\xe4\x93\x02@\x12>/v1/{parent=projects/*/locations/*/reservations/*}/assignments\x12\xb8\x01\n\x10\x44\x65leteAssignment\x12=.google.cloud.bigquery.reservation.v1.DeleteAssignmentRequest\x1a\x16.google.protobuf.Empty\"M\xda\x41\x04name\x82\xd3\xe4\x93\x02@*>/v1/{name=projects/*/locations/*/reservations/*/assignments/*}\x12\xe5\x01\n\x11SearchAssignments\x12>.google.cloud.bigquery.reservation.v1.SearchAssignmentsRequest\x1a?.google.cloud.bigquery.reservation.v1.SearchAssignmentsResponse\"O\x88\x02\x01\xda\x41\x0cparent,query\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{parent=projects/*/locations/*}:searchAssignments\x12\xee\x01\n\x14SearchAllAssignments\x12\x41.google.cloud.bigquery.reservation.v1.SearchAllAssignmentsRequest\x1a\x42.google.cloud.bigquery.reservation.v1.SearchAllAssignmentsResponse\"O\xda\x41\x0cparent,query\x82\xd3\xe4\x93\x02:\x12\x38/v1/{parent=projects/*/locations/*}:searchAllAssignments\x12\xe5\x01\n\x0eMoveAssignment\x12;.google.cloud.bigquery.reservation.v1.MoveAssignmentRequest\x1a\x30.google.cloud.bigquery.reservation.v1.Assignment\"d\xda\x41\x13name,destination_id\x82\xd3\xe4\x93\x02H\"C/v1/{name=projects/*/locations/*/reservations/*/assignments/*}:move:\x01*\x12\xfb\x01\n\x10UpdateAssignment\x12=.google.cloud.bigquery.reservation.v1.UpdateAssignmentRequest\x1a\x30.google.cloud.bigquery.reservation.v1.Assignment\"v\xda\x41\x16\x61ssignment,update_mask\x82\xd3\xe4\x93\x02W2I/v1/{assignment.name=projects/*/locations/*/reservations/*/assignments/*}:\nassignment\x12\xc6\x01\n\x10GetBiReservation\x12=.google.cloud.bigquery.reservation.v1.GetBiReservationRequest\x1a\x33.google.cloud.bigquery.reservation.v1.BiReservation\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/biReservation}\x12\x81\x02\n\x13UpdateBiReservation\x12@.google.cloud.bigquery.reservation.v1.UpdateBiReservationRequest\x1a\x33.google.cloud.bigquery.reservation.v1.BiReservation\"s\xda\x41\x1a\x62i_reservation,update_mask\x82\xd3\xe4\x93\x02P2>/v1/{bi_reservation.name=projects/*/locations/*/biReservation}:\x0e\x62i_reservation\x12\xf4\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\xa8\x01\xda\x41\x08resource\x82\xd3\xe4\x93\x02\x96\x01\x12\x41/v1/{resource=projects/*/locations/*/reservations/*}:getIamPolicyZQ\x12O/v1/{resource=projects/*/locations/*/reservations/*/assignments/*}:getIamPolicy\x12\x81\x02\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\xb5\x01\xda\x41\x0fresource,policy\x82\xd3\xe4\x93\x02\x9c\x01\"A/v1/{resource=projects/*/locations/*/reservations/*}:setIamPolicy:\x01*ZT\"O/v1/{resource=projects/*/locations/*/reservations/*/assignments/*}:setIamPolicy:\x01*\x12\x9b\x02\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"\xaf\x01\x82\xd3\xe4\x93\x02\xa8\x01\"G/v1/{resource=projects/*/locations/*/reservations/*}:testIamPermissions:\x01*ZZ\"U/v1/{resource=projects/*/locations/*/reservations/*/assignments/*}:testIamPermissions:\x01*\x12\xe7\x01\n\x16\x43reateReservationGroup\x12\x43.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest\x1a\x36.google.cloud.bigquery.reservation.v1.ReservationGroup\"P\x82\xd3\xe4\x93\x02J\"5/v1/{parent=projects/*/locations/*}/reservationGroups:\x11reservation_group\x12\xd5\x01\n\x13GetReservationGroup\x12@.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest\x1a\x36.google.cloud.bigquery.reservation.v1.ReservationGroup\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=projects/*/locations/*/reservationGroups/*}\x12\xbb\x01\n\x16\x44\x65leteReservationGroup\x12\x43.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest\x1a\x16.google.protobuf.Empty\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37*5/v1/{name=projects/*/locations/*/reservationGroups/*}\x12\xe8\x01\n\x15ListReservationGroups\x12\x42.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest\x1a\x43.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse\"F\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{parent=projects/*/locations/*}/reservationGroups\x12\x9a\x02\n\x16UpdateReservationGroup\x12\x43.google.cloud.bigquery.reservation.v1.UpdateReservationGroupRequest\x1a\x36.google.cloud.bigquery.reservation.v1.ReservationGroup\"\x82\x01\xda\x41\x1dreservation_group,update_mask\x82\xd3\xe4\x93\x02\\2G/v1/{reservation_group.name=projects/*/locations/*/reservationGroups/*}:\x11reservation_group\x1a\x7f\xca\x41\"bigqueryreservation.googleapis.com\xd2\x41Whttps://www.googleapis.com/auth/bigquery,https://www.googleapis.com/auth/cloud-platformB\xd8\x01\n(com.google.cloud.bigquery.reservation.v1B\x10ReservationProtoP\x01ZJcloud.google.com/go/bigquery/reservation/apiv1/reservationpb;reservationpb\xaa\x02$Google.Cloud.BigQuery.Reservation.V1\xca\x02$Google\\Cloud\\BigQuery\\Reservation\\V1b\x06proto3"
|
|
21
21
|
|
|
22
22
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
23
23
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -48,6 +48,7 @@ module Google
|
|
|
48
48
|
ListReservationGroupsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest").msgclass
|
|
49
49
|
ListReservationGroupsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse").msgclass
|
|
50
50
|
DeleteReservationGroupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest").msgclass
|
|
51
|
+
UpdateReservationGroupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.UpdateReservationGroupRequest").msgclass
|
|
51
52
|
CreateCapacityCommitmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.CreateCapacityCommitmentRequest").msgclass
|
|
52
53
|
ListCapacityCommitmentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsRequest").msgclass
|
|
53
54
|
ListCapacityCommitmentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsResponse").msgclass
|
|
@@ -3111,6 +3111,93 @@ module Google
|
|
|
3111
3111
|
raise ::Google::Cloud::Error.from_error(e)
|
|
3112
3112
|
end
|
|
3113
3113
|
|
|
3114
|
+
##
|
|
3115
|
+
# Updates an existing reservation group resource.
|
|
3116
|
+
#
|
|
3117
|
+
# @overload update_reservation_group(request, options = nil)
|
|
3118
|
+
# Pass arguments to `update_reservation_group` via a request object, either of type
|
|
3119
|
+
# {::Google::Cloud::Bigquery::Reservation::V1::UpdateReservationGroupRequest} or an equivalent Hash.
|
|
3120
|
+
#
|
|
3121
|
+
# @param request [::Google::Cloud::Bigquery::Reservation::V1::UpdateReservationGroupRequest, ::Hash]
|
|
3122
|
+
# A request object representing the call parameters. Required. To specify no
|
|
3123
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
3124
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3125
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
3126
|
+
#
|
|
3127
|
+
# @overload update_reservation_group(reservation_group: nil, update_mask: nil)
|
|
3128
|
+
# Pass arguments to `update_reservation_group` via keyword arguments. Note that at
|
|
3129
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3130
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
3131
|
+
#
|
|
3132
|
+
# @param reservation_group [::Google::Cloud::Bigquery::Reservation::V1::ReservationGroup, ::Hash]
|
|
3133
|
+
# Required. Content of the reservation group to update.
|
|
3134
|
+
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
|
3135
|
+
# Optional. Standard field mask for the set of fields to be updated.
|
|
3136
|
+
#
|
|
3137
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
|
3138
|
+
# @yieldparam response [::Google::Cloud::Bigquery::Reservation::V1::ReservationGroup]
|
|
3139
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
|
3140
|
+
#
|
|
3141
|
+
# @return [::Google::Cloud::Bigquery::Reservation::V1::ReservationGroup]
|
|
3142
|
+
#
|
|
3143
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
|
3144
|
+
#
|
|
3145
|
+
# @example Basic example
|
|
3146
|
+
# require "google/cloud/bigquery/reservation/v1"
|
|
3147
|
+
#
|
|
3148
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
3149
|
+
# client = Google::Cloud::Bigquery::Reservation::V1::ReservationService::Client.new
|
|
3150
|
+
#
|
|
3151
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
3152
|
+
# request = Google::Cloud::Bigquery::Reservation::V1::UpdateReservationGroupRequest.new
|
|
3153
|
+
#
|
|
3154
|
+
# # Call the update_reservation_group method.
|
|
3155
|
+
# result = client.update_reservation_group request
|
|
3156
|
+
#
|
|
3157
|
+
# # The returned object is of type Google::Cloud::Bigquery::Reservation::V1::ReservationGroup.
|
|
3158
|
+
# p result
|
|
3159
|
+
#
|
|
3160
|
+
def update_reservation_group request, options = nil
|
|
3161
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
3162
|
+
|
|
3163
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Bigquery::Reservation::V1::UpdateReservationGroupRequest
|
|
3164
|
+
|
|
3165
|
+
# Converts hash and nil to an options object
|
|
3166
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
3167
|
+
|
|
3168
|
+
# Customize the options with defaults
|
|
3169
|
+
metadata = @config.rpcs.update_reservation_group.metadata.to_h
|
|
3170
|
+
|
|
3171
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
3172
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
3173
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
3174
|
+
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION
|
|
3175
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
3176
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
3177
|
+
|
|
3178
|
+
header_params = {}
|
|
3179
|
+
if request.reservation_group&.name
|
|
3180
|
+
header_params["reservation_group.name"] = request.reservation_group.name
|
|
3181
|
+
end
|
|
3182
|
+
|
|
3183
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
|
3184
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
|
3185
|
+
|
|
3186
|
+
options.apply_defaults timeout: @config.rpcs.update_reservation_group.timeout,
|
|
3187
|
+
metadata: metadata,
|
|
3188
|
+
retry_policy: @config.rpcs.update_reservation_group.retry_policy
|
|
3189
|
+
|
|
3190
|
+
options.apply_defaults timeout: @config.timeout,
|
|
3191
|
+
metadata: @config.metadata,
|
|
3192
|
+
retry_policy: @config.retry_policy
|
|
3193
|
+
|
|
3194
|
+
@reservation_service_stub.call_rpc :update_reservation_group, request, options: options do |response, operation|
|
|
3195
|
+
yield response, operation if block_given?
|
|
3196
|
+
end
|
|
3197
|
+
rescue ::GRPC::BadStatus => e
|
|
3198
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
3199
|
+
end
|
|
3200
|
+
|
|
3114
3201
|
##
|
|
3115
3202
|
# Configuration class for the ReservationService API.
|
|
3116
3203
|
#
|
|
@@ -3441,6 +3528,11 @@ module Google
|
|
|
3441
3528
|
# @return [::Gapic::Config::Method]
|
|
3442
3529
|
#
|
|
3443
3530
|
attr_reader :list_reservation_groups
|
|
3531
|
+
##
|
|
3532
|
+
# RPC-specific configuration for `update_reservation_group`
|
|
3533
|
+
# @return [::Gapic::Config::Method]
|
|
3534
|
+
#
|
|
3535
|
+
attr_reader :update_reservation_group
|
|
3444
3536
|
|
|
3445
3537
|
# @private
|
|
3446
3538
|
def initialize parent_rpcs = nil
|
|
@@ -3502,6 +3594,8 @@ module Google
|
|
|
3502
3594
|
@delete_reservation_group = ::Gapic::Config::Method.new delete_reservation_group_config
|
|
3503
3595
|
list_reservation_groups_config = parent_rpcs.list_reservation_groups if parent_rpcs.respond_to? :list_reservation_groups
|
|
3504
3596
|
@list_reservation_groups = ::Gapic::Config::Method.new list_reservation_groups_config
|
|
3597
|
+
update_reservation_group_config = parent_rpcs.update_reservation_group if parent_rpcs.respond_to? :update_reservation_group
|
|
3598
|
+
@update_reservation_group = ::Gapic::Config::Method.new update_reservation_group_config
|
|
3505
3599
|
|
|
3506
3600
|
yield self if block_given?
|
|
3507
3601
|
end
|
|
@@ -2899,6 +2899,86 @@ module Google
|
|
|
2899
2899
|
raise ::Google::Cloud::Error.from_error(e)
|
|
2900
2900
|
end
|
|
2901
2901
|
|
|
2902
|
+
##
|
|
2903
|
+
# Updates an existing reservation group resource.
|
|
2904
|
+
#
|
|
2905
|
+
# @overload update_reservation_group(request, options = nil)
|
|
2906
|
+
# Pass arguments to `update_reservation_group` via a request object, either of type
|
|
2907
|
+
# {::Google::Cloud::Bigquery::Reservation::V1::UpdateReservationGroupRequest} or an equivalent Hash.
|
|
2908
|
+
#
|
|
2909
|
+
# @param request [::Google::Cloud::Bigquery::Reservation::V1::UpdateReservationGroupRequest, ::Hash]
|
|
2910
|
+
# A request object representing the call parameters. Required. To specify no
|
|
2911
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
2912
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
2913
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2914
|
+
#
|
|
2915
|
+
# @overload update_reservation_group(reservation_group: nil, update_mask: nil)
|
|
2916
|
+
# Pass arguments to `update_reservation_group` via keyword arguments. Note that at
|
|
2917
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
2918
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
2919
|
+
#
|
|
2920
|
+
# @param reservation_group [::Google::Cloud::Bigquery::Reservation::V1::ReservationGroup, ::Hash]
|
|
2921
|
+
# Required. Content of the reservation group to update.
|
|
2922
|
+
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
|
2923
|
+
# Optional. Standard field mask for the set of fields to be updated.
|
|
2924
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2925
|
+
# @yieldparam result [::Google::Cloud::Bigquery::Reservation::V1::ReservationGroup]
|
|
2926
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2927
|
+
#
|
|
2928
|
+
# @return [::Google::Cloud::Bigquery::Reservation::V1::ReservationGroup]
|
|
2929
|
+
#
|
|
2930
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
2931
|
+
#
|
|
2932
|
+
# @example Basic example
|
|
2933
|
+
# require "google/cloud/bigquery/reservation/v1"
|
|
2934
|
+
#
|
|
2935
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
2936
|
+
# client = Google::Cloud::Bigquery::Reservation::V1::ReservationService::Rest::Client.new
|
|
2937
|
+
#
|
|
2938
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
2939
|
+
# request = Google::Cloud::Bigquery::Reservation::V1::UpdateReservationGroupRequest.new
|
|
2940
|
+
#
|
|
2941
|
+
# # Call the update_reservation_group method.
|
|
2942
|
+
# result = client.update_reservation_group request
|
|
2943
|
+
#
|
|
2944
|
+
# # The returned object is of type Google::Cloud::Bigquery::Reservation::V1::ReservationGroup.
|
|
2945
|
+
# p result
|
|
2946
|
+
#
|
|
2947
|
+
def update_reservation_group request, options = nil
|
|
2948
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
2949
|
+
|
|
2950
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Bigquery::Reservation::V1::UpdateReservationGroupRequest
|
|
2951
|
+
|
|
2952
|
+
# Converts hash and nil to an options object
|
|
2953
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
2954
|
+
|
|
2955
|
+
# Customize the options with defaults
|
|
2956
|
+
call_metadata = @config.rpcs.update_reservation_group.metadata.to_h
|
|
2957
|
+
|
|
2958
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2959
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2960
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2961
|
+
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION,
|
|
2962
|
+
transports_version_send: [:rest]
|
|
2963
|
+
|
|
2964
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2965
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2966
|
+
|
|
2967
|
+
options.apply_defaults timeout: @config.rpcs.update_reservation_group.timeout,
|
|
2968
|
+
metadata: call_metadata,
|
|
2969
|
+
retry_policy: @config.rpcs.update_reservation_group.retry_policy
|
|
2970
|
+
|
|
2971
|
+
options.apply_defaults timeout: @config.timeout,
|
|
2972
|
+
metadata: @config.metadata,
|
|
2973
|
+
retry_policy: @config.retry_policy
|
|
2974
|
+
|
|
2975
|
+
@reservation_service_stub.update_reservation_group request, options do |result, operation|
|
|
2976
|
+
yield result, operation if block_given?
|
|
2977
|
+
end
|
|
2978
|
+
rescue ::Gapic::Rest::Error => e
|
|
2979
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
2980
|
+
end
|
|
2981
|
+
|
|
2902
2982
|
##
|
|
2903
2983
|
# Configuration class for the ReservationService REST API.
|
|
2904
2984
|
#
|
|
@@ -3192,6 +3272,11 @@ module Google
|
|
|
3192
3272
|
# @return [::Gapic::Config::Method]
|
|
3193
3273
|
#
|
|
3194
3274
|
attr_reader :list_reservation_groups
|
|
3275
|
+
##
|
|
3276
|
+
# RPC-specific configuration for `update_reservation_group`
|
|
3277
|
+
# @return [::Gapic::Config::Method]
|
|
3278
|
+
#
|
|
3279
|
+
attr_reader :update_reservation_group
|
|
3195
3280
|
|
|
3196
3281
|
# @private
|
|
3197
3282
|
def initialize parent_rpcs = nil
|
|
@@ -3253,6 +3338,8 @@ module Google
|
|
|
3253
3338
|
@delete_reservation_group = ::Gapic::Config::Method.new delete_reservation_group_config
|
|
3254
3339
|
list_reservation_groups_config = parent_rpcs.list_reservation_groups if parent_rpcs.respond_to? :list_reservation_groups
|
|
3255
3340
|
@list_reservation_groups = ::Gapic::Config::Method.new list_reservation_groups_config
|
|
3341
|
+
update_reservation_group_config = parent_rpcs.update_reservation_group if parent_rpcs.respond_to? :update_reservation_group
|
|
3342
|
+
@update_reservation_group = ::Gapic::Config::Method.new update_reservation_group_config
|
|
3256
3343
|
|
|
3257
3344
|
yield self if block_given?
|
|
3258
3345
|
end
|
|
@@ -1234,6 +1234,46 @@ module Google
|
|
|
1234
1234
|
end
|
|
1235
1235
|
end
|
|
1236
1236
|
|
|
1237
|
+
##
|
|
1238
|
+
# Baseline implementation for the update_reservation_group REST call
|
|
1239
|
+
#
|
|
1240
|
+
# @param request_pb [::Google::Cloud::Bigquery::Reservation::V1::UpdateReservationGroupRequest]
|
|
1241
|
+
# A request object representing the call parameters. Required.
|
|
1242
|
+
# @param options [::Gapic::CallOptions]
|
|
1243
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1244
|
+
#
|
|
1245
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1246
|
+
# @yieldparam result [::Google::Cloud::Bigquery::Reservation::V1::ReservationGroup]
|
|
1247
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
1248
|
+
#
|
|
1249
|
+
# @return [::Google::Cloud::Bigquery::Reservation::V1::ReservationGroup]
|
|
1250
|
+
# A result object deserialized from the server's reply
|
|
1251
|
+
def update_reservation_group request_pb, options = nil
|
|
1252
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
1253
|
+
|
|
1254
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_update_reservation_group_request request_pb
|
|
1255
|
+
query_string_params = if query_string_params.any?
|
|
1256
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1257
|
+
else
|
|
1258
|
+
{}
|
|
1259
|
+
end
|
|
1260
|
+
|
|
1261
|
+
response = @client_stub.make_http_request(
|
|
1262
|
+
verb,
|
|
1263
|
+
uri: uri,
|
|
1264
|
+
body: body || "",
|
|
1265
|
+
params: query_string_params,
|
|
1266
|
+
method_name: "update_reservation_group",
|
|
1267
|
+
options: options
|
|
1268
|
+
)
|
|
1269
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
1270
|
+
result = ::Google::Cloud::Bigquery::Reservation::V1::ReservationGroup.decode_json response.body, ignore_unknown_fields: true
|
|
1271
|
+
catch :response do
|
|
1272
|
+
yield result, operation if block_given?
|
|
1273
|
+
result
|
|
1274
|
+
end
|
|
1275
|
+
end
|
|
1276
|
+
|
|
1237
1277
|
##
|
|
1238
1278
|
# @private
|
|
1239
1279
|
#
|
|
@@ -1879,6 +1919,28 @@ module Google
|
|
|
1879
1919
|
)
|
|
1880
1920
|
transcoder.transcode request_pb
|
|
1881
1921
|
end
|
|
1922
|
+
|
|
1923
|
+
##
|
|
1924
|
+
# @private
|
|
1925
|
+
#
|
|
1926
|
+
# GRPC transcoding helper method for the update_reservation_group REST call
|
|
1927
|
+
#
|
|
1928
|
+
# @param request_pb [::Google::Cloud::Bigquery::Reservation::V1::UpdateReservationGroupRequest]
|
|
1929
|
+
# A request object representing the call parameters. Required.
|
|
1930
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
1931
|
+
# Uri, Body, Query string parameters
|
|
1932
|
+
def self.transcode_update_reservation_group_request request_pb
|
|
1933
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
1934
|
+
.with_bindings(
|
|
1935
|
+
uri_method: :patch,
|
|
1936
|
+
uri_template: "/v1/{reservation_group.name}",
|
|
1937
|
+
body: "reservation_group",
|
|
1938
|
+
matches: [
|
|
1939
|
+
["reservation_group.name", %r{^projects/[^/]+/locations/[^/]+/reservationGroups/[^/]+/?$}, false]
|
|
1940
|
+
]
|
|
1941
|
+
)
|
|
1942
|
+
transcoder.transcode request_pb
|
|
1943
|
+
end
|
|
1882
1944
|
end
|
|
1883
1945
|
end
|
|
1884
1946
|
end
|
|
@@ -286,6 +286,8 @@ module Google
|
|
|
286
286
|
rpc :DeleteReservationGroup, ::Google::Cloud::Bigquery::Reservation::V1::DeleteReservationGroupRequest, ::Google::Protobuf::Empty
|
|
287
287
|
# Lists all the reservation groups for the project in the specified location.
|
|
288
288
|
rpc :ListReservationGroups, ::Google::Cloud::Bigquery::Reservation::V1::ListReservationGroupsRequest, ::Google::Cloud::Bigquery::Reservation::V1::ListReservationGroupsResponse
|
|
289
|
+
# Updates an existing reservation group resource.
|
|
290
|
+
rpc :UpdateReservationGroup, ::Google::Cloud::Bigquery::Reservation::V1::UpdateReservationGroupRequest, ::Google::Cloud::Bigquery::Reservation::V1::ReservationGroup
|
|
289
291
|
end
|
|
290
292
|
|
|
291
293
|
Stub = Service.rpc_stub_class
|
|
@@ -184,6 +184,13 @@ module Google
|
|
|
184
184
|
# resources are distributed.
|
|
185
185
|
#
|
|
186
186
|
# This feature is not yet generally available.
|
|
187
|
+
# @!attribute [r] reservation_group_path
|
|
188
|
+
# @return [::Array<::String>]
|
|
189
|
+
# Output only. The reservation group path of the reservation from root to
|
|
190
|
+
# leaf. The order of elements matters: the first element is the top level
|
|
191
|
+
# group and the last element is the direct parent reservation group. For
|
|
192
|
+
# example, if a reservation is under group-1 -> group-2 -> group-3, then the
|
|
193
|
+
# reservation group path is ["group-1", "group-2", "group-3"].
|
|
187
194
|
class Reservation
|
|
188
195
|
include ::Google::Protobuf::MessageExts
|
|
189
196
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -328,6 +335,21 @@ module Google
|
|
|
328
335
|
# The reservation_group_id must only contain lower case alphanumeric
|
|
329
336
|
# characters or dashes. It must start with a letter and must not end with a
|
|
330
337
|
# dash. Its maximum length is 64 characters.
|
|
338
|
+
# @!attribute [rw] parent_group
|
|
339
|
+
# @return [::String]
|
|
340
|
+
# Optional. The parent reservation group of the reservation group.
|
|
341
|
+
# Format: `projects/*/locations/*/reservationGroups/team1-prod` for non-root
|
|
342
|
+
# reservation groups, or `projects/*/locations/*` for root reservation
|
|
343
|
+
# groups.
|
|
344
|
+
# @!attribute [r] creation_time
|
|
345
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
346
|
+
# Output only. Creation time of the reservation group.
|
|
347
|
+
# @!attribute [r] update_time
|
|
348
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
349
|
+
# Output only. Last update time of the reservation group via a user
|
|
350
|
+
# operation. This timestamp is updated only when an update operation
|
|
351
|
+
# explicitly targets this reservation group directly. It is not updated when
|
|
352
|
+
# parent or child groups are created, updated, or deleted.
|
|
331
353
|
class ReservationGroup
|
|
332
354
|
include ::Google::Protobuf::MessageExts
|
|
333
355
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -411,6 +433,8 @@ module Google
|
|
|
411
433
|
# error code `google.rpc.Code.INVALID_ARGUMENT`.
|
|
412
434
|
COMMITMENT_PLAN_UNSPECIFIED = 0
|
|
413
435
|
|
|
436
|
+
# Deprecated: Flex commitments are deprecated. Please use Edition-based
|
|
437
|
+
# capacity commitments.
|
|
414
438
|
# Flex commitments have committed period of 1 minute after becoming ACTIVE.
|
|
415
439
|
# After that, they are not in a committed period anymore and can be removed
|
|
416
440
|
# any time.
|
|
@@ -649,6 +673,19 @@ module Google
|
|
|
649
673
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
650
674
|
end
|
|
651
675
|
|
|
676
|
+
# The request for
|
|
677
|
+
# {::Google::Cloud::Bigquery::Reservation::V1::ReservationService::Client#update_reservation_group ReservationService.UpdateReservationGroup}.
|
|
678
|
+
# @!attribute [rw] reservation_group
|
|
679
|
+
# @return [::Google::Cloud::Bigquery::Reservation::V1::ReservationGroup]
|
|
680
|
+
# Required. Content of the reservation group to update.
|
|
681
|
+
# @!attribute [rw] update_mask
|
|
682
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
683
|
+
# Optional. Standard field mask for the set of fields to be updated.
|
|
684
|
+
class UpdateReservationGroupRequest
|
|
685
|
+
include ::Google::Protobuf::MessageExts
|
|
686
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
687
|
+
end
|
|
688
|
+
|
|
652
689
|
# The request for
|
|
653
690
|
# {::Google::Cloud::Bigquery::Reservation::V1::ReservationService::Client#create_capacity_commitment ReservationService.CreateCapacityCommitment}.
|
|
654
691
|
# @!attribute [rw] parent
|
|
@@ -833,10 +870,10 @@ module Google
|
|
|
833
870
|
# @!attribute [rw] principal
|
|
834
871
|
# @return [::String]
|
|
835
872
|
# Optional. Represents the principal for this assignment. If not empty, jobs
|
|
836
|
-
# run by this principal
|
|
837
|
-
#
|
|
838
|
-
#
|
|
839
|
-
#
|
|
873
|
+
# run by this principal utilize the associated reservation. Otherwise, jobs
|
|
874
|
+
# fall back to using the reservation assigned to the project, folder,
|
|
875
|
+
# or organization, in that order. If no reservation is assigned at any of
|
|
876
|
+
# these levels, on-demand capacity is used.
|
|
840
877
|
#
|
|
841
878
|
# The supported formats are:
|
|
842
879
|
#
|
|
@@ -846,7 +883,7 @@ module Google
|
|
|
846
883
|
# * `principal://iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID/subject/SUBJECT_ID`
|
|
847
884
|
# for workload identity pool identities.
|
|
848
885
|
# * The special value `unknown_or_deleted_user` represents principals which
|
|
849
|
-
# cannot be read from the user info service, for example deleted users.
|
|
886
|
+
# cannot be read from the user info service, for example, deleted users.
|
|
850
887
|
# @!attribute [rw] precedence
|
|
851
888
|
# @return [::Integer]
|
|
852
889
|
# Optional. Specifies the priority precedence for this assignment. Used to
|
|
@@ -904,6 +941,11 @@ module Google
|
|
|
904
941
|
# take priority over a default BACKGROUND reservation assignment (if it
|
|
905
942
|
# exists).
|
|
906
943
|
BACKGROUND_SEARCH_INDEX_REFRESH = 9
|
|
944
|
+
|
|
945
|
+
# Automated materialized view refresh jobs will use the reservation.
|
|
946
|
+
# Reservations with this job type will take priority over a default QUERY
|
|
947
|
+
# reservation assignment (if it exists).
|
|
948
|
+
AUTOMATIC_MATERIALIZED_VIEW_REFRESH = 10
|
|
907
949
|
end
|
|
908
950
|
|
|
909
951
|
# Assignment will remain in PENDING state if no active capacity commitment is
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-bigquery-reservation-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.14.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -51,11 +51,10 @@ dependencies:
|
|
|
51
51
|
- - "~>"
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
53
|
version: '1.11'
|
|
54
|
-
description:
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
instead. See the readme for more details.
|
|
54
|
+
description: A service to modify your BigQuery reservations. Note that google-cloud-bigquery-reservation-v1
|
|
55
|
+
is a version-specific client library. For most uses, we recommend installing the
|
|
56
|
+
main client library google-cloud-bigquery-reservation instead. See the readme for
|
|
57
|
+
more details.
|
|
59
58
|
email: googleapis-packages@google.com
|
|
60
59
|
executables: []
|
|
61
60
|
extensions: []
|