google-cloud-bigquery-reservation-v1 0.8.1 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/bigquery/reservation/v1/reservation_pb.rb +27 -196
- data/lib/google/cloud/bigquery/reservation/v1/reservation_service/client.rb +4 -2
- data/lib/google/cloud/bigquery/reservation/v1/reservation_service/rest/client.rb +4 -2
- data/lib/google/cloud/bigquery/reservation/v1/reservation_service/rest/service_stub.rb +21 -21
- data/lib/google/cloud/bigquery/reservation/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +10 -1
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 777d2c539209404a9dcbc970150ae6e04a339c4a517d883789bc7cfa20ea352c
|
4
|
+
data.tar.gz: 89e773e13b15b8be08df32b9c64b276f027e8d101f3a0cea831918eb07dd95f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d80eee9030ff843bcd7d99e2a9de3e590987efb6439c739b36086af9722f243296561391524ec8a87722b679341c6274e1f143ec2fd41bc078e7d4c71f866d18
|
7
|
+
data.tar.gz: b9720766fc25de93046452e2ff9e8e57cb37033a18a70791b2af13df987e0445a5b51c66a138da80c559f4282da4423fd14130952086449995fbc3025d3a6e2d
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/bigquery/reservation/v1/reservation.proto
|
3
4
|
|
@@ -12,204 +13,34 @@ require 'google/protobuf/field_mask_pb'
|
|
12
13
|
require 'google/protobuf/timestamp_pb'
|
13
14
|
require 'google/rpc/status_pb'
|
14
15
|
|
15
|
-
|
16
|
-
add_file("google/cloud/bigquery/reservation/v1/reservation.proto", :syntax => :proto3) do
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
optional :failure_status, :message, 7, "google.rpc.Status"
|
40
|
-
optional :renewal_plan, :enum, 8, "google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan"
|
41
|
-
optional :multi_region_auxiliary, :bool, 10
|
42
|
-
optional :edition, :enum, 12, "google.cloud.bigquery.reservation.v1.Edition"
|
43
|
-
end
|
44
|
-
add_enum "google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan" do
|
45
|
-
value :COMMITMENT_PLAN_UNSPECIFIED, 0
|
46
|
-
value :FLEX, 3
|
47
|
-
value :FLEX_FLAT_RATE, 7
|
48
|
-
value :TRIAL, 5
|
49
|
-
value :MONTHLY, 2
|
50
|
-
value :MONTHLY_FLAT_RATE, 8
|
51
|
-
value :ANNUAL, 4
|
52
|
-
value :ANNUAL_FLAT_RATE, 9
|
53
|
-
value :THREE_YEAR, 10
|
54
|
-
value :NONE, 6
|
55
|
-
end
|
56
|
-
add_enum "google.cloud.bigquery.reservation.v1.CapacityCommitment.State" do
|
57
|
-
value :STATE_UNSPECIFIED, 0
|
58
|
-
value :PENDING, 1
|
59
|
-
value :ACTIVE, 2
|
60
|
-
value :FAILED, 3
|
61
|
-
end
|
62
|
-
add_message "google.cloud.bigquery.reservation.v1.CreateReservationRequest" do
|
63
|
-
optional :parent, :string, 1
|
64
|
-
optional :reservation_id, :string, 2
|
65
|
-
optional :reservation, :message, 3, "google.cloud.bigquery.reservation.v1.Reservation"
|
66
|
-
end
|
67
|
-
add_message "google.cloud.bigquery.reservation.v1.ListReservationsRequest" do
|
68
|
-
optional :parent, :string, 1
|
69
|
-
optional :page_size, :int32, 2
|
70
|
-
optional :page_token, :string, 3
|
71
|
-
end
|
72
|
-
add_message "google.cloud.bigquery.reservation.v1.ListReservationsResponse" do
|
73
|
-
repeated :reservations, :message, 1, "google.cloud.bigquery.reservation.v1.Reservation"
|
74
|
-
optional :next_page_token, :string, 2
|
75
|
-
end
|
76
|
-
add_message "google.cloud.bigquery.reservation.v1.GetReservationRequest" do
|
77
|
-
optional :name, :string, 1
|
78
|
-
end
|
79
|
-
add_message "google.cloud.bigquery.reservation.v1.DeleteReservationRequest" do
|
80
|
-
optional :name, :string, 1
|
81
|
-
end
|
82
|
-
add_message "google.cloud.bigquery.reservation.v1.UpdateReservationRequest" do
|
83
|
-
optional :reservation, :message, 1, "google.cloud.bigquery.reservation.v1.Reservation"
|
84
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
85
|
-
end
|
86
|
-
add_message "google.cloud.bigquery.reservation.v1.CreateCapacityCommitmentRequest" do
|
87
|
-
optional :parent, :string, 1
|
88
|
-
optional :capacity_commitment, :message, 2, "google.cloud.bigquery.reservation.v1.CapacityCommitment"
|
89
|
-
optional :enforce_single_admin_project_per_org, :bool, 4
|
90
|
-
optional :capacity_commitment_id, :string, 5
|
91
|
-
end
|
92
|
-
add_message "google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsRequest" do
|
93
|
-
optional :parent, :string, 1
|
94
|
-
optional :page_size, :int32, 2
|
95
|
-
optional :page_token, :string, 3
|
96
|
-
end
|
97
|
-
add_message "google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsResponse" do
|
98
|
-
repeated :capacity_commitments, :message, 1, "google.cloud.bigquery.reservation.v1.CapacityCommitment"
|
99
|
-
optional :next_page_token, :string, 2
|
100
|
-
end
|
101
|
-
add_message "google.cloud.bigquery.reservation.v1.GetCapacityCommitmentRequest" do
|
102
|
-
optional :name, :string, 1
|
103
|
-
end
|
104
|
-
add_message "google.cloud.bigquery.reservation.v1.DeleteCapacityCommitmentRequest" do
|
105
|
-
optional :name, :string, 1
|
106
|
-
optional :force, :bool, 3
|
107
|
-
end
|
108
|
-
add_message "google.cloud.bigquery.reservation.v1.UpdateCapacityCommitmentRequest" do
|
109
|
-
optional :capacity_commitment, :message, 1, "google.cloud.bigquery.reservation.v1.CapacityCommitment"
|
110
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
111
|
-
end
|
112
|
-
add_message "google.cloud.bigquery.reservation.v1.SplitCapacityCommitmentRequest" do
|
113
|
-
optional :name, :string, 1
|
114
|
-
optional :slot_count, :int64, 2
|
115
|
-
end
|
116
|
-
add_message "google.cloud.bigquery.reservation.v1.SplitCapacityCommitmentResponse" do
|
117
|
-
optional :first, :message, 1, "google.cloud.bigquery.reservation.v1.CapacityCommitment"
|
118
|
-
optional :second, :message, 2, "google.cloud.bigquery.reservation.v1.CapacityCommitment"
|
119
|
-
end
|
120
|
-
add_message "google.cloud.bigquery.reservation.v1.MergeCapacityCommitmentsRequest" do
|
121
|
-
optional :parent, :string, 1
|
122
|
-
repeated :capacity_commitment_ids, :string, 2
|
123
|
-
end
|
124
|
-
add_message "google.cloud.bigquery.reservation.v1.Assignment" do
|
125
|
-
optional :name, :string, 1
|
126
|
-
optional :assignee, :string, 4
|
127
|
-
optional :job_type, :enum, 3, "google.cloud.bigquery.reservation.v1.Assignment.JobType"
|
128
|
-
optional :state, :enum, 6, "google.cloud.bigquery.reservation.v1.Assignment.State"
|
129
|
-
end
|
130
|
-
add_enum "google.cloud.bigquery.reservation.v1.Assignment.JobType" do
|
131
|
-
value :JOB_TYPE_UNSPECIFIED, 0
|
132
|
-
value :PIPELINE, 1
|
133
|
-
value :QUERY, 2
|
134
|
-
value :ML_EXTERNAL, 3
|
135
|
-
value :BACKGROUND, 4
|
136
|
-
end
|
137
|
-
add_enum "google.cloud.bigquery.reservation.v1.Assignment.State" do
|
138
|
-
value :STATE_UNSPECIFIED, 0
|
139
|
-
value :PENDING, 1
|
140
|
-
value :ACTIVE, 2
|
141
|
-
end
|
142
|
-
add_message "google.cloud.bigquery.reservation.v1.CreateAssignmentRequest" do
|
143
|
-
optional :parent, :string, 1
|
144
|
-
optional :assignment, :message, 2, "google.cloud.bigquery.reservation.v1.Assignment"
|
145
|
-
optional :assignment_id, :string, 4
|
146
|
-
end
|
147
|
-
add_message "google.cloud.bigquery.reservation.v1.ListAssignmentsRequest" do
|
148
|
-
optional :parent, :string, 1
|
149
|
-
optional :page_size, :int32, 2
|
150
|
-
optional :page_token, :string, 3
|
151
|
-
end
|
152
|
-
add_message "google.cloud.bigquery.reservation.v1.ListAssignmentsResponse" do
|
153
|
-
repeated :assignments, :message, 1, "google.cloud.bigquery.reservation.v1.Assignment"
|
154
|
-
optional :next_page_token, :string, 2
|
155
|
-
end
|
156
|
-
add_message "google.cloud.bigquery.reservation.v1.DeleteAssignmentRequest" do
|
157
|
-
optional :name, :string, 1
|
158
|
-
end
|
159
|
-
add_message "google.cloud.bigquery.reservation.v1.SearchAssignmentsRequest" do
|
160
|
-
optional :parent, :string, 1
|
161
|
-
optional :query, :string, 2
|
162
|
-
optional :page_size, :int32, 3
|
163
|
-
optional :page_token, :string, 4
|
164
|
-
end
|
165
|
-
add_message "google.cloud.bigquery.reservation.v1.SearchAllAssignmentsRequest" do
|
166
|
-
optional :parent, :string, 1
|
167
|
-
optional :query, :string, 2
|
168
|
-
optional :page_size, :int32, 3
|
169
|
-
optional :page_token, :string, 4
|
170
|
-
end
|
171
|
-
add_message "google.cloud.bigquery.reservation.v1.SearchAssignmentsResponse" do
|
172
|
-
repeated :assignments, :message, 1, "google.cloud.bigquery.reservation.v1.Assignment"
|
173
|
-
optional :next_page_token, :string, 2
|
174
|
-
end
|
175
|
-
add_message "google.cloud.bigquery.reservation.v1.SearchAllAssignmentsResponse" do
|
176
|
-
repeated :assignments, :message, 1, "google.cloud.bigquery.reservation.v1.Assignment"
|
177
|
-
optional :next_page_token, :string, 2
|
178
|
-
end
|
179
|
-
add_message "google.cloud.bigquery.reservation.v1.MoveAssignmentRequest" do
|
180
|
-
optional :name, :string, 1
|
181
|
-
optional :destination_id, :string, 3
|
182
|
-
optional :assignment_id, :string, 5
|
183
|
-
end
|
184
|
-
add_message "google.cloud.bigquery.reservation.v1.UpdateAssignmentRequest" do
|
185
|
-
optional :assignment, :message, 1, "google.cloud.bigquery.reservation.v1.Assignment"
|
186
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
187
|
-
end
|
188
|
-
add_message "google.cloud.bigquery.reservation.v1.TableReference" do
|
189
|
-
optional :project_id, :string, 1
|
190
|
-
optional :dataset_id, :string, 2
|
191
|
-
optional :table_id, :string, 3
|
192
|
-
end
|
193
|
-
add_message "google.cloud.bigquery.reservation.v1.BiReservation" do
|
194
|
-
optional :name, :string, 1
|
195
|
-
optional :update_time, :message, 3, "google.protobuf.Timestamp"
|
196
|
-
optional :size, :int64, 4
|
197
|
-
repeated :preferred_tables, :message, 5, "google.cloud.bigquery.reservation.v1.TableReference"
|
198
|
-
end
|
199
|
-
add_message "google.cloud.bigquery.reservation.v1.GetBiReservationRequest" do
|
200
|
-
optional :name, :string, 1
|
201
|
-
end
|
202
|
-
add_message "google.cloud.bigquery.reservation.v1.UpdateBiReservationRequest" do
|
203
|
-
optional :bi_reservation, :message, 1, "google.cloud.bigquery.reservation.v1.BiReservation"
|
204
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
205
|
-
end
|
206
|
-
add_enum "google.cloud.bigquery.reservation.v1.Edition" do
|
207
|
-
value :EDITION_UNSPECIFIED, 0
|
208
|
-
value :STANDARD, 1
|
209
|
-
value :ENTERPRISE, 2
|
210
|
-
value :ENTERPRISE_PLUS, 3
|
16
|
+
|
17
|
+
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\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xb5\x04\n\x0bReservation\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x15\n\rslot_capacity\x18\x02 \x01(\x03\x12\x19\n\x11ignore_idle_slots\x18\x04 \x01(\x08\x12N\n\tautoscale\x18\x07 \x01(\x0b\x32;.google.cloud.bigquery.reservation.v1.Reservation.Autoscale\x12\x13\n\x0b\x63oncurrency\x18\x10 \x01(\x03\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\x1e\n\x16multi_region_auxiliary\x18\x0e \x01(\x08\x12>\n\x07\x65\x64ition\x18\x11 \x01(\x0e\x32-.google.cloud.bigquery.reservation.v1.Edition\x1a:\n\tAutoscale\x12\x1a\n\rcurrent_slots\x18\x01 \x01(\x03\x42\x03\xe0\x41\x03\x12\x11\n\tmax_slots\x18\x02 \x01(\x03:w\xea\x41t\n.bigqueryreservation.googleapis.com/Reservation\x12\x42projects/{project}/locations/{location}/reservations/{reservation}\"\xf3\x07\n\x12\x43\x61pacityCommitment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\nslot_count\x18\x02 \x01(\x03\x12U\n\x04plan\x18\x03 \x01(\x0e\x32G.google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan\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]\n\x0crenewal_plan\x18\x08 \x01(\x0e\x32G.google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan\x12\x1e\n\x16multi_region_auxiliary\x18\n \x01(\x08\x12>\n\x07\x65\x64ition\x18\x0c \x01(\x0e\x32-.google.cloud.bigquery.reservation.v1.Edition\"\xc6\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\t\n\x05TRIAL\x10\x05\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\"\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\"\x8e\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\"\xf4\x03\n\nAssignment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x08\x61ssignee\x18\x04 \x01(\t\x12J\n\x08job_type\x18\x03 \x01(\x0e\x32\x38.google.cloud.bigquery.reservation.v1.Assignment.JobType\x12J\n\x05state\x18\x06 \x01(\x0e\x32\x36.google.cloud.bigquery.reservation.v1.Assignment.StateB\x03\xe0\x41\x03\"]\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\"7\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02:\x90\x01\xea\x41\x8c\x01\n-bigqueryreservation.googleapis.com/Assignment\x12[projects/{project}/locations/{location}/reservations/{reservation}/assignments/{assignment}\"\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\"J\n\x0eTableReference\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x12\n\ndataset_id\x18\x02 \x01(\t\x12\x10\n\x08table_id\x18\x03 \x01(\t\"\x9f\x02\n\rBiReservation\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x0c\n\x04size\x18\x04 \x01(\x03\x12N\n\x10preferred_tables\x18\x05 \x03(\x0b\x32\x34.google.cloud.bigquery.reservation.v1.TableReference: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\x32\xc1\'\n\x12ReservationService\x12\xf1\x01\n\x11\x43reateReservation\x12>.google.cloud.bigquery.reservation.v1.CreateReservationRequest\x1a\x31.google.cloud.bigquery.reservation.v1.Reservation\"i\x82\xd3\xe4\x93\x02?\"0/v1/{parent=projects/*/locations/*}/reservations:\x0breservation\xda\x41!parent,reservation,reservation_id\x12\xd4\x01\n\x10ListReservations\x12=.google.cloud.bigquery.reservation.v1.ListReservationsRequest\x1a>.google.cloud.bigquery.reservation.v1.ListReservationsResponse\"A\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/reservations\xda\x41\x06parent\x12\xc1\x01\n\x0eGetReservation\x12;.google.cloud.bigquery.reservation.v1.GetReservationRequest\x1a\x31.google.cloud.bigquery.reservation.v1.Reservation\"?\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/reservations/*}\xda\x41\x04name\x12\xac\x01\n\x11\x44\x65leteReservation\x12>.google.cloud.bigquery.reservation.v1.DeleteReservationRequest\x1a\x16.google.protobuf.Empty\"?\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/reservations/*}\xda\x41\x04name\x12\xf3\x01\n\x11UpdateReservation\x12>.google.cloud.bigquery.reservation.v1.UpdateReservationRequest\x1a\x31.google.cloud.bigquery.reservation.v1.Reservation\"k\x82\xd3\xe4\x93\x02K2</v1/{reservation.name=projects/*/locations/*/reservations/*}:\x0breservation\xda\x41\x17reservation,update_mask\x12\x8e\x02\n\x18\x43reateCapacityCommitment\x12\x45.google.cloud.bigquery.reservation.v1.CreateCapacityCommitmentRequest\x1a\x38.google.cloud.bigquery.reservation.v1.CapacityCommitment\"q\x82\xd3\xe4\x93\x02N\"7/v1/{parent=projects/*/locations/*}/capacityCommitments:\x13\x63\x61pacity_commitment\xda\x41\x1aparent,capacity_commitment\x12\xf0\x01\n\x17ListCapacityCommitments\x12\x44.google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsRequest\x1a\x45.google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsResponse\"H\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{parent=projects/*/locations/*}/capacityCommitments\xda\x41\x06parent\x12\xdd\x01\n\x15GetCapacityCommitment\x12\x42.google.cloud.bigquery.reservation.v1.GetCapacityCommitmentRequest\x1a\x38.google.cloud.bigquery.reservation.v1.CapacityCommitment\"F\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{name=projects/*/locations/*/capacityCommitments/*}\xda\x41\x04name\x12\xc1\x01\n\x18\x44\x65leteCapacityCommitment\x12\x45.google.cloud.bigquery.reservation.v1.DeleteCapacityCommitmentRequest\x1a\x16.google.protobuf.Empty\"F\x82\xd3\xe4\x93\x02\x39*7/v1/{name=projects/*/locations/*/capacityCommitments/*}\xda\x41\x04name\x12\xa8\x02\n\x18UpdateCapacityCommitment\x12\x45.google.cloud.bigquery.reservation.v1.UpdateCapacityCommitmentRequest\x1a\x38.google.cloud.bigquery.reservation.v1.CapacityCommitment\"\x8a\x01\x82\xd3\xe4\x93\x02\x62\x32K/v1/{capacity_commitment.name=projects/*/locations/*/capacityCommitments/*}:\x13\x63\x61pacity_commitment\xda\x41\x1f\x63\x61pacity_commitment,update_mask\x12\x82\x02\n\x17SplitCapacityCommitment\x12\x44.google.cloud.bigquery.reservation.v1.SplitCapacityCommitmentRequest\x1a\x45.google.cloud.bigquery.reservation.v1.SplitCapacityCommitmentResponse\"Z\x82\xd3\xe4\x93\x02\x42\"=/v1/{name=projects/*/locations/*/capacityCommitments/*}:split:\x01*\xda\x41\x0fname,slot_count\x12\x86\x02\n\x18MergeCapacityCommitments\x12\x45.google.cloud.bigquery.reservation.v1.MergeCapacityCommitmentsRequest\x1a\x38.google.cloud.bigquery.reservation.v1.CapacityCommitment\"i\x82\xd3\xe4\x93\x02\x42\"=/v1/{parent=projects/*/locations/*}/capacityCommitments:merge:\x01*\xda\x41\x1eparent,capacity_commitment_ids\x12\xeb\x01\n\x10\x43reateAssignment\x12=.google.cloud.bigquery.reservation.v1.CreateAssignmentRequest\x1a\x30.google.cloud.bigquery.reservation.v1.Assignment\"f\x82\xd3\xe4\x93\x02L\">/v1/{parent=projects/*/locations/*/reservations/*}/assignments:\nassignment\xda\x41\x11parent,assignment\x12\xdf\x01\n\x0fListAssignments\x12<.google.cloud.bigquery.reservation.v1.ListAssignmentsRequest\x1a=.google.cloud.bigquery.reservation.v1.ListAssignmentsResponse\"O\x82\xd3\xe4\x93\x02@\x12>/v1/{parent=projects/*/locations/*/reservations/*}/assignments\xda\x41\x06parent\x12\xb8\x01\n\x10\x44\x65leteAssignment\x12=.google.cloud.bigquery.reservation.v1.DeleteAssignmentRequest\x1a\x16.google.protobuf.Empty\"M\x82\xd3\xe4\x93\x02@*>/v1/{name=projects/*/locations/*/reservations/*/assignments/*}\xda\x41\x04name\x12\xe5\x01\n\x11SearchAssignments\x12>.google.cloud.bigquery.reservation.v1.SearchAssignmentsRequest\x1a?.google.cloud.bigquery.reservation.v1.SearchAssignmentsResponse\"O\x88\x02\x01\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{parent=projects/*/locations/*}:searchAssignments\xda\x41\x0cparent,query\x12\xee\x01\n\x14SearchAllAssignments\x12\x41.google.cloud.bigquery.reservation.v1.SearchAllAssignmentsRequest\x1a\x42.google.cloud.bigquery.reservation.v1.SearchAllAssignmentsResponse\"O\x82\xd3\xe4\x93\x02:\x12\x38/v1/{parent=projects/*/locations/*}:searchAllAssignments\xda\x41\x0cparent,query\x12\xe5\x01\n\x0eMoveAssignment\x12;.google.cloud.bigquery.reservation.v1.MoveAssignmentRequest\x1a\x30.google.cloud.bigquery.reservation.v1.Assignment\"d\x82\xd3\xe4\x93\x02H\"C/v1/{name=projects/*/locations/*/reservations/*/assignments/*}:move:\x01*\xda\x41\x13name,destination_id\x12\xfb\x01\n\x10UpdateAssignment\x12=.google.cloud.bigquery.reservation.v1.UpdateAssignmentRequest\x1a\x30.google.cloud.bigquery.reservation.v1.Assignment\"v\x82\xd3\xe4\x93\x02W2I/v1/{assignment.name=projects/*/locations/*/reservations/*/assignments/*}:\nassignment\xda\x41\x16\x61ssignment,update_mask\x12\xc6\x01\n\x10GetBiReservation\x12=.google.cloud.bigquery.reservation.v1.GetBiReservationRequest\x1a\x33.google.cloud.bigquery.reservation.v1.BiReservation\">\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/biReservation}\xda\x41\x04name\x12\x81\x02\n\x13UpdateBiReservation\x12@.google.cloud.bigquery.reservation.v1.UpdateBiReservationRequest\x1a\x33.google.cloud.bigquery.reservation.v1.BiReservation\"s\x82\xd3\xe4\x93\x02P2>/v1/{bi_reservation.name=projects/*/locations/*/biReservation}:\x0e\x62i_reservation\xda\x41\x1a\x62i_reservation,update_mask\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"
|
18
|
+
|
19
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
20
|
+
|
21
|
+
begin
|
22
|
+
pool.add_serialized_file(descriptor_data)
|
23
|
+
rescue TypeError => e
|
24
|
+
# Compatibility code: will be removed in the next major version.
|
25
|
+
require 'google/protobuf/descriptor_pb'
|
26
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
27
|
+
parsed.clear_dependency
|
28
|
+
serialized = parsed.class.encode(parsed)
|
29
|
+
file = pool.add_serialized_file(serialized)
|
30
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
31
|
+
imports = [
|
32
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
33
|
+
["google.rpc.Status", "google/rpc/status.proto"],
|
34
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
35
|
+
]
|
36
|
+
imports.each do |type_name, expected_filename|
|
37
|
+
import_file = pool.lookup(type_name).file_descriptor
|
38
|
+
if import_file.name != expected_filename
|
39
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
211
40
|
end
|
212
41
|
end
|
42
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
43
|
+
warn "This will become an error in the next major version."
|
213
44
|
end
|
214
45
|
|
215
46
|
module Google
|
@@ -206,7 +206,7 @@ module Google
|
|
206
206
|
credentials = @config.credentials
|
207
207
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
208
208
|
# but only if the default endpoint does not have a region prefix.
|
209
|
-
enable_self_signed_jwt = @config.endpoint ==
|
209
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
210
210
|
!@config.endpoint.split(".").first.include?("-")
|
211
211
|
credentials ||= Credentials.default scope: @config.scope,
|
212
212
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -2380,7 +2380,9 @@ module Google
|
|
2380
2380
|
class Configuration
|
2381
2381
|
extend ::Gapic::Config
|
2382
2382
|
|
2383
|
-
|
2383
|
+
DEFAULT_ENDPOINT = "bigqueryreservation.googleapis.com"
|
2384
|
+
|
2385
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
2384
2386
|
config_attr :credentials, nil do |value|
|
2385
2387
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
2386
2388
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -202,7 +202,7 @@ module Google
|
|
202
202
|
credentials = @config.credentials
|
203
203
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
204
204
|
# but only if the default endpoint does not have a region prefix.
|
205
|
-
enable_self_signed_jwt = @config.endpoint ==
|
205
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
206
206
|
!@config.endpoint.split(".").first.include?("-")
|
207
207
|
credentials ||= Credentials.default scope: @config.scope,
|
208
208
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -1857,7 +1857,9 @@ module Google
|
|
1857
1857
|
class Configuration
|
1858
1858
|
extend ::Gapic::Config
|
1859
1859
|
|
1860
|
-
|
1860
|
+
DEFAULT_ENDPOINT = "bigqueryreservation.googleapis.com"
|
1861
|
+
|
1862
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
1861
1863
|
config_attr :credentials, nil do |value|
|
1862
1864
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1863
1865
|
allowed.any? { |klass| klass === value }
|
@@ -60,7 +60,7 @@ module Google
|
|
60
60
|
|
61
61
|
verb, uri, query_string_params, body = ServiceStub.transcode_create_reservation_request request_pb
|
62
62
|
query_string_params = if query_string_params.any?
|
63
|
-
query_string_params.to_h { |p| p.split
|
63
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
64
64
|
else
|
65
65
|
{}
|
66
66
|
end
|
@@ -98,7 +98,7 @@ module Google
|
|
98
98
|
|
99
99
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_reservations_request request_pb
|
100
100
|
query_string_params = if query_string_params.any?
|
101
|
-
query_string_params.to_h { |p| p.split
|
101
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
102
102
|
else
|
103
103
|
{}
|
104
104
|
end
|
@@ -136,7 +136,7 @@ module Google
|
|
136
136
|
|
137
137
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_reservation_request request_pb
|
138
138
|
query_string_params = if query_string_params.any?
|
139
|
-
query_string_params.to_h { |p| p.split
|
139
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
140
140
|
else
|
141
141
|
{}
|
142
142
|
end
|
@@ -174,7 +174,7 @@ module Google
|
|
174
174
|
|
175
175
|
verb, uri, query_string_params, body = ServiceStub.transcode_delete_reservation_request request_pb
|
176
176
|
query_string_params = if query_string_params.any?
|
177
|
-
query_string_params.to_h { |p| p.split
|
177
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
178
178
|
else
|
179
179
|
{}
|
180
180
|
end
|
@@ -212,7 +212,7 @@ module Google
|
|
212
212
|
|
213
213
|
verb, uri, query_string_params, body = ServiceStub.transcode_update_reservation_request request_pb
|
214
214
|
query_string_params = if query_string_params.any?
|
215
|
-
query_string_params.to_h { |p| p.split
|
215
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
216
216
|
else
|
217
217
|
{}
|
218
218
|
end
|
@@ -250,7 +250,7 @@ module Google
|
|
250
250
|
|
251
251
|
verb, uri, query_string_params, body = ServiceStub.transcode_create_capacity_commitment_request request_pb
|
252
252
|
query_string_params = if query_string_params.any?
|
253
|
-
query_string_params.to_h { |p| p.split
|
253
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
254
254
|
else
|
255
255
|
{}
|
256
256
|
end
|
@@ -288,7 +288,7 @@ module Google
|
|
288
288
|
|
289
289
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_capacity_commitments_request request_pb
|
290
290
|
query_string_params = if query_string_params.any?
|
291
|
-
query_string_params.to_h { |p| p.split
|
291
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
292
292
|
else
|
293
293
|
{}
|
294
294
|
end
|
@@ -326,7 +326,7 @@ module Google
|
|
326
326
|
|
327
327
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_capacity_commitment_request request_pb
|
328
328
|
query_string_params = if query_string_params.any?
|
329
|
-
query_string_params.to_h { |p| p.split
|
329
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
330
330
|
else
|
331
331
|
{}
|
332
332
|
end
|
@@ -364,7 +364,7 @@ module Google
|
|
364
364
|
|
365
365
|
verb, uri, query_string_params, body = ServiceStub.transcode_delete_capacity_commitment_request request_pb
|
366
366
|
query_string_params = if query_string_params.any?
|
367
|
-
query_string_params.to_h { |p| p.split
|
367
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
368
368
|
else
|
369
369
|
{}
|
370
370
|
end
|
@@ -402,7 +402,7 @@ module Google
|
|
402
402
|
|
403
403
|
verb, uri, query_string_params, body = ServiceStub.transcode_update_capacity_commitment_request request_pb
|
404
404
|
query_string_params = if query_string_params.any?
|
405
|
-
query_string_params.to_h { |p| p.split
|
405
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
406
406
|
else
|
407
407
|
{}
|
408
408
|
end
|
@@ -440,7 +440,7 @@ module Google
|
|
440
440
|
|
441
441
|
verb, uri, query_string_params, body = ServiceStub.transcode_split_capacity_commitment_request request_pb
|
442
442
|
query_string_params = if query_string_params.any?
|
443
|
-
query_string_params.to_h { |p| p.split
|
443
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
444
444
|
else
|
445
445
|
{}
|
446
446
|
end
|
@@ -478,7 +478,7 @@ module Google
|
|
478
478
|
|
479
479
|
verb, uri, query_string_params, body = ServiceStub.transcode_merge_capacity_commitments_request request_pb
|
480
480
|
query_string_params = if query_string_params.any?
|
481
|
-
query_string_params.to_h { |p| p.split
|
481
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
482
482
|
else
|
483
483
|
{}
|
484
484
|
end
|
@@ -516,7 +516,7 @@ module Google
|
|
516
516
|
|
517
517
|
verb, uri, query_string_params, body = ServiceStub.transcode_create_assignment_request request_pb
|
518
518
|
query_string_params = if query_string_params.any?
|
519
|
-
query_string_params.to_h { |p| p.split
|
519
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
520
520
|
else
|
521
521
|
{}
|
522
522
|
end
|
@@ -554,7 +554,7 @@ module Google
|
|
554
554
|
|
555
555
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_assignments_request request_pb
|
556
556
|
query_string_params = if query_string_params.any?
|
557
|
-
query_string_params.to_h { |p| p.split
|
557
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
558
558
|
else
|
559
559
|
{}
|
560
560
|
end
|
@@ -592,7 +592,7 @@ module Google
|
|
592
592
|
|
593
593
|
verb, uri, query_string_params, body = ServiceStub.transcode_delete_assignment_request request_pb
|
594
594
|
query_string_params = if query_string_params.any?
|
595
|
-
query_string_params.to_h { |p| p.split
|
595
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
596
596
|
else
|
597
597
|
{}
|
598
598
|
end
|
@@ -630,7 +630,7 @@ module Google
|
|
630
630
|
|
631
631
|
verb, uri, query_string_params, body = ServiceStub.transcode_search_assignments_request request_pb
|
632
632
|
query_string_params = if query_string_params.any?
|
633
|
-
query_string_params.to_h { |p| p.split
|
633
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
634
634
|
else
|
635
635
|
{}
|
636
636
|
end
|
@@ -668,7 +668,7 @@ module Google
|
|
668
668
|
|
669
669
|
verb, uri, query_string_params, body = ServiceStub.transcode_search_all_assignments_request request_pb
|
670
670
|
query_string_params = if query_string_params.any?
|
671
|
-
query_string_params.to_h { |p| p.split
|
671
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
672
672
|
else
|
673
673
|
{}
|
674
674
|
end
|
@@ -706,7 +706,7 @@ module Google
|
|
706
706
|
|
707
707
|
verb, uri, query_string_params, body = ServiceStub.transcode_move_assignment_request request_pb
|
708
708
|
query_string_params = if query_string_params.any?
|
709
|
-
query_string_params.to_h { |p| p.split
|
709
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
710
710
|
else
|
711
711
|
{}
|
712
712
|
end
|
@@ -744,7 +744,7 @@ module Google
|
|
744
744
|
|
745
745
|
verb, uri, query_string_params, body = ServiceStub.transcode_update_assignment_request request_pb
|
746
746
|
query_string_params = if query_string_params.any?
|
747
|
-
query_string_params.to_h { |p| p.split
|
747
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
748
748
|
else
|
749
749
|
{}
|
750
750
|
end
|
@@ -782,7 +782,7 @@ module Google
|
|
782
782
|
|
783
783
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_bi_reservation_request request_pb
|
784
784
|
query_string_params = if query_string_params.any?
|
785
|
-
query_string_params.to_h { |p| p.split
|
785
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
786
786
|
else
|
787
787
|
{}
|
788
788
|
end
|
@@ -820,7 +820,7 @@ module Google
|
|
820
820
|
|
821
821
|
verb, uri, query_string_params, body = ServiceStub.transcode_update_bi_reservation_request request_pb
|
822
822
|
query_string_params = if query_string_params.any?
|
823
|
-
query_string_params.to_h { |p| p.split
|
823
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
824
824
|
else
|
825
825
|
{}
|
826
826
|
end
|
@@ -83,7 +83,7 @@ module Google
|
|
83
83
|
# long-running operation pattern.
|
84
84
|
# @!attribute [rw] new_issue_uri
|
85
85
|
# @return [::String]
|
86
|
-
# Link to a
|
86
|
+
# Link to a *public* URI where users can report issues. Example:
|
87
87
|
# https://issuetracker.google.com/issues/new?component=190865&template=1161103
|
88
88
|
# @!attribute [rw] documentation_uri
|
89
89
|
# @return [::String]
|
@@ -353,6 +353,15 @@ module Google
|
|
353
353
|
|
354
354
|
# Street View Org.
|
355
355
|
STREET_VIEW = 4
|
356
|
+
|
357
|
+
# Shopping Org.
|
358
|
+
SHOPPING = 5
|
359
|
+
|
360
|
+
# Geo Org.
|
361
|
+
GEO = 6
|
362
|
+
|
363
|
+
# Generative AI - https://developers.generativeai.google
|
364
|
+
GENERATIVE_AI = 7
|
356
365
|
end
|
357
366
|
|
358
367
|
# To where should client libraries be published?
|
@@ -43,8 +43,12 @@ module Google
|
|
43
43
|
# if (any.is(Foo.class)) {
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
|
+
# // or ...
|
47
|
+
# if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
48
|
+
# foo = any.unpack(Foo.getDefaultInstance());
|
49
|
+
# }
|
46
50
|
#
|
47
|
-
#
|
51
|
+
# Example 3: Pack and unpack a message in Python.
|
48
52
|
#
|
49
53
|
# foo = Foo(...)
|
50
54
|
# any = Any()
|
@@ -54,7 +58,7 @@ module Google
|
|
54
58
|
# any.Unpack(foo)
|
55
59
|
# ...
|
56
60
|
#
|
57
|
-
#
|
61
|
+
# Example 4: Pack and unpack a message in Go
|
58
62
|
#
|
59
63
|
# foo := &pb.Foo{...}
|
60
64
|
# any, err := anypb.New(foo)
|
@@ -73,9 +77,8 @@ module Google
|
|
73
77
|
# in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
74
78
|
# name "y.z".
|
75
79
|
#
|
76
|
-
#
|
77
80
|
# JSON
|
78
|
-
#
|
81
|
+
# ====
|
79
82
|
# The JSON representation of an `Any` value uses the regular
|
80
83
|
# representation of the deserialized, embedded message, with an
|
81
84
|
# additional field `@type` which contains the type URL. Example:
|
@@ -69,7 +69,6 @@ module Google
|
|
69
69
|
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
70
70
|
# .setNanos((int) ((millis % 1000) * 1000000)).build();
|
71
71
|
#
|
72
|
-
#
|
73
72
|
# Example 5: Compute Timestamp from Java `Instant.now()`.
|
74
73
|
#
|
75
74
|
# Instant now = Instant.now();
|
@@ -78,7 +77,6 @@ module Google
|
|
78
77
|
# Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
79
78
|
# .setNanos(now.getNano()).build();
|
80
79
|
#
|
81
|
-
#
|
82
80
|
# Example 6: Compute Timestamp from current time in Python.
|
83
81
|
#
|
84
82
|
# timestamp = Timestamp()
|
@@ -108,7 +106,7 @@ module Google
|
|
108
106
|
# [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
109
107
|
# the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
110
108
|
# the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
111
|
-
# http://
|
109
|
+
# http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
|
112
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
113
111
|
# @!attribute [rw] seconds
|
114
112
|
# @return [::Integer]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-bigquery-reservation-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.19.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.19.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|