google-apis-bigqueryreservation_v1beta1 0.13.0 → 0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f846d2d62a085dea2b59c60c358af403b97ae7df1f1d68e8128aa463cd1a9a7e
4
- data.tar.gz: bc1174831e31c056e2bc3117891d90a1d1947d2f05ffe71860d9b4b42bccd32d
3
+ metadata.gz: 92f9fc9c5996dde914c3994628a5cab14c378eca74c84b9f885f5c5eeafe6537
4
+ data.tar.gz: c0672db41c3df3dfdf84894089f6cf0799b16044a65873414843752e93b7d557
5
5
  SHA512:
6
- metadata.gz: b44b2e78895c7cf9bdc1f51b8de3bd2b63ca3ddaaa9b7a27e518eef894d9311dda61b74758bee1531a09efc5aacf64b4d0bdf2dfc6a403df1e3d9bc16bad81f0
7
- data.tar.gz: c7743765a8403b992453b2a88ee44e040051a0bcfa3a351c9a5710efd29c07dfa0e09d3eb5e4343c5914982d0800a10e473348e8b4cda0d80b6ebbdb03bc5034
6
+ metadata.gz: 7e79350b77fdac2a2955534de816df1de8df0ad4a43c593b556fdb912a2b45b0243001e0e3cd4ca8490b9c22bbfcbd3757c6cf7a2ec85cf4ec417c53636da290
7
+ data.tar.gz: 4a3408cedd3e0880d5b12939bbd495f9f76c414bd5068a5df59440e1d1cfbfeed804826cb1ad58c7a74ea020a0c0210ed02ff4eb85a8d52413ecdd4a252517c8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-bigqueryreservation_v1beta1
2
2
 
3
+ ### v0.14.0 (2022-02-18)
4
+
5
+ * Regenerated from discovery document revision 20220212
6
+ * Regenerated using generator version 0.4.1
7
+
3
8
  ### v0.13.0 (2021-12-14)
4
9
 
5
10
  * 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::BigqueryreservationV1beta1::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)
@@ -328,8 +343,20 @@ module Google
328
343
  attr_accessor :ignore_idle_slots
329
344
  alias_method :ignore_idle_slots?, :ignore_idle_slots
330
345
 
346
+ # Applicable only for reservations located within one of the BigQuery multi-
347
+ # regions (US or EU). If set to true, this reservation is placed in the
348
+ # organization's secondary region which is designated for disaster recovery
349
+ # purposes. If false, this reservation is placed in the organization's default
350
+ # region.
351
+ # Corresponds to the JSON property `multiRegionAuxiliary`
352
+ # @return [Boolean]
353
+ attr_accessor :multi_region_auxiliary
354
+ alias_method :multi_region_auxiliary?, :multi_region_auxiliary
355
+
331
356
  # The resource name of the reservation, e.g., `projects/*/locations/*/
332
- # reservations/team1-prod`.
357
+ # reservations/team1-prod`. For the reservation id, it must only contain lower
358
+ # case alphanumeric characters or dashes.It must start with a letter and must
359
+ # not end with a dash. Its maximum length is 64 characters.
333
360
  # Corresponds to the JSON property `name`
334
361
  # @return [String]
335
362
  attr_accessor :name
@@ -360,6 +387,7 @@ module Google
360
387
  def update!(**args)
361
388
  @creation_time = args[:creation_time] if args.key?(:creation_time)
362
389
  @ignore_idle_slots = args[:ignore_idle_slots] if args.key?(:ignore_idle_slots)
390
+ @multi_region_auxiliary = args[:multi_region_auxiliary] if args.key?(:multi_region_auxiliary)
363
391
  @name = args[:name] if args.key?(:name)
364
392
  @slot_capacity = args[:slot_capacity] if args.key?(:slot_capacity)
365
393
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BigqueryreservationV1beta1
18
18
  # Version of the google-apis-bigqueryreservation_v1beta1 gem
19
- GEM_VERSION = "0.13.0"
19
+ GEM_VERSION = "0.14.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 = "20220212"
26
26
  end
27
27
  end
28
28
  end
@@ -132,6 +132,7 @@ module Google
132
132
  property :commitment_start_time, as: 'commitmentStartTime'
133
133
  property :failure_status, as: 'failureStatus', class: Google::Apis::BigqueryreservationV1beta1::Status, decorator: Google::Apis::BigqueryreservationV1beta1::Status::Representation
134
134
 
135
+ property :multi_region_auxiliary, as: 'multiRegionAuxiliary'
135
136
  property :name, as: 'name'
136
137
  property :plan, as: 'plan'
137
138
  property :renewal_plan, as: 'renewalPlan'
@@ -192,6 +193,7 @@ module Google
192
193
  class Representation < Google::Apis::Core::JsonRepresentation
193
194
  property :creation_time, as: 'creationTime'
194
195
  property :ignore_idle_slots, as: 'ignoreIdleSlots'
196
+ property :multi_region_auxiliary, as: 'multiRegionAuxiliary'
195
197
  property :name, as: 'name'
196
198
  property :slot_capacity, :numeric_string => true, as: 'slotCapacity'
197
199
  property :update_time, as: 'updateTime'
@@ -180,8 +180,9 @@ module Google
180
180
  # @param [String] capacity_commitment_id
181
181
  # The optional capacity commitment ID. Capacity commitment name will be
182
182
  # generated automatically if this field is empty. This field must only contain
183
- # lower case alphanumeric characters or dash. Max length is 64 characters. NOTE:
184
- # this ID won't be kept if the capacity commitment is split or merged.
183
+ # lower case alphanumeric characters or dashes. The first and last character
184
+ # cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if
185
+ # the capacity commitment is split or merged.
185
186
  # @param [Boolean] enforce_single_admin_project_per_org
186
187
  # If true, fail the request if another project in the organization has a
187
188
  # capacity commitment.
@@ -366,7 +367,9 @@ module Google
366
367
  # fail with the error code `google.rpc.Code.FAILED_PRECONDITION`.
367
368
  # @param [String] name
368
369
  # Output only. The resource name of the capacity commitment, e.g., `projects/
369
- # myproject/locations/US/capacityCommitments/123`
370
+ # myproject/locations/US/capacityCommitments/123` For the commitment id, it must
371
+ # only contain lower case alphanumeric characters or dashes.It must start with a
372
+ # letter and must not end with a dash. Its maximum length is 64 characters.
370
373
  # @param [Google::Apis::BigqueryreservationV1beta1::CapacityCommitment] capacity_commitment_object
371
374
  # @param [String] update_mask
372
375
  # Standard field mask for the set of fields to be updated.
@@ -443,8 +446,9 @@ module Google
443
446
  # Required. Project, location. E.g., `projects/myproject/locations/US`
444
447
  # @param [Google::Apis::BigqueryreservationV1beta1::Reservation] reservation_object
445
448
  # @param [String] reservation_id
446
- # The reservation ID. This field must only contain lower case alphanumeric
447
- # characters or dash. Max length is 64 characters.
449
+ # The reservation ID. It must only contain lower case alphanumeric characters or
450
+ # dashes.It must start with a letter and must not end with a dash. Its maximum
451
+ # length is 64 characters.
448
452
  # @param [String] fields
449
453
  # Selector specifying which fields to include in a partial response.
450
454
  # @param [String] quota_user
@@ -584,7 +588,9 @@ module Google
584
588
  # Updates an existing reservation resource.
585
589
  # @param [String] name
586
590
  # The resource name of the reservation, e.g., `projects/*/locations/*/
587
- # reservations/team1-prod`.
591
+ # reservations/team1-prod`. For the reservation id, it must only contain lower
592
+ # case alphanumeric characters or dashes.It must start with a letter and must
593
+ # not end with a dash. Its maximum length is 64 characters.
588
594
  # @param [Google::Apis::BigqueryreservationV1beta1::Reservation] reservation_object
589
595
  # @param [String] update_mask
590
596
  # Standard field mask for the set of fields to be updated.
@@ -645,7 +651,7 @@ module Google
645
651
  # @param [String] assignment_id
646
652
  # The optional assignment ID. Assignment name will be generated automatically if
647
653
  # this field is empty. This field must only contain lower case alphanumeric
648
- # characters or dash. Max length is 64 characters.
654
+ # characters or dashes. Max length is 64 characters.
649
655
  # @param [String] fields
650
656
  # Selector specifying which fields to include in a partial response.
651
657
  # @param [String] quota_user
@@ -799,7 +805,9 @@ module Google
799
805
  # Updates an existing assignment. Only the `priority` field can be updated.
800
806
  # @param [String] name
801
807
  # Output only. Name of the resource. E.g.: `projects/myproject/locations/US/
802
- # reservations/team1-prod/assignments/123`.
808
+ # reservations/team1-prod/assignments/123`. For the assignment id, it must only
809
+ # contain lower case alphanumeric characters or dashes and the max length is 64
810
+ # characters.
803
811
  # @param [Google::Apis::BigqueryreservationV1beta1::Assignment] assignment_object
804
812
  # @param [String] update_mask
805
813
  # Standard field mask for the set of fields to be updated.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-bigqueryreservation_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.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-02-21 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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigqueryreservation_v1beta1/v0.13.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigqueryreservation_v1beta1/v0.14.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigqueryreservation_v1beta1
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 V1beta1