google-apis-bigqueryreservation_v1 0.4.0 → 0.5.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2bec4fd01479e8973a7baf0b83f021ac60420490c490ab197e493a6dc562bb4
|
4
|
+
data.tar.gz: 0a891c8e8c86ee6e9fb40d15d2313a6e2d92b54ed2af97a6cd6776fbdc15a206
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ed905c1e9cebb1283c533908aae84e0536db9148a75099a94e68caf3cb63fdce7f977dcec78aec9168d857041a82678327079503cfdfa88641f82a83665c253
|
7
|
+
data.tar.gz: 522b4703a535410fbebeb4313766cc8073dc8b8238bcce6edaa3ee80915b345952cb70d8d19556abfe5cf77b50eedf14b2424b28da8a4f78aedf9051dc27e081
|
data/CHANGELOG.md
CHANGED
@@ -319,9 +319,10 @@ module Google
|
|
319
319
|
# @return [String]
|
320
320
|
attr_accessor :creation_time
|
321
321
|
|
322
|
-
# If false, any query using this reservation will use idle slots
|
323
|
-
# reservations within the same admin project. If true, a query
|
324
|
-
# reservation will execute with the slot capacity
|
322
|
+
# If false, any query or pipeline job using this reservation will use idle slots
|
323
|
+
# from other reservations within the same admin project. If true, a query or
|
324
|
+
# pipeline job using this reservation will execute with the slot capacity
|
325
|
+
# specified above at most.
|
325
326
|
# Corresponds to the JSON property `ignoreIdleSlots`
|
326
327
|
# @return [Boolean]
|
327
328
|
attr_accessor :ignore_idle_slots
|
@@ -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.
|
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 = "
|
25
|
+
REVISION = "20210423"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -228,6 +228,11 @@ module Google
|
|
228
228
|
# Required. Resource name of the parent reservation. E.g., `projects/myproject/
|
229
229
|
# locations/US`
|
230
230
|
# @param [Google::Apis::BigqueryreservationV1::CapacityCommitment] capacity_commitment_object
|
231
|
+
# @param [String] capacity_commitment_id
|
232
|
+
# The optional capacity commitment ID. Capacity commitment name will be
|
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.
|
231
236
|
# @param [Boolean] enforce_single_admin_project_per_org
|
232
237
|
# If true, fail the request if another project in the organization has a
|
233
238
|
# capacity commitment.
|
@@ -248,13 +253,14 @@ module Google
|
|
248
253
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
249
254
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
250
255
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
251
|
-
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)
|
256
|
+
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)
|
252
257
|
command = make_simple_command(:post, 'v1/{+parent}/capacityCommitments', options)
|
253
258
|
command.request_representation = Google::Apis::BigqueryreservationV1::CapacityCommitment::Representation
|
254
259
|
command.request_object = capacity_commitment_object
|
255
260
|
command.response_representation = Google::Apis::BigqueryreservationV1::CapacityCommitment::Representation
|
256
261
|
command.response_class = Google::Apis::BigqueryreservationV1::CapacityCommitment
|
257
262
|
command.params['parent'] = parent unless parent.nil?
|
263
|
+
command.query['capacityCommitmentId'] = capacity_commitment_id unless capacity_commitment_id.nil?
|
258
264
|
command.query['enforceSingleAdminProjectPerOrg'] = enforce_single_admin_project_per_org unless enforce_single_admin_project_per_org.nil?
|
259
265
|
command.query['fields'] = fields unless fields.nil?
|
260
266
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -676,6 +682,10 @@ module Google
|
|
676
682
|
# Required. The parent resource name of the assignment E.g. `projects/myproject/
|
677
683
|
# locations/US/reservations/team1-prod`
|
678
684
|
# @param [Google::Apis::BigqueryreservationV1::Assignment] assignment_object
|
685
|
+
# @param [String] assignment_id
|
686
|
+
# The optional assignment ID. Assignment name will be generated automatically if
|
687
|
+
# this field is empty. This field must only contain lower case alphanumeric
|
688
|
+
# characters or dash. Max length is 64 characters.
|
679
689
|
# @param [String] fields
|
680
690
|
# Selector specifying which fields to include in a partial response.
|
681
691
|
# @param [String] quota_user
|
@@ -693,13 +703,14 @@ module Google
|
|
693
703
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
694
704
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
695
705
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
696
|
-
def create_project_location_reservation_assignment(parent, assignment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
706
|
+
def create_project_location_reservation_assignment(parent, assignment_object = nil, assignment_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
697
707
|
command = make_simple_command(:post, 'v1/{+parent}/assignments', options)
|
698
708
|
command.request_representation = Google::Apis::BigqueryreservationV1::Assignment::Representation
|
699
709
|
command.request_object = assignment_object
|
700
710
|
command.response_representation = Google::Apis::BigqueryreservationV1::Assignment::Representation
|
701
711
|
command.response_class = Google::Apis::BigqueryreservationV1::Assignment
|
702
712
|
command.params['parent'] = parent unless parent.nil?
|
713
|
+
command.query['assignmentId'] = assignment_id unless assignment_id.nil?
|
703
714
|
command.query['fields'] = fields unless fields.nil?
|
704
715
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
705
716
|
execute_or_queue_command(command, &block)
|
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.
|
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-
|
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_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-bigqueryreservation_v1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-bigqueryreservation_v1/v0.5.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-bigqueryreservation_v1
|
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.
|
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 V1
|