google-apis-spanner_v1 0.32.0 → 0.33.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: 3ebc4e1c56604db24572ad85d3b3dbc50d3641699006f5b3873fc8ba308327cd
4
- data.tar.gz: 915199705f595e0dc523fae23899123c64b1fba8797f2ba097e61ed7f931ce5e
3
+ metadata.gz: c49c4c21a82fcf3ed98c5acad0deffa88d5e33980f60c6e4469e0748a05d0034
4
+ data.tar.gz: e573f4fdc973538628b9267a2807c0999599b2192bdf15fac548b00da3096735
5
5
  SHA512:
6
- metadata.gz: b186ef6f4da24f526a2621227364d3fbac2ab1b28d400c86ab594ae54f303d63a08e8ebfce82a22a236285767b35dd00de04d8db48775849c8fda1316f50a9c5
7
- data.tar.gz: 99b785c3a771003129dcc59c06deb73f760192e18610f765741a3822af0a43528a9aea47356c6750c5f5558d2fbae27ff4a79b36c7bd25b5f532f7b7ae7a3c71
6
+ metadata.gz: 55ae6b8efc38a7f71e01a6f9549e84372ba3e8a447a6632ef68ecaa3a9eaa6313edaddf01c558c244a8f2bd4adcb6d63f2e084dca3ec0ddebef5c70be0d50b82
7
+ data.tar.gz: c719334ec274e087faf0c2731e87fe47b0edfde06b2150657bf2867e1bb280539d12a6beeff37b8a22d689892611702f3c56f27b9166177f508e56871cc409b1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-spanner_v1
2
2
 
3
+ ### v0.33.0 (2022-07-23)
4
+
5
+ * Regenerated from discovery document revision 20220718
6
+ * Regenerated using generator version 0.9.0
7
+
3
8
  ### v0.32.0 (2022-06-30)
4
9
 
5
10
  * Regenerated using generator version 0.8.0
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SpannerV1
18
18
  # Version of the google-apis-spanner_v1 gem
19
- GEM_VERSION = "0.32.0"
19
+ GEM_VERSION = "0.33.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.8.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220615"
25
+ REVISION = "20220718"
26
26
  end
27
27
  end
28
28
  end
@@ -1756,6 +1756,47 @@ module Google
1756
1756
  execute_or_queue_command(command, &block)
1757
1757
  end
1758
1758
 
1759
+ # Returns permissions that the caller has on the specified database or backup
1760
+ # resource. Attempting this RPC on a non-existent Cloud Spanner database will
1761
+ # result in a NOT_FOUND error if the user has `spanner.databases.list`
1762
+ # permission on the containing Cloud Spanner instance. Otherwise returns an
1763
+ # empty set of permissions. Calling this method on a backup that does not exist
1764
+ # will result in a NOT_FOUND error if the user has `spanner.backups.list`
1765
+ # permission on the containing instance.
1766
+ # @param [String] resource
1767
+ # REQUIRED: The Cloud Spanner resource for which permissions are being tested.
1768
+ # The format is `projects//instances/` for instance resources and `projects//
1769
+ # instances//databases/` for database resources.
1770
+ # @param [Google::Apis::SpannerV1::TestIamPermissionsRequest] test_iam_permissions_request_object
1771
+ # @param [String] fields
1772
+ # Selector specifying which fields to include in a partial response.
1773
+ # @param [String] quota_user
1774
+ # Available to use for quota purposes for server-side applications. Can be any
1775
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1776
+ # @param [Google::Apis::RequestOptions] options
1777
+ # Request-specific options
1778
+ #
1779
+ # @yield [result, err] Result & error if block supplied
1780
+ # @yieldparam result [Google::Apis::SpannerV1::TestIamPermissionsResponse] parsed result object
1781
+ # @yieldparam err [StandardError] error object if request failed
1782
+ #
1783
+ # @return [Google::Apis::SpannerV1::TestIamPermissionsResponse]
1784
+ #
1785
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1786
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1787
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1788
+ def test_database_role_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1789
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
1790
+ command.request_representation = Google::Apis::SpannerV1::TestIamPermissionsRequest::Representation
1791
+ command.request_object = test_iam_permissions_request_object
1792
+ command.response_representation = Google::Apis::SpannerV1::TestIamPermissionsResponse::Representation
1793
+ command.response_class = Google::Apis::SpannerV1::TestIamPermissionsResponse
1794
+ command.params['resource'] = resource unless resource.nil?
1795
+ command.query['fields'] = fields unless fields.nil?
1796
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1797
+ execute_or_queue_command(command, &block)
1798
+ end
1799
+
1759
1800
  # Starts asynchronous cancellation on a long-running operation. The server makes
1760
1801
  # a best effort to cancel the operation, but success is not guaranteed. If the
1761
1802
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-spanner_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.32.0
4
+ version: 0.33.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: 2022-07-04 00:00:00.000000000 Z
11
+ date: 2022-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-spanner_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-spanner_v1/v0.32.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-spanner_v1/v0.33.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-spanner_v1
63
63
  post_install_message:
64
64
  rdoc_options: []