google-cloud-bigquery-reservation-v1 0.3.1 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1378c74b0821b1196ef1272df2767bfcb78d4ee28f06349353ae1b6facae902c
4
- data.tar.gz: fa5a0f247090b949f5e9a8a87f86e78dd97b2653d0f578c9f3ecc39673001644
3
+ metadata.gz: 3cbf765f55b385d57d78df6ee03d94926125269badf4316365a3f24f4e3e9e81
4
+ data.tar.gz: 1e478f1588ce6838ea125b06a22c84359b2c6802d912fbcc94b7de6a7d5e2e7c
5
5
  SHA512:
6
- metadata.gz: 61ee9c4d7cec31cbb792627856e2c28e5707c8073d8b65b283b635b904e34e56d4b7211b769e0fbb3bf98e1d192639a84ab2361fd591956569ed5c476054692b
7
- data.tar.gz: f0955f9c9f91b7a90f2b7047232328d3e58ac35b5d6de5aac7a8d28a5e004b9e5dd76ce4a7f74304847f932b4d8fe59d6a8c2585756526230d0b34a977a59f3c
6
+ metadata.gz: fdc7b8174922325541b8405e7418dff7aae3fb4fdecd5ebf837f6a1828d9338fb3766eed22718fe9675e691fb9fb423edc0dcaf47a8ed0dff77f92067ad8c6bc
7
+ data.tar.gz: fa6c5c6612d23f4329503614b89124745c3c02cb8ffb54eddffd96ccc3ecd1c76a59e0d72ceb799cb26d60d87c164894af8ae030ac39f7600ae2267b14d39b0d
data/AUTHENTICATION.md CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-cloud-bigquery-reservation-v1
66
66
  checks for credentials are configured on the service Credentials class (such as
67
67
  {::Google::Cloud::Bigquery::Reservation::V1::ReservationService::Credentials}):
68
68
 
69
- 1. `BIGQUERY_RESERVATION_CREDENTIALS` - Path to JSON file, or JSON contents
70
- 2. `BIGQUERY_RESERVATION_KEYFILE` - Path to JSON file, or JSON contents
71
- 3. `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
- 4. `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
- 5. `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
69
+ * `BIGQUERY_RESERVATION_CREDENTIALS` - Path to JSON file, or JSON contents
70
+ * `BIGQUERY_RESERVATION_KEYFILE` - Path to JSON file, or JSON contents
71
+ * `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
+ * `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
+ * `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
74
74
 
75
75
  ```ruby
76
76
  require "google/cloud/bigquery/reservation/v1"
@@ -82,8 +82,8 @@ client = ::Google::Cloud::Bigquery::Reservation::V1::ReservationService::Client.
82
82
 
83
83
  ### Configuration
84
84
 
85
- The **Credentials JSON** can be configured instead of placing them in
86
- environment variables. Either on an individual client initialization:
85
+ The path to the **Credentials JSON** file can be configured instead of storing
86
+ it in an environment variable. Either on an individual client initialization:
87
87
 
88
88
  ```ruby
89
89
  require "google/cloud/bigquery/reservation/v1"
@@ -93,7 +93,7 @@ client = ::Google::Cloud::Bigquery::Reservation::V1::ReservationService::Client.
93
93
  end
94
94
  ```
95
95
 
96
- Or configured globally for all clients:
96
+ Or globally for all clients:
97
97
 
98
98
  ```ruby
99
99
  require "google/cloud/bigquery/reservation/v1"
data/README.md CHANGED
@@ -33,7 +33,7 @@ In order to use this library, you first need to go through the following steps:
33
33
  require "google/cloud/bigquery/reservation/v1"
34
34
 
35
35
  client = ::Google::Cloud::Bigquery::Reservation::V1::ReservationService::Client.new
36
- request = my_create_request
36
+ request = ::Google::Cloud::Bigquery::Reservation::V1::CreateReservationRequest.new # (request fields as keyword arguments...)
37
37
  response = client.create_reservation request
38
38
  ```
39
39
 
@@ -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,18 +9,23 @@ 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 :creation_time, :message, 8, "google.protobuf.Timestamp"
21
+ optional :update_time, :message, 9, "google.protobuf.Timestamp"
20
22
  end
21
23
  add_message "google.cloud.bigquery.reservation.v1.CapacityCommitment" do
22
24
  optional :name, :string, 1
23
25
  optional :slot_count, :int64, 2
24
26
  optional :plan, :enum, 3, "google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan"
25
27
  optional :state, :enum, 4, "google.cloud.bigquery.reservation.v1.CapacityCommitment.State"
28
+ optional :commitment_start_time, :message, 9, "google.protobuf.Timestamp"
26
29
  optional :commitment_end_time, :message, 5, "google.protobuf.Timestamp"
27
30
  optional :failure_status, :message, 7, "google.rpc.Status"
28
31
  optional :renewal_plan, :enum, 8, "google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan"
@@ -68,6 +71,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
68
71
  optional :parent, :string, 1
69
72
  optional :capacity_commitment, :message, 2, "google.cloud.bigquery.reservation.v1.CapacityCommitment"
70
73
  optional :enforce_single_admin_project_per_org, :bool, 4
74
+ optional :capacity_commitment_id, :string, 5
71
75
  end
72
76
  add_message "google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsRequest" do
73
77
  optional :parent, :string, 1
@@ -83,6 +87,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
83
87
  end
84
88
  add_message "google.cloud.bigquery.reservation.v1.DeleteCapacityCommitmentRequest" do
85
89
  optional :name, :string, 1
90
+ optional :force, :bool, 3
86
91
  end
87
92
  add_message "google.cloud.bigquery.reservation.v1.UpdateCapacityCommitmentRequest" do
88
93
  optional :capacity_commitment, :message, 1, "google.cloud.bigquery.reservation.v1.CapacityCommitment"
@@ -110,6 +115,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
110
115
  value :JOB_TYPE_UNSPECIFIED, 0
111
116
  value :PIPELINE, 1
112
117
  value :QUERY, 2
118
+ value :ML_EXTERNAL, 3
113
119
  end
114
120
  add_enum "google.cloud.bigquery.reservation.v1.Assignment.State" do
115
121
  value :STATE_UNSPECIFIED, 0
@@ -119,6 +125,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
119
125
  add_message "google.cloud.bigquery.reservation.v1.CreateAssignmentRequest" do
120
126
  optional :parent, :string, 1
121
127
  optional :assignment, :message, 2, "google.cloud.bigquery.reservation.v1.Assignment"
128
+ optional :assignment_id, :string, 4
122
129
  end
123
130
  add_message "google.cloud.bigquery.reservation.v1.ListAssignmentsRequest" do
124
131
  optional :parent, :string, 1
@@ -138,10 +145,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
138
145
  optional :page_size, :int32, 3
139
146
  optional :page_token, :string, 4
140
147
  end
148
+ add_message "google.cloud.bigquery.reservation.v1.SearchAllAssignmentsRequest" do
149
+ optional :parent, :string, 1
150
+ optional :query, :string, 2
151
+ optional :page_size, :int32, 3
152
+ optional :page_token, :string, 4
153
+ end
141
154
  add_message "google.cloud.bigquery.reservation.v1.SearchAssignmentsResponse" do
142
155
  repeated :assignments, :message, 1, "google.cloud.bigquery.reservation.v1.Assignment"
143
156
  optional :next_page_token, :string, 2
144
157
  end
158
+ add_message "google.cloud.bigquery.reservation.v1.SearchAllAssignmentsResponse" do
159
+ repeated :assignments, :message, 1, "google.cloud.bigquery.reservation.v1.Assignment"
160
+ optional :next_page_token, :string, 2
161
+ end
145
162
  add_message "google.cloud.bigquery.reservation.v1.MoveAssignmentRequest" do
146
163
  optional :name, :string, 1
147
164
  optional :destination_id, :string, 3
@@ -193,7 +210,9 @@ module Google
193
210
  ListAssignmentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.ListAssignmentsResponse").msgclass
194
211
  DeleteAssignmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.DeleteAssignmentRequest").msgclass
195
212
  SearchAssignmentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.SearchAssignmentsRequest").msgclass
213
+ SearchAllAssignmentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.SearchAllAssignmentsRequest").msgclass
196
214
  SearchAssignmentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.SearchAssignmentsResponse").msgclass
215
+ SearchAllAssignmentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.SearchAllAssignmentsResponse").msgclass
197
216
  MoveAssignmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.MoveAssignmentRequest").msgclass
198
217
  BiReservation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.BiReservation").msgclass
199
218
  GetBiReservationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.GetBiReservationRequest").msgclass