google-apis-bigqueryreservation_v1beta1 0.4.0 → 0.5.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: e4fa0912579d66130af34f845a7edcc5be6c3c9ed268520d166b7033a384e77c
4
- data.tar.gz: 51f75d3cf13dbbc0f85ddf7784db73da04cd727f89d9e5c3759ee9d2f3278ae3
3
+ metadata.gz: 8e8e823fdf9fc064e49d82ba0d28c8e0111bc6ea4df702813738c1daf7202ab9
4
+ data.tar.gz: 90c89918594e8e1e6211a8dbb61861f3a6ebf797cb45a9cdf167da06fc9555cf
5
5
  SHA512:
6
- metadata.gz: 4b7cccdbb764552627330fd4e870ad479556fec5b7a884019d6a28950101326088159d988d75554dda6162bf35cae7fddddc8b2fd1e51a8d8efa11494c48c495
7
- data.tar.gz: e958b14a47d53c4e9edf78663a88cd544703584ca3e59a4678145fad488238fe4903be3305ebdf67fa7f508d9dfe7cc20bde66ad921439af95925339d776bbc0
6
+ metadata.gz: 30e21abfcdffaef547ed2f07e0f325add3d2baa77354db3a00a80b4824a952fd00dd8cf8d9ac5349235d42b5c8d1220da8b62133aff5a3d2a0513dde51cf4796
7
+ data.tar.gz: 2cb0c2ced9396f939c63ab3fddc15a86b7a1b5efb18100b23bf64288c8e2c98159fe5d2644e725555f1725babc3602bc85e5b76a2c84afdc506a8cbdc66228bf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-bigqueryreservation_v1beta1
2
2
 
3
+ ### v0.5.0 (2021-04-29)
4
+
5
+ * Regenerated from discovery document revision 20210423
6
+
3
7
  ### v0.4.0 (2021-03-31)
4
8
 
5
9
  * Regenerated from discovery document revision 20210324
@@ -327,13 +327,6 @@ module Google
327
327
  attr_accessor :ignore_idle_slots
328
328
  alias_method :ignore_idle_slots?, :ignore_idle_slots
329
329
 
330
- # Maximum number of queries that are allowed to run concurrently in this
331
- # reservation. Default value is 0 which means that maximum concurrency will be
332
- # automatically set based on the reservation size.
333
- # Corresponds to the JSON property `maxConcurrency`
334
- # @return [Fixnum]
335
- attr_accessor :max_concurrency
336
-
337
330
  # The resource name of the reservation, e.g., `projects/*/locations/*/
338
331
  # reservations/team1-prod`.
339
332
  # Corresponds to the JSON property `name`
@@ -364,7 +357,6 @@ module Google
364
357
  def update!(**args)
365
358
  @creation_time = args[:creation_time] if args.key?(:creation_time)
366
359
  @ignore_idle_slots = args[:ignore_idle_slots] if args.key?(:ignore_idle_slots)
367
- @max_concurrency = args[:max_concurrency] if args.key?(:max_concurrency)
368
360
  @name = args[:name] if args.key?(:name)
369
361
  @slot_capacity = args[:slot_capacity] if args.key?(:slot_capacity)
370
362
  @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.4.0"
19
+ GEM_VERSION = "0.5.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210324"
25
+ REVISION = "20210423"
26
26
  end
27
27
  end
28
28
  end
@@ -192,7 +192,6 @@ module Google
192
192
  class Representation < Google::Apis::Core::JsonRepresentation
193
193
  property :creation_time, as: 'creationTime'
194
194
  property :ignore_idle_slots, as: 'ignoreIdleSlots'
195
- property :max_concurrency, :numeric_string => true, as: 'maxConcurrency'
196
195
  property :name, as: 'name'
197
196
  property :slot_capacity, :numeric_string => true, as: 'slotCapacity'
198
197
  property :update_time, as: 'updateTime'
@@ -177,6 +177,11 @@ module Google
177
177
  # Required. Resource name of the parent reservation. E.g., `projects/myproject/
178
178
  # locations/US`
179
179
  # @param [Google::Apis::BigqueryreservationV1beta1::CapacityCommitment] capacity_commitment_object
180
+ # @param [String] capacity_commitment_id
181
+ # The optional capacity commitment ID. Capacity commitment name will be
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.
180
185
  # @param [Boolean] enforce_single_admin_project_per_org
181
186
  # If true, fail the request if another project in the organization has a
182
187
  # capacity commitment.
@@ -197,13 +202,14 @@ module Google
197
202
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
198
203
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
199
204
  # @raise [Google::Apis::AuthorizationError] Authorization is required
200
- def create_project_location_capacity_commitment(parent, capacity_commitment_object = nil, enforce_single_admin_project_per_org: nil, fields: nil, quota_user: nil, options: nil, &block)
205
+ def create_project_location_capacity_commitment(parent, capacity_commitment_object = nil, capacity_commitment_id: nil, enforce_single_admin_project_per_org: nil, fields: nil, quota_user: nil, options: nil, &block)
201
206
  command = make_simple_command(:post, 'v1beta1/{+parent}/capacityCommitments', options)
202
207
  command.request_representation = Google::Apis::BigqueryreservationV1beta1::CapacityCommitment::Representation
203
208
  command.request_object = capacity_commitment_object
204
209
  command.response_representation = Google::Apis::BigqueryreservationV1beta1::CapacityCommitment::Representation
205
210
  command.response_class = Google::Apis::BigqueryreservationV1beta1::CapacityCommitment
206
211
  command.params['parent'] = parent unless parent.nil?
212
+ command.query['capacityCommitmentId'] = capacity_commitment_id unless capacity_commitment_id.nil?
207
213
  command.query['enforceSingleAdminProjectPerOrg'] = enforce_single_admin_project_per_org unless enforce_single_admin_project_per_org.nil?
208
214
  command.query['fields'] = fields unless fields.nil?
209
215
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -631,6 +637,10 @@ module Google
631
637
  # Required. The parent resource name of the assignment E.g. `projects/myproject/
632
638
  # locations/US/reservations/team1-prod`
633
639
  # @param [Google::Apis::BigqueryreservationV1beta1::Assignment] assignment_object
640
+ # @param [String] assignment_id
641
+ # The optional assignment ID. Assignment name will be generated automatically if
642
+ # this field is empty. This field must only contain lower case alphanumeric
643
+ # characters or dash. Max length is 64 characters.
634
644
  # @param [String] fields
635
645
  # Selector specifying which fields to include in a partial response.
636
646
  # @param [String] quota_user
@@ -648,13 +658,14 @@ module Google
648
658
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
649
659
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
650
660
  # @raise [Google::Apis::AuthorizationError] Authorization is required
651
- def create_project_location_reservation_assignment(parent, assignment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
661
+ def create_project_location_reservation_assignment(parent, assignment_object = nil, assignment_id: nil, fields: nil, quota_user: nil, options: nil, &block)
652
662
  command = make_simple_command(:post, 'v1beta1/{+parent}/assignments', options)
653
663
  command.request_representation = Google::Apis::BigqueryreservationV1beta1::Assignment::Representation
654
664
  command.request_object = assignment_object
655
665
  command.response_representation = Google::Apis::BigqueryreservationV1beta1::Assignment::Representation
656
666
  command.response_class = Google::Apis::BigqueryreservationV1beta1::Assignment
657
667
  command.params['parent'] = parent unless parent.nil?
668
+ command.query['assignmentId'] = assignment_id unless assignment_id.nil?
658
669
  command.query['fields'] = fields unless fields.nil?
659
670
  command.query['quotaUser'] = quota_user unless quota_user.nil?
660
671
  execute_or_queue_command(command, &block)
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.4.0
4
+ version: 0.5.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: 2021-04-05 00:00:00.000000000 Z
11
+ date: 2021-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-bigqueryreservation_v1beta1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigqueryreservation_v1beta1/v0.4.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigqueryreservation_v1beta1/v0.5.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-bigqueryreservation_v1beta1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.13
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for BigQuery Reservation API V1beta1