google-cloud-bigquery-reservation-v1 0.4.0 → 0.5.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f40ed2d914c5c6cbe86653c0b5be4d2dfceea516b00399a456de06d4fa4267db
4
- data.tar.gz: 7e65142bac2c1705cad029bb7725e71ac6e51f8a65f9e4a09c42f208dcfc5a2d
3
+ metadata.gz: 47f112fc54de3426c4879a03e51d7dbea54814f3169a16cb18815b14c276cc0a
4
+ data.tar.gz: 4c85cce74d96c2b59996a4012a6326fc9cc665e166c9eb2c31359a066fd98397
5
5
  SHA512:
6
- metadata.gz: 0f98d554bd713ed30bf7f99079ff295b552708dd03846257b389a3805f4fbed5e470369b6fc4d9e9cf3d5ab35b3b6a2a6ba540fb1d5c98c38ff2687eba378612
7
- data.tar.gz: 4b742a4c8b70b16e3d8754456d26d9ac42d37a024dbabe274a421382d45f388ac2a93e83716efd7c8065a6c5c258f96aa0042f945305ec92a34d26095bbb7d16
6
+ metadata.gz: df691d603622f10a5e6b2e75cfeae17b2dbe76800c0a60cf562747d47266225973fbbe4ac9f8d5c54620341e52a996fd847531a4ff8d000004118df4050a94a8
7
+ data.tar.gz: fb8b44325f1e755625edf193e180249fc57f3f7a4bf312e3fb79f9a8210c64dc8028c67bcaea4b0e9a72ec452e76390f37b0bbbd728d8ed3086f3619d250a5f5
data/.yardopts CHANGED
@@ -1,5 +1,5 @@
1
1
  --no-private
2
- --title=BigQuery Reservation V1 API
2
+ --title="BigQuery Reservation V1 API"
3
3
  --exclude _pb\.rb$
4
4
  --markup markdown
5
5
  --markup-provider redcarpet
data/AUTHENTICATION.md CHANGED
@@ -120,15 +120,6 @@ To configure your system for this, simply:
120
120
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
121
121
  *should* only be used during development.
122
122
 
123
- [gce-how-to]: https://cloud.google.com/compute/docs/authentication#using
124
- [dev-console]: https://console.cloud.google.com/project
125
-
126
- [enable-apis]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/enable-apis.png
127
-
128
- [create-new-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account.png
129
- [create-new-service-account-existing-keys]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account-existing-keys.png
130
- [reuse-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/reuse-service-account.png
131
-
132
123
  ## Creating a Service Account
133
124
 
134
125
  Google Cloud requires **Service Account Credentials** to
@@ -139,31 +130,22 @@ If you are not running this client within
139
130
  [Google Cloud Platform environments](#google-cloud-platform-environments), you
140
131
  need a Google Developers service account.
141
132
 
142
- 1. Visit the [Google Developers Console][dev-console].
133
+ 1. Visit the [Google Cloud Console](https://console.cloud.google.com/project).
143
134
  2. Create a new project or click on an existing project.
144
- 3. Activate the slide-out navigation tray and select **API Manager**. From
135
+ 3. Activate the menu in the upper left and select **APIs & Services**. From
145
136
  here, you will enable the APIs that your application requires.
146
137
 
147
- ![Enable the APIs that your application requires][enable-apis]
148
-
149
138
  *Note: You may need to enable billing in order to use these services.*
150
139
 
151
140
  4. Select **Credentials** from the side navigation.
152
141
 
153
- You should see a screen like one of the following.
154
-
155
- ![Create a new service account][create-new-service-account]
156
-
157
- ![Create a new service account With Existing Keys][create-new-service-account-existing-keys]
158
-
159
- Find the "Add credentials" drop down and select "Service account" to be
160
- guided through downloading a new JSON key file.
142
+ Find the "Create credentials" drop down near the top of the page, and select
143
+ "Service account" to be guided through downloading a new JSON key file.
161
144
 
162
145
  If you want to re-use an existing service account, you can easily generate a
163
- new key file. Just select the account you wish to re-use, and click "Generate
164
- new JSON key":
165
-
166
- ![Re-use an existing service account][reuse-service-account]
146
+ new key file. Just select the account you wish to re-use, click the pencil
147
+ tool on the right side to edit the service account, select the **Keys** tab,
148
+ and then select **Add Key**.
167
149
 
168
150
  The key file you download will be used by this library to authenticate API
169
151
  requests and should be stored in a secure location.
data/README.md CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Cloud::Bigquery::Reservation::V1::CreateReservationRequest.n
37
37
  response = client.create_reservation request
38
38
  ```
39
39
 
40
- View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-bigquery-reservation-v1/latest)
40
+ View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-bigquery-reservation-v1/latest)
41
41
  for class and method documentation.
42
42
 
43
43
  See also the [Product Documentation](https://cloud.google.com/bigquery/docs/reference/reservations)
@@ -1,8 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/bigquery/reservation/v1/reservation.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/annotations_pb'
7
5
  require 'google/api/client_pb'
8
6
  require 'google/api/field_behavior_pb'
@@ -11,14 +9,18 @@ require 'google/protobuf/empty_pb'
11
9
  require 'google/protobuf/field_mask_pb'
12
10
  require 'google/protobuf/timestamp_pb'
13
11
  require 'google/rpc/status_pb'
12
+ require 'google/protobuf'
13
+
14
14
  Google::Protobuf::DescriptorPool.generated_pool.build do
15
15
  add_file("google/cloud/bigquery/reservation/v1/reservation.proto", :syntax => :proto3) do
16
16
  add_message "google.cloud.bigquery.reservation.v1.Reservation" do
17
17
  optional :name, :string, 1
18
18
  optional :slot_capacity, :int64, 2
19
19
  optional :ignore_idle_slots, :bool, 4
20
+ optional :concurrency, :int64, 16
20
21
  optional :creation_time, :message, 8, "google.protobuf.Timestamp"
21
22
  optional :update_time, :message, 9, "google.protobuf.Timestamp"
23
+ optional :multi_region_auxiliary, :bool, 14
22
24
  end
23
25
  add_message "google.cloud.bigquery.reservation.v1.CapacityCommitment" do
24
26
  optional :name, :string, 1
@@ -29,6 +31,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
29
31
  optional :commitment_end_time, :message, 5, "google.protobuf.Timestamp"
30
32
  optional :failure_status, :message, 7, "google.rpc.Status"
31
33
  optional :renewal_plan, :enum, 8, "google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan"
34
+ optional :multi_region_auxiliary, :bool, 10
32
35
  end
33
36
  add_enum "google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan" do
34
37
  value :COMMITMENT_PLAN_UNSPECIFIED, 0
@@ -163,10 +166,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
163
166
  optional :name, :string, 1
164
167
  optional :destination_id, :string, 3
165
168
  end
169
+ add_message "google.cloud.bigquery.reservation.v1.UpdateAssignmentRequest" do
170
+ optional :assignment, :message, 1, "google.cloud.bigquery.reservation.v1.Assignment"
171
+ optional :update_mask, :message, 2, "google.protobuf.FieldMask"
172
+ end
173
+ add_message "google.cloud.bigquery.reservation.v1.TableReference" do
174
+ optional :project_id, :string, 1
175
+ optional :dataset_id, :string, 2
176
+ optional :table_id, :string, 3
177
+ end
166
178
  add_message "google.cloud.bigquery.reservation.v1.BiReservation" do
167
179
  optional :name, :string, 1
168
180
  optional :update_time, :message, 3, "google.protobuf.Timestamp"
169
181
  optional :size, :int64, 4
182
+ repeated :preferred_tables, :message, 5, "google.cloud.bigquery.reservation.v1.TableReference"
170
183
  end
171
184
  add_message "google.cloud.bigquery.reservation.v1.GetBiReservationRequest" do
172
185
  optional :name, :string, 1
@@ -214,6 +227,8 @@ module Google
214
227
  SearchAssignmentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.SearchAssignmentsResponse").msgclass
215
228
  SearchAllAssignmentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.SearchAllAssignmentsResponse").msgclass
216
229
  MoveAssignmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.MoveAssignmentRequest").msgclass
230
+ UpdateAssignmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.UpdateAssignmentRequest").msgclass
231
+ TableReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.TableReference").msgclass
217
232
  BiReservation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.BiReservation").msgclass
218
233
  GetBiReservationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.GetBiReservationRequest").msgclass
219
234
  UpdateBiReservationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.UpdateBiReservationRequest").msgclass