google-apis-bigqueryreservation_v1beta1 0.3.0 → 0.8.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 +4 -4
- data/CHANGELOG.md +22 -0
- data/lib/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/lib/google/apis/bigqueryreservation_v1beta1/classes.rb +0 -28
- data/lib/google/apis/bigqueryreservation_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/bigqueryreservation_v1beta1/representations.rb +0 -14
- data/lib/google/apis/bigqueryreservation_v1beta1/service.rb +50 -2
- metadata +14 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aab87ec47395b5b6368e93187915e72a7484ef40406144817cb9714bc591c39c
|
4
|
+
data.tar.gz: 3d55d831b66ac62dd83965d3b214055f49719fe5c050ad784f5964e7aa170f02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47ca25f27d429c057ef18111039b351340647cc9eb9bc4d634b529b9a2dd430b13a365a33303d731e90d5456f4103b94eb68db5a9121de5c272dba66a24331ab
|
7
|
+
data.tar.gz: 4262135560e6960f8e61dbaac97dfcadd118493385a10287735bce7900249fe812d230077df36bccd409f59f375276df68f01a32159db53b9adec005d757f218
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-bigqueryreservation_v1beta1
|
2
2
|
|
3
|
+
### v0.8.0 (2021-06-24)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.7.0 (2021-06-14)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210607
|
10
|
+
* Regenerated using generator version 0.3.0
|
11
|
+
|
12
|
+
### v0.6.0 (2021-05-19)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.5.0 (2021-04-29)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210423
|
19
|
+
|
20
|
+
### v0.4.0 (2021-03-31)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210324
|
23
|
+
* Regenerated using generator version 0.2.0
|
24
|
+
|
3
25
|
### v0.3.0 (2021-03-04)
|
4
26
|
|
5
27
|
* Unspecified changes
|
@@ -32,7 +32,7 @@ module Google
|
|
32
32
|
# View and manage your data in Google BigQuery
|
33
33
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
34
34
|
|
35
|
-
#
|
35
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
36
36
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
37
37
|
end
|
38
38
|
end
|
@@ -170,26 +170,6 @@ module Google
|
|
170
170
|
end
|
171
171
|
end
|
172
172
|
|
173
|
-
# The metadata for operation returned from ReservationService.CreateSlotPool.
|
174
|
-
class CreateSlotPoolMetadata
|
175
|
-
include Google::Apis::Core::Hashable
|
176
|
-
|
177
|
-
# Resource name of the slot pool that is being created. E.g., projects/myproject/
|
178
|
-
# locations/us-central1/reservations/foo/slotPools/123
|
179
|
-
# Corresponds to the JSON property `slotPool`
|
180
|
-
# @return [String]
|
181
|
-
attr_accessor :slot_pool
|
182
|
-
|
183
|
-
def initialize(**args)
|
184
|
-
update!(**args)
|
185
|
-
end
|
186
|
-
|
187
|
-
# Update properties of this object
|
188
|
-
def update!(**args)
|
189
|
-
@slot_pool = args[:slot_pool] if args.key?(:slot_pool)
|
190
|
-
end
|
191
|
-
end
|
192
|
-
|
193
173
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
194
174
|
# messages in your APIs. A typical example is to use it as the request or the
|
195
175
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -347,13 +327,6 @@ module Google
|
|
347
327
|
attr_accessor :ignore_idle_slots
|
348
328
|
alias_method :ignore_idle_slots?, :ignore_idle_slots
|
349
329
|
|
350
|
-
# Maximum number of queries that are allowed to run concurrently in this
|
351
|
-
# reservation. Default value is 0 which means that maximum concurrency will be
|
352
|
-
# automatically set based on the reservation size.
|
353
|
-
# Corresponds to the JSON property `maxConcurrency`
|
354
|
-
# @return [Fixnum]
|
355
|
-
attr_accessor :max_concurrency
|
356
|
-
|
357
330
|
# The resource name of the reservation, e.g., `projects/*/locations/*/
|
358
331
|
# reservations/team1-prod`.
|
359
332
|
# Corresponds to the JSON property `name`
|
@@ -384,7 +357,6 @@ module Google
|
|
384
357
|
def update!(**args)
|
385
358
|
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
386
359
|
@ignore_idle_slots = args[:ignore_idle_slots] if args.key?(:ignore_idle_slots)
|
387
|
-
@max_concurrency = args[:max_concurrency] if args.key?(:max_concurrency)
|
388
360
|
@name = args[:name] if args.key?(:name)
|
389
361
|
@slot_capacity = args[:slot_capacity] if args.key?(:slot_capacity)
|
390
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.
|
19
|
+
GEM_VERSION = "0.8.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210607"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -40,12 +40,6 @@ module Google
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
-
class CreateSlotPoolMetadata
|
44
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
-
|
46
|
-
include Google::Apis::Core::JsonObjectSupport
|
47
|
-
end
|
48
|
-
|
49
43
|
class Empty
|
50
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
45
|
|
@@ -146,13 +140,6 @@ module Google
|
|
146
140
|
end
|
147
141
|
end
|
148
142
|
|
149
|
-
class CreateSlotPoolMetadata
|
150
|
-
# @private
|
151
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
152
|
-
property :slot_pool, as: 'slotPool'
|
153
|
-
end
|
154
|
-
end
|
155
|
-
|
156
143
|
class Empty
|
157
144
|
# @private
|
158
145
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -205,7 +192,6 @@ module Google
|
|
205
192
|
class Representation < Google::Apis::Core::JsonRepresentation
|
206
193
|
property :creation_time, as: 'creationTime'
|
207
194
|
property :ignore_idle_slots, as: 'ignoreIdleSlots'
|
208
|
-
property :max_concurrency, :numeric_string => true, as: 'maxConcurrency'
|
209
195
|
property :name, as: 'name'
|
210
196
|
property :slot_capacity, :numeric_string => true, as: 'slotCapacity'
|
211
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
|
+
version: 0.8.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-
|
11
|
+
date: 2021-06-28 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.
|
19
|
+
version: '0.3'
|
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.3'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-bigqueryreservation_v1beta1/v0.8.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.
|
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
|