google-apis-bigtableadmin_v2 0.51.0 → 0.52.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/bigtableadmin_v2/gem_version.rb +2 -2
- data/lib/google/apis/bigtableadmin_v2/service.rb +108 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88ce56ada2f06fdf7927def79928f4a6b65ef3f4580a190604c2388853a8dd74
|
4
|
+
data.tar.gz: 9198cea4bc5dcd024a3f24a817ebdc6fa482e2b8433093a593800dfc0d4314be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e63e783db12113825200866b3d665b732509316b1aa06a3b2ff8fdf4eabbd58d16bf187c0b869d11b4a421216835dd352f6dc2da20aad3372528392cf87c848
|
7
|
+
data.tar.gz: 4340eef5ab2d59f1561fd8c91bff9a90e2570e53735817bcc153bc3e8203779060d8d88f9d69415b77ad67993457c9c6367b9d0a5937d550d935c990fdce201b
|
data/CHANGELOG.md
CHANGED
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module BigtableadminV2
|
18
18
|
# Version of the google-apis-bigtableadmin_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.52.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240319"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1911,6 +1911,42 @@ module Google
|
|
1911
1911
|
execute_or_queue_command(command, &block)
|
1912
1912
|
end
|
1913
1913
|
|
1914
|
+
# Gets the access control policy for a Table or Backup resource. Returns an
|
1915
|
+
# empty policy if the resource exists but does not have a policy set.
|
1916
|
+
# @param [String] resource
|
1917
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
1918
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1919
|
+
# appropriate value for this field.
|
1920
|
+
# @param [Google::Apis::BigtableadminV2::GetIamPolicyRequest] get_iam_policy_request_object
|
1921
|
+
# @param [String] fields
|
1922
|
+
# Selector specifying which fields to include in a partial response.
|
1923
|
+
# @param [String] quota_user
|
1924
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1925
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1926
|
+
# @param [Google::Apis::RequestOptions] options
|
1927
|
+
# Request-specific options
|
1928
|
+
#
|
1929
|
+
# @yield [result, err] Result & error if block supplied
|
1930
|
+
# @yieldparam result [Google::Apis::BigtableadminV2::Policy] parsed result object
|
1931
|
+
# @yieldparam err [StandardError] error object if request failed
|
1932
|
+
#
|
1933
|
+
# @return [Google::Apis::BigtableadminV2::Policy]
|
1934
|
+
#
|
1935
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1936
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1937
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1938
|
+
def get_authorized_view_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1939
|
+
command = make_simple_command(:post, 'v2/{+resource}:getIamPolicy', options)
|
1940
|
+
command.request_representation = Google::Apis::BigtableadminV2::GetIamPolicyRequest::Representation
|
1941
|
+
command.request_object = get_iam_policy_request_object
|
1942
|
+
command.response_representation = Google::Apis::BigtableadminV2::Policy::Representation
|
1943
|
+
command.response_class = Google::Apis::BigtableadminV2::Policy
|
1944
|
+
command.params['resource'] = resource unless resource.nil?
|
1945
|
+
command.query['fields'] = fields unless fields.nil?
|
1946
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1947
|
+
execute_or_queue_command(command, &block)
|
1948
|
+
end
|
1949
|
+
|
1914
1950
|
# Lists all AuthorizedViews from a specific table.
|
1915
1951
|
# @param [String] parent
|
1916
1952
|
# Required. The unique name of the table for which AuthorizedViews should be
|
@@ -2003,6 +2039,78 @@ module Google
|
|
2003
2039
|
execute_or_queue_command(command, &block)
|
2004
2040
|
end
|
2005
2041
|
|
2042
|
+
# Sets the access control policy on a Table or Backup resource. Replaces any
|
2043
|
+
# existing policy.
|
2044
|
+
# @param [String] resource
|
2045
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
2046
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
2047
|
+
# appropriate value for this field.
|
2048
|
+
# @param [Google::Apis::BigtableadminV2::SetIamPolicyRequest] set_iam_policy_request_object
|
2049
|
+
# @param [String] fields
|
2050
|
+
# Selector specifying which fields to include in a partial response.
|
2051
|
+
# @param [String] quota_user
|
2052
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2053
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2054
|
+
# @param [Google::Apis::RequestOptions] options
|
2055
|
+
# Request-specific options
|
2056
|
+
#
|
2057
|
+
# @yield [result, err] Result & error if block supplied
|
2058
|
+
# @yieldparam result [Google::Apis::BigtableadminV2::Policy] parsed result object
|
2059
|
+
# @yieldparam err [StandardError] error object if request failed
|
2060
|
+
#
|
2061
|
+
# @return [Google::Apis::BigtableadminV2::Policy]
|
2062
|
+
#
|
2063
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2064
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2065
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2066
|
+
def set_authorized_view_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2067
|
+
command = make_simple_command(:post, 'v2/{+resource}:setIamPolicy', options)
|
2068
|
+
command.request_representation = Google::Apis::BigtableadminV2::SetIamPolicyRequest::Representation
|
2069
|
+
command.request_object = set_iam_policy_request_object
|
2070
|
+
command.response_representation = Google::Apis::BigtableadminV2::Policy::Representation
|
2071
|
+
command.response_class = Google::Apis::BigtableadminV2::Policy
|
2072
|
+
command.params['resource'] = resource unless resource.nil?
|
2073
|
+
command.query['fields'] = fields unless fields.nil?
|
2074
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2075
|
+
execute_or_queue_command(command, &block)
|
2076
|
+
end
|
2077
|
+
|
2078
|
+
# Returns permissions that the caller has on the specified Table or Backup
|
2079
|
+
# resource.
|
2080
|
+
# @param [String] resource
|
2081
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
2082
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
2083
|
+
# appropriate value for this field.
|
2084
|
+
# @param [Google::Apis::BigtableadminV2::TestIamPermissionsRequest] test_iam_permissions_request_object
|
2085
|
+
# @param [String] fields
|
2086
|
+
# Selector specifying which fields to include in a partial response.
|
2087
|
+
# @param [String] quota_user
|
2088
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2089
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2090
|
+
# @param [Google::Apis::RequestOptions] options
|
2091
|
+
# Request-specific options
|
2092
|
+
#
|
2093
|
+
# @yield [result, err] Result & error if block supplied
|
2094
|
+
# @yieldparam result [Google::Apis::BigtableadminV2::TestIamPermissionsResponse] parsed result object
|
2095
|
+
# @yieldparam err [StandardError] error object if request failed
|
2096
|
+
#
|
2097
|
+
# @return [Google::Apis::BigtableadminV2::TestIamPermissionsResponse]
|
2098
|
+
#
|
2099
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2100
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2101
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2102
|
+
def test_authorized_view_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2103
|
+
command = make_simple_command(:post, 'v2/{+resource}:testIamPermissions', options)
|
2104
|
+
command.request_representation = Google::Apis::BigtableadminV2::TestIamPermissionsRequest::Representation
|
2105
|
+
command.request_object = test_iam_permissions_request_object
|
2106
|
+
command.response_representation = Google::Apis::BigtableadminV2::TestIamPermissionsResponse::Representation
|
2107
|
+
command.response_class = Google::Apis::BigtableadminV2::TestIamPermissionsResponse
|
2108
|
+
command.params['resource'] = resource unless resource.nil?
|
2109
|
+
command.query['fields'] = fields unless fields.nil?
|
2110
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2111
|
+
execute_or_queue_command(command, &block)
|
2112
|
+
end
|
2113
|
+
|
2006
2114
|
# Lists information about the supported locations for this service.
|
2007
2115
|
# @param [String] name
|
2008
2116
|
# The resource that owns the locations collection, if applicable.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-bigtableadmin_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.52.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: 2024-03-
|
11
|
+
date: 2024-03-31 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-bigtableadmin_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v2/v0.52.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigtableadmin_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|