google-apis-bigqueryreservation_v1 0.12.0 → 0.15.0

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: fc915dc75813e4dc25fb2c7e80c7f1cf327f6fac9653a4891152eae11be43ff1
4
- data.tar.gz: 0154b3d13035763aa7003bc81a838570104c55dedc58883369c61cbb4f54db89
3
+ metadata.gz: 69cf129f6eb75f68b6ca0306326bba52d71435d80b15bbdb9cdcf1609a111199
4
+ data.tar.gz: 1ede39844964b92eec12c89e8f5a7742908eed39e187e3942920ff6d7dd336bc
5
5
  SHA512:
6
- metadata.gz: 82eaa2e3397c446ebe1e014aee72e027065d6170c4ab4a92ff59b1704c188a9405bf5b23326c6ad2674a674cbbde8926aacc8593df15b718c2fdfd3ab9b62577
7
- data.tar.gz: 42b99fc822bfe7dafc67c7f126eb8e28dcf86fb6f98509ae5f549ac30fd2c6acb7758f0e81f62631f4a4977301090ff312d99e8d198e170cd4b175913925702d
6
+ metadata.gz: cfd66a339bace1690f95875e5756518507be987f7f7af761fceec782d2de5d484cd7fc61ce09dd0c3c0626f56855db5eb98937590395f86a8d2ce837644975df
7
+ data.tar.gz: a76f5728e71cb9e6526ae48399b9405e10a815e330caedf5ae7e119cf56d212261b652118bc9e1308fee67978264b28cb531ecd8eee12300846c125fee136603
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-bigqueryreservation_v1
2
2
 
3
+ ### v0.15.0 (2022-03-24)
4
+
5
+ * Regenerated from discovery document revision 20220319
6
+
7
+ ### v0.14.0 (2022-03-03)
8
+
9
+ * Regenerated from discovery document revision 20220226
10
+
11
+ ### v0.13.0 (2022-02-17)
12
+
13
+ * Regenerated from discovery document revision 20220212
14
+ * Regenerated using generator version 0.4.1
15
+
3
16
  ### v0.12.0 (2021-12-14)
4
17
 
5
18
  * Unspecified changes
@@ -39,7 +39,9 @@ module Google
39
39
  attr_accessor :job_type
40
40
 
41
41
  # Output only. Name of the resource. E.g.: `projects/myproject/locations/US/
42
- # reservations/team1-prod/assignments/123`.
42
+ # reservations/team1-prod/assignments/123`. For the assignment id, it must only
43
+ # contain lower case alphanumeric characters or dashes and the max length is 64
44
+ # characters.
43
45
  # Corresponds to the JSON property `name`
44
46
  # @return [String]
45
47
  attr_accessor :name
@@ -125,8 +127,20 @@ module Google
125
127
  # @return [Google::Apis::BigqueryreservationV1::Status]
126
128
  attr_accessor :failure_status
127
129
 
130
+ # Applicable only for commitments located within one of the BigQuery multi-
131
+ # regions (US or EU). If set to true, this commitment is placed in the
132
+ # organization's secondary region which is designated for disaster recovery
133
+ # purposes. If false, this commitment is placed in the organization's default
134
+ # region.
135
+ # Corresponds to the JSON property `multiRegionAuxiliary`
136
+ # @return [Boolean]
137
+ attr_accessor :multi_region_auxiliary
138
+ alias_method :multi_region_auxiliary?, :multi_region_auxiliary
139
+
128
140
  # Output only. The resource name of the capacity commitment, e.g., `projects/
129
- # myproject/locations/US/capacityCommitments/123`
141
+ # myproject/locations/US/capacityCommitments/123` For the commitment id, it must
142
+ # only contain lower case alphanumeric characters or dashes.It must start with a
143
+ # letter and must not end with a dash. Its maximum length is 64 characters.
130
144
  # Corresponds to the JSON property `name`
131
145
  # @return [String]
132
146
  attr_accessor :name
@@ -162,6 +176,7 @@ module Google
162
176
  @commitment_end_time = args[:commitment_end_time] if args.key?(:commitment_end_time)
163
177
  @commitment_start_time = args[:commitment_start_time] if args.key?(:commitment_start_time)
164
178
  @failure_status = args[:failure_status] if args.key?(:failure_status)
179
+ @multi_region_auxiliary = args[:multi_region_auxiliary] if args.key?(:multi_region_auxiliary)
165
180
  @name = args[:name] if args.key?(:name)
166
181
  @plan = args[:plan] if args.key?(:plan)
167
182
  @renewal_plan = args[:renewal_plan] if args.key?(:renewal_plan)
@@ -173,8 +188,7 @@ module Google
173
188
  # A generic empty message that you can re-use to avoid defining duplicated empty
174
189
  # messages in your APIs. A typical example is to use it as the request or the
175
190
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
176
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
177
- # `Empty` is empty JSON object ````.
191
+ # protobuf.Empty) returns (google.protobuf.Empty); `
178
192
  class Empty
179
193
  include Google::Apis::Core::Hashable
180
194
 
@@ -314,6 +328,14 @@ module Google
314
328
  class Reservation
315
329
  include Google::Apis::Core::Hashable
316
330
 
331
+ # Maximum number of queries that are allowed to run concurrently in this
332
+ # reservation. This is a soft limit due to asynchronous nature of the system and
333
+ # various optimizations for small queries. Default value is 0 which means that
334
+ # concurrency will be automatically set based on the reservation size.
335
+ # Corresponds to the JSON property `concurrency`
336
+ # @return [Fixnum]
337
+ attr_accessor :concurrency
338
+
317
339
  # Output only. Creation time of the reservation.
318
340
  # Corresponds to the JSON property `creationTime`
319
341
  # @return [String]
@@ -328,8 +350,20 @@ module Google
328
350
  attr_accessor :ignore_idle_slots
329
351
  alias_method :ignore_idle_slots?, :ignore_idle_slots
330
352
 
353
+ # Applicable only for reservations located within one of the BigQuery multi-
354
+ # regions (US or EU). If set to true, this reservation is placed in the
355
+ # organization's secondary region which is designated for disaster recovery
356
+ # purposes. If false, this reservation is placed in the organization's default
357
+ # region.
358
+ # Corresponds to the JSON property `multiRegionAuxiliary`
359
+ # @return [Boolean]
360
+ attr_accessor :multi_region_auxiliary
361
+ alias_method :multi_region_auxiliary?, :multi_region_auxiliary
362
+
331
363
  # The resource name of the reservation, e.g., `projects/*/locations/*/
332
- # reservations/team1-prod`.
364
+ # reservations/team1-prod`. For the reservation id, it must only contain lower
365
+ # case alphanumeric characters or dashes.It must start with a letter and must
366
+ # not end with a dash. Its maximum length is 64 characters.
333
367
  # Corresponds to the JSON property `name`
334
368
  # @return [String]
335
369
  attr_accessor :name
@@ -358,8 +392,10 @@ module Google
358
392
 
359
393
  # Update properties of this object
360
394
  def update!(**args)
395
+ @concurrency = args[:concurrency] if args.key?(:concurrency)
361
396
  @creation_time = args[:creation_time] if args.key?(:creation_time)
362
397
  @ignore_idle_slots = args[:ignore_idle_slots] if args.key?(:ignore_idle_slots)
398
+ @multi_region_auxiliary = args[:multi_region_auxiliary] if args.key?(:multi_region_auxiliary)
363
399
  @name = args[:name] if args.key?(:name)
364
400
  @slot_capacity = args[:slot_capacity] if args.key?(:slot_capacity)
365
401
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BigqueryreservationV1
18
18
  # Version of the google-apis-bigqueryreservation_v1 gem
19
- GEM_VERSION = "0.12.0"
19
+ GEM_VERSION = "0.15.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211015"
25
+ REVISION = "20220319"
26
26
  end
27
27
  end
28
28
  end
@@ -138,6 +138,7 @@ module Google
138
138
  property :commitment_start_time, as: 'commitmentStartTime'
139
139
  property :failure_status, as: 'failureStatus', class: Google::Apis::BigqueryreservationV1::Status, decorator: Google::Apis::BigqueryreservationV1::Status::Representation
140
140
 
141
+ property :multi_region_auxiliary, as: 'multiRegionAuxiliary'
141
142
  property :name, as: 'name'
142
143
  property :plan, as: 'plan'
143
144
  property :renewal_plan, as: 'renewalPlan'
@@ -196,8 +197,10 @@ module Google
196
197
  class Reservation
197
198
  # @private
198
199
  class Representation < Google::Apis::Core::JsonRepresentation
200
+ property :concurrency, :numeric_string => true, as: 'concurrency'
199
201
  property :creation_time, as: 'creationTime'
200
202
  property :ignore_idle_slots, as: 'ignoreIdleSlots'
203
+ property :multi_region_auxiliary, as: 'multiRegionAuxiliary'
201
204
  property :name, as: 'name'
202
205
  property :slot_capacity, :numeric_string => true, as: 'slotCapacity'
203
206
  property :update_time, as: 'updateTime'
@@ -231,8 +231,9 @@ module Google
231
231
  # @param [String] capacity_commitment_id
232
232
  # The optional capacity commitment ID. Capacity commitment name will be
233
233
  # generated automatically if this field is empty. This field must only contain
234
- # lower case alphanumeric characters or dash. Max length is 64 characters. NOTE:
235
- # this ID won't be kept if the capacity commitment is split or merged.
234
+ # lower case alphanumeric characters or dashes. The first and last character
235
+ # cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if
236
+ # the capacity commitment is split or merged.
236
237
  # @param [Boolean] enforce_single_admin_project_per_org
237
238
  # If true, fail the request if another project in the organization has a
238
239
  # capacity commitment.
@@ -417,7 +418,9 @@ module Google
417
418
  # fail with the error code `google.rpc.Code.FAILED_PRECONDITION`.
418
419
  # @param [String] name
419
420
  # Output only. The resource name of the capacity commitment, e.g., `projects/
420
- # myproject/locations/US/capacityCommitments/123`
421
+ # myproject/locations/US/capacityCommitments/123` For the commitment id, it must
422
+ # only contain lower case alphanumeric characters or dashes.It must start with a
423
+ # letter and must not end with a dash. Its maximum length is 64 characters.
421
424
  # @param [Google::Apis::BigqueryreservationV1::CapacityCommitment] capacity_commitment_object
422
425
  # @param [String] update_mask
423
426
  # Standard field mask for the set of fields to be updated.
@@ -494,8 +497,9 @@ module Google
494
497
  # Required. Project, location. E.g., `projects/myproject/locations/US`
495
498
  # @param [Google::Apis::BigqueryreservationV1::Reservation] reservation_object
496
499
  # @param [String] reservation_id
497
- # The reservation ID. This field must only contain lower case alphanumeric
498
- # characters or dash. Max length is 64 characters.
500
+ # The reservation ID. It must only contain lower case alphanumeric characters or
501
+ # dashes.It must start with a letter and must not end with a dash. Its maximum
502
+ # length is 64 characters.
499
503
  # @param [String] fields
500
504
  # Selector specifying which fields to include in a partial response.
501
505
  # @param [String] quota_user
@@ -629,7 +633,9 @@ module Google
629
633
  # Updates an existing reservation resource.
630
634
  # @param [String] name
631
635
  # The resource name of the reservation, e.g., `projects/*/locations/*/
632
- # reservations/team1-prod`.
636
+ # reservations/team1-prod`. For the reservation id, it must only contain lower
637
+ # case alphanumeric characters or dashes.It must start with a letter and must
638
+ # not end with a dash. Its maximum length is 64 characters.
633
639
  # @param [Google::Apis::BigqueryreservationV1::Reservation] reservation_object
634
640
  # @param [String] update_mask
635
641
  # Standard field mask for the set of fields to be updated.
@@ -690,7 +696,7 @@ module Google
690
696
  # @param [String] assignment_id
691
697
  # The optional assignment ID. Assignment name will be generated automatically if
692
698
  # this field is empty. This field must only contain lower case alphanumeric
693
- # characters or dash. Max length is 64 characters.
699
+ # characters or dashes. Max length is 64 characters.
694
700
  # @param [String] fields
695
701
  # Selector specifying which fields to include in a partial response.
696
702
  # @param [String] quota_user
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-bigqueryreservation_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.15.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: 2022-01-10 00:00:00.000000000 Z
11
+ date: 2022-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigqueryreservation_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigqueryreservation_v1/v0.12.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigqueryreservation_v1/v0.15.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigqueryreservation_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.4
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for BigQuery Reservation API V1