google-apis-bigqueryreservation_v1beta1 0.4.0 → 0.9.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: e4fa0912579d66130af34f845a7edcc5be6c3c9ed268520d166b7033a384e77c
4
- data.tar.gz: 51f75d3cf13dbbc0f85ddf7784db73da04cd727f89d9e5c3759ee9d2f3278ae3
3
+ metadata.gz: 4d4be0e4f6cb0307678c6b7097aa049b4e95724e5a0df4d6de8c1616f0501752
4
+ data.tar.gz: 256aefbe8738d19ad2bf99f78c0bb3b9966d0392b6181c9471fe36ee934711c5
5
5
  SHA512:
6
- metadata.gz: 4b7cccdbb764552627330fd4e870ad479556fec5b7a884019d6a28950101326088159d988d75554dda6162bf35cae7fddddc8b2fd1e51a8d8efa11494c48c495
7
- data.tar.gz: e958b14a47d53c4e9edf78663a88cd544703584ca3e59a4678145fad488238fe4903be3305ebdf67fa7f508d9dfe7cc20bde66ad921439af95925339d776bbc0
6
+ metadata.gz: a3c2cb85e50c4a1c36ba951ff2fcae58fa000766ae9bba40e2f2dc1aaa3f30be43d56e349248f53f92f2d19c2bbf0aee73ec764521c3949606eb511f2c5a6a79
7
+ data.tar.gz: 51323c795e5e169382105acbab10390b08c1a8964a596ae39e3eb4298b025def5e1a8f1dd4ae182e86de134de80611cd1d4b0a30d3aa590ede56ca0a628c9c54
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-bigqueryreservation_v1beta1
2
2
 
3
+ ### v0.9.0 (2021-06-29)
4
+
5
+ * Regenerated using generator version 0.4.0
6
+
7
+ ### v0.8.0 (2021-06-24)
8
+
9
+ * Unspecified changes
10
+
11
+ ### v0.7.0 (2021-06-14)
12
+
13
+ * Regenerated from discovery document revision 20210607
14
+ * Regenerated using generator version 0.3.0
15
+
16
+ ### v0.6.0 (2021-05-19)
17
+
18
+ * Unspecified changes
19
+
20
+ ### v0.5.0 (2021-04-29)
21
+
22
+ * Regenerated from discovery document revision 20210423
23
+
3
24
  ### v0.4.0 (2021-03-31)
4
25
 
5
26
  * 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.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210324"
25
+ REVISION = "20210607"
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)
@@ -779,6 +790,43 @@ module Google
779
790
  command.query['quotaUser'] = quota_user unless quota_user.nil?
780
791
  execute_or_queue_command(command, &block)
781
792
  end
793
+
794
+ # Updates an existing assignment. Only the `priority` field can be updated.
795
+ # @param [String] name
796
+ # Output only. Name of the resource. E.g.: `projects/myproject/locations/US/
797
+ # reservations/team1-prod/assignments/123`.
798
+ # @param [Google::Apis::BigqueryreservationV1beta1::Assignment] assignment_object
799
+ # @param [String] update_mask
800
+ # Standard field mask for the set of fields to be updated.
801
+ # @param [String] fields
802
+ # Selector specifying which fields to include in a partial response.
803
+ # @param [String] quota_user
804
+ # Available to use for quota purposes for server-side applications. Can be any
805
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
806
+ # @param [Google::Apis::RequestOptions] options
807
+ # Request-specific options
808
+ #
809
+ # @yield [result, err] Result & error if block supplied
810
+ # @yieldparam result [Google::Apis::BigqueryreservationV1beta1::Assignment] parsed result object
811
+ # @yieldparam err [StandardError] error object if request failed
812
+ #
813
+ # @return [Google::Apis::BigqueryreservationV1beta1::Assignment]
814
+ #
815
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
816
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
817
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
818
+ def patch_project_location_reservation_assignment(name, assignment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
819
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
820
+ command.request_representation = Google::Apis::BigqueryreservationV1beta1::Assignment::Representation
821
+ command.request_object = assignment_object
822
+ command.response_representation = Google::Apis::BigqueryreservationV1beta1::Assignment::Representation
823
+ command.response_class = Google::Apis::BigqueryreservationV1beta1::Assignment
824
+ command.params['name'] = name unless name.nil?
825
+ command.query['updateMask'] = update_mask unless update_mask.nil?
826
+ command.query['fields'] = fields unless fields.nil?
827
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
828
+ execute_or_queue_command(command, &block)
829
+ end
782
830
 
783
831
  protected
784
832
 
metadata CHANGED
@@ -1,29 +1,35 @@
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.9.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-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.4'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for BigQuery Reservation API V1beta1.
28
34
  Simple REST clients are Ruby client libraries that provide access to Google services
29
35
  via their HTTP REST API endpoints. These libraries are generated and updated automatically
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  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
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigqueryreservation_v1beta1/v0.9.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-bigqueryreservation_v1beta1
57
63
  post_install_message:
58
64
  rdoc_options: []
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
75
  - !ruby/object:Gem::Version
70
76
  version: '0'
71
77
  requirements: []
72
- rubygems_version: 3.2.13
78
+ rubygems_version: 3.2.17
73
79
  signing_key:
74
80
  specification_version: 4
75
81
  summary: Simple REST client for BigQuery Reservation API V1beta1