google-apis-bigqueryreservation_v1 0.8.0 → 0.12.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: ec6fdedc10e888c38f188e3b5fed76ef0226c49b185ee638c8b8c5b0a12d14ec
4
- data.tar.gz: 5e7794d563241f4270363d5cb929a5941ca68796c5da466e9b51dcfa1e95a63a
3
+ metadata.gz: fc915dc75813e4dc25fb2c7e80c7f1cf327f6fac9653a4891152eae11be43ff1
4
+ data.tar.gz: 0154b3d13035763aa7003bc81a838570104c55dedc58883369c61cbb4f54db89
5
5
  SHA512:
6
- metadata.gz: e22ca4ba92bbc9cf02bb7c1581cb527672f1375b1e993fb87cb5a6875f76cef72b94a9c64483e1b935152ba92a88a8e478489468981c579e60c0907b2a9fe935
7
- data.tar.gz: 2df1d6ee7c36ce81cd95afe82a087cabae5afe141a6d5d7916d5738b1377f651c3cb043692bf6da1a622386f3e5b5b1247d8244af1972f11cdbb6fc66d0f5664
6
+ metadata.gz: 82eaa2e3397c446ebe1e014aee72e027065d6170c4ab4a92ff59b1704c188a9405bf5b23326c6ad2674a674cbbde8926aacc8593df15b718c2fdfd3ab9b62577
7
+ data.tar.gz: 42b99fc822bfe7dafc67c7f126eb8e28dcf86fb6f98509ae5f549ac30fd2c6acb7758f0e81f62631f4a4977301090ff312d99e8d198e170cd4b175913925702d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-bigqueryreservation_v1
2
2
 
3
+ ### v0.12.0 (2021-12-14)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.11.0 (2021-10-21)
8
+
9
+ * Regenerated from discovery document revision 20211015
10
+ * Unspecified changes
11
+
12
+ ### v0.10.0 (2021-09-16)
13
+
14
+ * Regenerated from discovery document revision 20210910
15
+
16
+ ### v0.9.0 (2021-09-01)
17
+
18
+ * Regenerated from discovery document revision 20210806
19
+
3
20
  ### v0.8.0 (2021-06-29)
4
21
 
5
22
  * Regenerated using generator version 0.4.0
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/bigqueryreservation_v1"
51
51
  client = Google::Apis::BigqueryreservationV1::BigQueryReservationService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Bigqueryreservation service in particular.)
67
67
 
@@ -22,7 +22,7 @@ module Google
22
22
  module Apis
23
23
  module BigqueryreservationV1
24
24
 
25
- # A Assignment allows a project to submit jobs of a certain type using slots
25
+ # An assignment allows a project to submit jobs of a certain type using slots
26
26
  # from the specified reservation.
27
27
  class Assignment
28
28
  include Google::Apis::Core::Hashable
@@ -322,7 +322,7 @@ module Google
322
322
  # If false, any query or pipeline job using this reservation will use idle slots
323
323
  # from other reservations within the same admin project. If true, a query or
324
324
  # pipeline job using this reservation will execute with the slot capacity
325
- # specified above at most.
325
+ # specified in the slot_capacity field at most.
326
326
  # Corresponds to the JSON property `ignoreIdleSlots`
327
327
  # @return [Boolean]
328
328
  attr_accessor :ignore_idle_slots
@@ -337,10 +337,12 @@ module Google
337
337
  # Minimum slots available to this reservation. A slot is a unit of computational
338
338
  # power in BigQuery, and serves as the unit of parallelism. Queries using this
339
339
  # reservation might use more slots during runtime if ignore_idle_slots is set to
340
- # false. If the new reservation's slot capacity exceed the parent's slot
340
+ # false. If the new reservation's slot capacity exceed the project's slot
341
341
  # capacity or if total slot capacity of the new reservation and its siblings
342
- # exceeds the parent's slot capacity, the request will fail with `google.rpc.
343
- # Code.RESOURCE_EXHAUSTED`.
342
+ # exceeds the project's slot capacity, the request will fail with `google.rpc.
343
+ # Code.RESOURCE_EXHAUSTED`. NOTE: for reservations in US or EU multi-regions
344
+ # slot capacity constraints are checked separately for default and auxiliary
345
+ # regions. See multi_region_auxiliary flag for more details.
344
346
  # Corresponds to the JSON property `slotCapacity`
345
347
  # @return [Fixnum]
346
348
  attr_accessor :slot_capacity
@@ -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.8.0"
19
+ GEM_VERSION = "0.12.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210423"
25
+ REVISION = "20211015"
26
26
  end
27
27
  end
28
28
  end
@@ -131,14 +131,14 @@ module Google
131
131
  execute_or_queue_command(command, &block)
132
132
  end
133
133
 
134
- # Looks up assignments for a specified resource for a particular region. If the
135
- # request is about a project: 1. Assignments created on the project will be
136
- # returned if they exist. 2. Otherwise assignments created on the closest
137
- # ancestor will be returned. 3. Assignments for different JobTypes will all be
138
- # returned. The same logic applies if the request is about a folder. If the
139
- # request is about an organization, then assignments created on the organization
140
- # will be returned (organization doesn't have ancestors). Comparing to
141
- # ListAssignments, there are some behavior differences: 1. permission on the
134
+ # Deprecated: Looks up assignments for a specified resource for a particular
135
+ # region. If the request is about a project: 1. Assignments created on the
136
+ # project will be returned if they exist. 2. Otherwise assignments created on
137
+ # the closest ancestor will be returned. 3. Assignments for different JobTypes
138
+ # will all be returned. The same logic applies if the request is about a folder.
139
+ # If the request is about an organization, then assignments created on the
140
+ # organization will be returned (organization doesn't have ancestors). Comparing
141
+ # to ListAssignments, there are some behavior differences: 1. permission on the
142
142
  # assignee will be verified in this API. 2. Hierarchy lookup (project->folder->
143
143
  # organization) happens in this API. 3. Parent here is `projects/*/locations/*`,
144
144
  # instead of `projects/*/locations/*reservations/*`. **Note** "-" cannot be used
@@ -273,6 +273,10 @@ module Google
273
273
  # @param [String] name
274
274
  # Required. Resource name of the capacity commitment to delete. E.g., `projects/
275
275
  # myproject/locations/US/capacityCommitments/123`
276
+ # @param [Boolean] force
277
+ # Can be used to force delete commitments even if assignments exist. Deleting
278
+ # commitments with assignments may cause queries to fail if they no longer have
279
+ # access to slots.
276
280
  # @param [String] fields
277
281
  # Selector specifying which fields to include in a partial response.
278
282
  # @param [String] quota_user
@@ -290,11 +294,12 @@ module Google
290
294
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
291
295
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
292
296
  # @raise [Google::Apis::AuthorizationError] Authorization is required
293
- def delete_project_location_capacity_commitment(name, fields: nil, quota_user: nil, options: nil, &block)
297
+ def delete_project_location_capacity_commitment(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
294
298
  command = make_simple_command(:delete, 'v1/{+name}', options)
295
299
  command.response_representation = Google::Apis::BigqueryreservationV1::Empty::Representation
296
300
  command.response_class = Google::Apis::BigqueryreservationV1::Empty
297
301
  command.params['name'] = name unless name.nil?
302
+ command.query['force'] = force unless force.nil?
298
303
  command.query['fields'] = fields unless fields.nil?
299
304
  command.query['quotaUser'] = quota_user unless quota_user.nil?
300
305
  execute_or_queue_command(command, &block)
@@ -29,10 +29,10 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1'
31
31
 
32
- # View and manage your data in Google BigQuery
32
+ # View and manage your data in Google BigQuery and see the email address for your Google Account
33
33
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
34
34
 
35
- # See, edit, configure, and delete your Google Cloud Platform data
35
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
36
36
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
37
37
  end
38
38
  end
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.8.0
4
+ version: 0.12.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-07-05 00:00:00.000000000 Z
11
+ date: 2022-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-bigqueryreservation_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigqueryreservation_v1/v0.8.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-bigqueryreservation_v1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigqueryreservation_v1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigqueryreservation_v1/v0.12.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigqueryreservation_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths:
@@ -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.2.17
78
+ rubygems_version: 3.3.4
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for BigQuery Reservation API V1