google-apis-bigqueryreservation_v1beta1 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: aab87ec47395b5b6368e93187915e72a7484ef40406144817cb9714bc591c39c
4
- data.tar.gz: 3d55d831b66ac62dd83965d3b214055f49719fe5c050ad784f5964e7aa170f02
3
+ metadata.gz: f6e18a637424087428b17b464c5c4fceb6445a5e3e1454210f90625ee31328a4
4
+ data.tar.gz: 4a2796f66c717d63c6f4cabf9019bb6c09da6b85f00a5a6aa63d4c7ddb079e2d
5
5
  SHA512:
6
- metadata.gz: 47ca25f27d429c057ef18111039b351340647cc9eb9bc4d634b529b9a2dd430b13a365a33303d731e90d5456f4103b94eb68db5a9121de5c272dba66a24331ab
7
- data.tar.gz: 4262135560e6960f8e61dbaac97dfcadd118493385a10287735bce7900249fe812d230077df36bccd409f59f375276df68f01a32159db53b9adec005d757f218
6
+ metadata.gz: 0f1a997024d3edec4fc34962ad845349574d01cae6ead34690562837c2bf9b191c38ca7bef36eedc67191b509e4c336d3770b0e9b6fd88053fb856e4af25a1c0
7
+ data.tar.gz: 64f849b621a5865b367088694e326fb4461a2544a95a3ffc19a0acfc62ac114870f1cb14884b2713c67620c9947f370e84253aadab980774746a4801241623b1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-bigqueryreservation_v1beta1
2
2
 
3
+ ### v0.12.0 (2021-10-21)
4
+
5
+ * Regenerated from discovery document revision 20211015
6
+ * Unspecified changes
7
+
8
+ ### v0.11.0 (2021-09-16)
9
+
10
+ * Regenerated from discovery document revision 20210910
11
+
12
+ ### v0.10.0 (2021-09-01)
13
+
14
+ * Regenerated from discovery document revision 20210806
15
+
16
+ ### v0.9.0 (2021-06-29)
17
+
18
+ * Regenerated using generator version 0.4.0
19
+
3
20
  ### v0.8.0 (2021-06-24)
4
21
 
5
22
  * Unspecified changes
data/OVERVIEW.md CHANGED
@@ -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 BigqueryreservationV1beta1
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
@@ -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 from other
323
- # reservations within the same admin project. If true, a query using this
324
- # reservation will execute with the slot capacity specified above at most.
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 in the slot_capacity field at most.
325
326
  # Corresponds to the JSON property `ignoreIdleSlots`
326
327
  # @return [Boolean]
327
328
  attr_accessor :ignore_idle_slots
@@ -336,10 +337,12 @@ module Google
336
337
  # Minimum slots available to this reservation. A slot is a unit of computational
337
338
  # power in BigQuery, and serves as the unit of parallelism. Queries using this
338
339
  # reservation might use more slots during runtime if ignore_idle_slots is set to
339
- # 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
340
341
  # capacity or if total slot capacity of the new reservation and its siblings
341
- # exceeds the parent's slot capacity, the request will fail with `google.rpc.
342
- # 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.
343
346
  # Corresponds to the JSON property `slotCapacity`
344
347
  # @return [Fixnum]
345
348
  attr_accessor :slot_capacity
@@ -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.8.0"
19
+ GEM_VERSION = "0.12.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.3.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210607"
25
+ REVISION = "20211015"
26
26
  end
27
27
  end
28
28
  end
@@ -222,6 +222,10 @@ module Google
222
222
  # @param [String] name
223
223
  # Required. Resource name of the capacity commitment to delete. E.g., `projects/
224
224
  # myproject/locations/US/capacityCommitments/123`
225
+ # @param [Boolean] force
226
+ # Can be used to force delete commitments even if assignments exist. Deleting
227
+ # commitments with assignments may cause queries to fail if they no longer have
228
+ # access to slots.
225
229
  # @param [String] fields
226
230
  # Selector specifying which fields to include in a partial response.
227
231
  # @param [String] quota_user
@@ -239,11 +243,12 @@ module Google
239
243
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
240
244
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
241
245
  # @raise [Google::Apis::AuthorizationError] Authorization is required
242
- def delete_project_location_capacity_commitment(name, fields: nil, quota_user: nil, options: nil, &block)
246
+ def delete_project_location_capacity_commitment(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
243
247
  command = make_simple_command(:delete, 'v1beta1/{+name}', options)
244
248
  command.response_representation = Google::Apis::BigqueryreservationV1beta1::Empty::Representation
245
249
  command.response_class = Google::Apis::BigqueryreservationV1beta1::Empty
246
250
  command.params['name'] = name unless name.nil?
251
+ command.query['force'] = force unless force.nil?
247
252
  command.query['fields'] = fields unless fields.nil?
248
253
  command.query['quotaUser'] = quota_user unless quota_user.nil?
249
254
  execute_or_queue_command(command, &block)
@@ -29,10 +29,10 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1beta1'
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_v1beta1
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-06-28 00:00:00.000000000 Z
11
+ date: 2021-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.3'
19
+ version: '0.4'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.3'
29
+ version: '0.4'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigqueryreservation_v1beta1/v0.8.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-bigqueryreservation_v1beta1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigqueryreservation_v1beta1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigqueryreservation_v1beta1/v0.12.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigqueryreservation_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: