google-apis-bigqueryreservation_v1 0.7.0 → 0.11.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: 10ec8ea6a289ac785df2c5a696cbc5fbe49bd9b463789eb5e693f738aed054fc
4
- data.tar.gz: 11e108eb4c5e238ca0f00317cb6fa6fee56243a3c0742d882e2f5d44e459c927
3
+ metadata.gz: 9782da66170ab924538ffde649414e23681858cb7a7c92fcaf42b5778f3408a6
4
+ data.tar.gz: 79528b45c1c75ffe7a712dc0423aad77705b88c78be017f4dc8eb5a045cd7f36
5
5
  SHA512:
6
- metadata.gz: 317a69d00867fd2fa74bd7fff7bf41d0d646d308a6782acac25d85dd5d636a2a45ad14ce36f46d15734cd72cc3bb3eff922510e53b12771d89954c8b91ec581b
7
- data.tar.gz: 72ee1d7c85077833c1e7556bf9f41c52b540f1092367a48a0ab3f8b80aeeac4be960a716293578cf1706a530713e142591e97d13e8054c887e7b11f5a65b3f99
6
+ metadata.gz: 82b8e29251ce9fb347587915a5e1658eec900ba0633984ce9a59bf9dac386a1e4e265fe8fc788a89ad75734c77ad13aac1ea8f9292eefa59d8e15f89cb9065a0
7
+ data.tar.gz: cce7cbbb8bc63c236e772576f72b10cf644dbf7dfe2548d0b51f4a5de0c63f1fa85af51fb32d38f47905e9951659fb8b094782373141aa59d30ee25faa83a2fc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-bigqueryreservation_v1
2
2
 
3
+ ### v0.11.0 (2021-10-21)
4
+
5
+ * Regenerated from discovery document revision 20211015
6
+ * Unspecified changes
7
+
8
+ ### v0.10.0 (2021-09-16)
9
+
10
+ * Regenerated from discovery document revision 20210910
11
+
12
+ ### v0.9.0 (2021-09-01)
13
+
14
+ * Regenerated from discovery document revision 20210806
15
+
16
+ ### v0.8.0 (2021-06-29)
17
+
18
+ * Regenerated using generator version 0.4.0
19
+
3
20
  ### v0.7.0 (2021-06-24)
4
21
 
5
22
  * Regenerated using generator version 0.3.0
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 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.7.0"
19
+ GEM_VERSION = "0.11.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 = "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.7.0
4
+ version: 0.11.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigqueryreservation_v1/v0.7.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.11.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: