google-apis-bigqueryreservation_v1beta1 0.6.0 → 0.10.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: 3be810b292a09067e671cbb7195a1e0e156562311fae4718f831299e8697a12f
4
- data.tar.gz: dd46b0cbc0958bdc67f7d1928958b68d8639f41bfe0779db5f72e77941b9f936
3
+ metadata.gz: fbce091ee1c77ba1f8628b8db4b74206616904ba536accebc4bff976075c8b6f
4
+ data.tar.gz: 7decc930037b6c2e096239a572d06806c8a5a7407218552727bd61f6c52797aa
5
5
  SHA512:
6
- metadata.gz: 2d3a692bc9011a23b7f9689c6ebd74d2e0bbef32b034f63d0b4b9fdb9493a82f22decf1a1420a4dc577a2e6fbe0dece6a2fe037864a14d0dd936be6945d6b3b1
7
- data.tar.gz: 526c6c02c1501732407145e2e5fb13f89aebf804b59ae6a304c9717ef5d07a86eb1d1adc9ceddbefb4886deaac9c077249ede66390eab4bcc72acc2b257766a1
6
+ metadata.gz: 4de48acb1c4bb969a90f124f85f5d89d8330074e1cc6ead4b557f46af6014a10e7c50ddea49b40967eaedc52327b13c6cd04a5301e55ec44b4ca6a80d7a00651
7
+ data.tar.gz: 78ff2948c2b2545f75de1c34c12fd9aaf808fee05e26cd3f1f820f8e2f6ed6409427b6eb100bcabe03a6236949b0e3326ab7882708431306e31bd2baf158d371
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-bigqueryreservation_v1beta1
2
2
 
3
+ ### v0.10.0 (2021-09-01)
4
+
5
+ * Regenerated from discovery document revision 20210806
6
+
7
+ ### v0.9.0 (2021-06-29)
8
+
9
+ * Regenerated using generator version 0.4.0
10
+
11
+ ### v0.8.0 (2021-06-24)
12
+
13
+ * Unspecified changes
14
+
15
+ ### v0.7.0 (2021-06-14)
16
+
17
+ * Regenerated from discovery document revision 20210607
18
+ * Regenerated using generator version 0.3.0
19
+
3
20
  ### v0.6.0 (2021-05-19)
4
21
 
5
22
  * Unspecified changes
@@ -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.6.0"
19
+ GEM_VERSION = "0.10.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.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 = "20210806"
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)
@@ -790,6 +795,43 @@ module Google
790
795
  command.query['quotaUser'] = quota_user unless quota_user.nil?
791
796
  execute_or_queue_command(command, &block)
792
797
  end
798
+
799
+ # Updates an existing assignment. Only the `priority` field can be updated.
800
+ # @param [String] name
801
+ # Output only. Name of the resource. E.g.: `projects/myproject/locations/US/
802
+ # reservations/team1-prod/assignments/123`.
803
+ # @param [Google::Apis::BigqueryreservationV1beta1::Assignment] assignment_object
804
+ # @param [String] update_mask
805
+ # Standard field mask for the set of fields to be updated.
806
+ # @param [String] fields
807
+ # Selector specifying which fields to include in a partial response.
808
+ # @param [String] quota_user
809
+ # Available to use for quota purposes for server-side applications. Can be any
810
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
811
+ # @param [Google::Apis::RequestOptions] options
812
+ # Request-specific options
813
+ #
814
+ # @yield [result, err] Result & error if block supplied
815
+ # @yieldparam result [Google::Apis::BigqueryreservationV1beta1::Assignment] parsed result object
816
+ # @yieldparam err [StandardError] error object if request failed
817
+ #
818
+ # @return [Google::Apis::BigqueryreservationV1beta1::Assignment]
819
+ #
820
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
821
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
822
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
823
+ def patch_project_location_reservation_assignment(name, assignment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
824
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
825
+ command.request_representation = Google::Apis::BigqueryreservationV1beta1::Assignment::Representation
826
+ command.request_object = assignment_object
827
+ command.response_representation = Google::Apis::BigqueryreservationV1beta1::Assignment::Representation
828
+ command.response_class = Google::Apis::BigqueryreservationV1beta1::Assignment
829
+ command.params['name'] = name unless name.nil?
830
+ command.query['updateMask'] = update_mask unless update_mask.nil?
831
+ command.query['fields'] = fields unless fields.nil?
832
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
833
+ execute_or_queue_command(command, &block)
834
+ end
793
835
 
794
836
  protected
795
837
 
@@ -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,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.6.0
4
+ version: 0.10.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-05-24 00:00:00.000000000 Z
11
+ date: 2021-09-06 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.1'
19
+ version: '0.4'
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.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
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.6.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigqueryreservation_v1beta1/v0.10.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: []