google-apis-metastore_v1beta 0.23.0 → 0.24.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/metastore_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/metastore_v1beta/service.rb +236 -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: 41adc6928a9bbbfd00d556b0782f65d39bfc8cfd7f024aba43cce5a349b04372
|
4
|
+
data.tar.gz: b6367cd53b7a62e239545ed79157c5eee86e83da7d24e7801bb11708a8d9477a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: feea87fe702bc89e15514025c3769f36d8bd6fdd90a2944c3b2fc4a25cbc75758c9e8aae98fd821832492b3b827b8ec27cae404437cf6435232df172235666ff
|
7
|
+
data.tar.gz: 24cf07a6fc3e1fba524ec19dfa46afcd788ba01403dbb527ca9776fe55d20646472f2cca1b76b7064c2355a3ba0c9cbaa101ec02c161a35c24c3313a22070961
|
data/CHANGELOG.md
CHANGED
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module MetastoreV1beta
|
18
18
|
# Version of the google-apis-metastore_v1beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.24.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220205"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -978,6 +978,242 @@ module Google
|
|
978
978
|
execute_or_queue_command(command, &block)
|
979
979
|
end
|
980
980
|
|
981
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
982
|
+
# resource exists and does not have a policy set.
|
983
|
+
# @param [String] resource
|
984
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
985
|
+
# operation documentation for the appropriate value for this field.
|
986
|
+
# @param [Fixnum] options_requested_policy_version
|
987
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
988
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
989
|
+
# rejected.Requests for policies with any conditional role bindings must specify
|
990
|
+
# version 3. Policies with no conditional role bindings may specify any valid
|
991
|
+
# value or leave the field unset.The policy in the response might use the policy
|
992
|
+
# version that you specified, or it might use a lower policy version. For
|
993
|
+
# example, if you specify version 3, but the policy has no conditional role
|
994
|
+
# bindings, the response uses version 1.To learn which resources support
|
995
|
+
# conditions in their IAM policies, see the IAM documentation (https://cloud.
|
996
|
+
# google.com/iam/help/conditions/resource-policies).
|
997
|
+
# @param [String] fields
|
998
|
+
# Selector specifying which fields to include in a partial response.
|
999
|
+
# @param [String] quota_user
|
1000
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1001
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1002
|
+
# @param [Google::Apis::RequestOptions] options
|
1003
|
+
# Request-specific options
|
1004
|
+
#
|
1005
|
+
# @yield [result, err] Result & error if block supplied
|
1006
|
+
# @yieldparam result [Google::Apis::MetastoreV1beta::Policy] parsed result object
|
1007
|
+
# @yieldparam err [StandardError] error object if request failed
|
1008
|
+
#
|
1009
|
+
# @return [Google::Apis::MetastoreV1beta::Policy]
|
1010
|
+
#
|
1011
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1012
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1013
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1014
|
+
def get_project_location_service_database_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1015
|
+
command = make_simple_command(:get, 'v1beta/{+resource}:getIamPolicy', options)
|
1016
|
+
command.response_representation = Google::Apis::MetastoreV1beta::Policy::Representation
|
1017
|
+
command.response_class = Google::Apis::MetastoreV1beta::Policy
|
1018
|
+
command.params['resource'] = resource unless resource.nil?
|
1019
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
1020
|
+
command.query['fields'] = fields unless fields.nil?
|
1021
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1022
|
+
execute_or_queue_command(command, &block)
|
1023
|
+
end
|
1024
|
+
|
1025
|
+
# Sets the access control policy on the specified resource. Replaces any
|
1026
|
+
# existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
|
1027
|
+
# errors.
|
1028
|
+
# @param [String] resource
|
1029
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
1030
|
+
# operation documentation for the appropriate value for this field.
|
1031
|
+
# @param [Google::Apis::MetastoreV1beta::SetIamPolicyRequest] set_iam_policy_request_object
|
1032
|
+
# @param [String] fields
|
1033
|
+
# Selector specifying which fields to include in a partial response.
|
1034
|
+
# @param [String] quota_user
|
1035
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1036
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1037
|
+
# @param [Google::Apis::RequestOptions] options
|
1038
|
+
# Request-specific options
|
1039
|
+
#
|
1040
|
+
# @yield [result, err] Result & error if block supplied
|
1041
|
+
# @yieldparam result [Google::Apis::MetastoreV1beta::Policy] parsed result object
|
1042
|
+
# @yieldparam err [StandardError] error object if request failed
|
1043
|
+
#
|
1044
|
+
# @return [Google::Apis::MetastoreV1beta::Policy]
|
1045
|
+
#
|
1046
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1047
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1048
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1049
|
+
def set_database_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1050
|
+
command = make_simple_command(:post, 'v1beta/{+resource}:setIamPolicy', options)
|
1051
|
+
command.request_representation = Google::Apis::MetastoreV1beta::SetIamPolicyRequest::Representation
|
1052
|
+
command.request_object = set_iam_policy_request_object
|
1053
|
+
command.response_representation = Google::Apis::MetastoreV1beta::Policy::Representation
|
1054
|
+
command.response_class = Google::Apis::MetastoreV1beta::Policy
|
1055
|
+
command.params['resource'] = resource unless resource.nil?
|
1056
|
+
command.query['fields'] = fields unless fields.nil?
|
1057
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1058
|
+
execute_or_queue_command(command, &block)
|
1059
|
+
end
|
1060
|
+
|
1061
|
+
# Returns permissions that a caller has on the specified resource. If the
|
1062
|
+
# resource does not exist, this will return an empty set of permissions, not a
|
1063
|
+
# NOT_FOUND error.Note: This operation is designed to be used for building
|
1064
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
1065
|
+
# This operation may "fail open" without warning.
|
1066
|
+
# @param [String] resource
|
1067
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
1068
|
+
# operation documentation for the appropriate value for this field.
|
1069
|
+
# @param [Google::Apis::MetastoreV1beta::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1070
|
+
# @param [String] fields
|
1071
|
+
# Selector specifying which fields to include in a partial response.
|
1072
|
+
# @param [String] quota_user
|
1073
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1074
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1075
|
+
# @param [Google::Apis::RequestOptions] options
|
1076
|
+
# Request-specific options
|
1077
|
+
#
|
1078
|
+
# @yield [result, err] Result & error if block supplied
|
1079
|
+
# @yieldparam result [Google::Apis::MetastoreV1beta::TestIamPermissionsResponse] parsed result object
|
1080
|
+
# @yieldparam err [StandardError] error object if request failed
|
1081
|
+
#
|
1082
|
+
# @return [Google::Apis::MetastoreV1beta::TestIamPermissionsResponse]
|
1083
|
+
#
|
1084
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1085
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1086
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1087
|
+
def test_database_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1088
|
+
command = make_simple_command(:post, 'v1beta/{+resource}:testIamPermissions', options)
|
1089
|
+
command.request_representation = Google::Apis::MetastoreV1beta::TestIamPermissionsRequest::Representation
|
1090
|
+
command.request_object = test_iam_permissions_request_object
|
1091
|
+
command.response_representation = Google::Apis::MetastoreV1beta::TestIamPermissionsResponse::Representation
|
1092
|
+
command.response_class = Google::Apis::MetastoreV1beta::TestIamPermissionsResponse
|
1093
|
+
command.params['resource'] = resource unless resource.nil?
|
1094
|
+
command.query['fields'] = fields unless fields.nil?
|
1095
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1096
|
+
execute_or_queue_command(command, &block)
|
1097
|
+
end
|
1098
|
+
|
1099
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
1100
|
+
# resource exists and does not have a policy set.
|
1101
|
+
# @param [String] resource
|
1102
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
1103
|
+
# operation documentation for the appropriate value for this field.
|
1104
|
+
# @param [Fixnum] options_requested_policy_version
|
1105
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
1106
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1107
|
+
# rejected.Requests for policies with any conditional role bindings must specify
|
1108
|
+
# version 3. Policies with no conditional role bindings may specify any valid
|
1109
|
+
# value or leave the field unset.The policy in the response might use the policy
|
1110
|
+
# version that you specified, or it might use a lower policy version. For
|
1111
|
+
# example, if you specify version 3, but the policy has no conditional role
|
1112
|
+
# bindings, the response uses version 1.To learn which resources support
|
1113
|
+
# conditions in their IAM policies, see the IAM documentation (https://cloud.
|
1114
|
+
# google.com/iam/help/conditions/resource-policies).
|
1115
|
+
# @param [String] fields
|
1116
|
+
# Selector specifying which fields to include in a partial response.
|
1117
|
+
# @param [String] quota_user
|
1118
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1119
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1120
|
+
# @param [Google::Apis::RequestOptions] options
|
1121
|
+
# Request-specific options
|
1122
|
+
#
|
1123
|
+
# @yield [result, err] Result & error if block supplied
|
1124
|
+
# @yieldparam result [Google::Apis::MetastoreV1beta::Policy] parsed result object
|
1125
|
+
# @yieldparam err [StandardError] error object if request failed
|
1126
|
+
#
|
1127
|
+
# @return [Google::Apis::MetastoreV1beta::Policy]
|
1128
|
+
#
|
1129
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1130
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1131
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1132
|
+
def get_project_location_service_database_table_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1133
|
+
command = make_simple_command(:get, 'v1beta/{+resource}:getIamPolicy', options)
|
1134
|
+
command.response_representation = Google::Apis::MetastoreV1beta::Policy::Representation
|
1135
|
+
command.response_class = Google::Apis::MetastoreV1beta::Policy
|
1136
|
+
command.params['resource'] = resource unless resource.nil?
|
1137
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
1138
|
+
command.query['fields'] = fields unless fields.nil?
|
1139
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1140
|
+
execute_or_queue_command(command, &block)
|
1141
|
+
end
|
1142
|
+
|
1143
|
+
# Sets the access control policy on the specified resource. Replaces any
|
1144
|
+
# existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
|
1145
|
+
# errors.
|
1146
|
+
# @param [String] resource
|
1147
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
1148
|
+
# operation documentation for the appropriate value for this field.
|
1149
|
+
# @param [Google::Apis::MetastoreV1beta::SetIamPolicyRequest] set_iam_policy_request_object
|
1150
|
+
# @param [String] fields
|
1151
|
+
# Selector specifying which fields to include in a partial response.
|
1152
|
+
# @param [String] quota_user
|
1153
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1154
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1155
|
+
# @param [Google::Apis::RequestOptions] options
|
1156
|
+
# Request-specific options
|
1157
|
+
#
|
1158
|
+
# @yield [result, err] Result & error if block supplied
|
1159
|
+
# @yieldparam result [Google::Apis::MetastoreV1beta::Policy] parsed result object
|
1160
|
+
# @yieldparam err [StandardError] error object if request failed
|
1161
|
+
#
|
1162
|
+
# @return [Google::Apis::MetastoreV1beta::Policy]
|
1163
|
+
#
|
1164
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1165
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1166
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1167
|
+
def set_table_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1168
|
+
command = make_simple_command(:post, 'v1beta/{+resource}:setIamPolicy', options)
|
1169
|
+
command.request_representation = Google::Apis::MetastoreV1beta::SetIamPolicyRequest::Representation
|
1170
|
+
command.request_object = set_iam_policy_request_object
|
1171
|
+
command.response_representation = Google::Apis::MetastoreV1beta::Policy::Representation
|
1172
|
+
command.response_class = Google::Apis::MetastoreV1beta::Policy
|
1173
|
+
command.params['resource'] = resource unless resource.nil?
|
1174
|
+
command.query['fields'] = fields unless fields.nil?
|
1175
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1176
|
+
execute_or_queue_command(command, &block)
|
1177
|
+
end
|
1178
|
+
|
1179
|
+
# Returns permissions that a caller has on the specified resource. If the
|
1180
|
+
# resource does not exist, this will return an empty set of permissions, not a
|
1181
|
+
# NOT_FOUND error.Note: This operation is designed to be used for building
|
1182
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
1183
|
+
# This operation may "fail open" without warning.
|
1184
|
+
# @param [String] resource
|
1185
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
1186
|
+
# operation documentation for the appropriate value for this field.
|
1187
|
+
# @param [Google::Apis::MetastoreV1beta::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1188
|
+
# @param [String] fields
|
1189
|
+
# Selector specifying which fields to include in a partial response.
|
1190
|
+
# @param [String] quota_user
|
1191
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1192
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1193
|
+
# @param [Google::Apis::RequestOptions] options
|
1194
|
+
# Request-specific options
|
1195
|
+
#
|
1196
|
+
# @yield [result, err] Result & error if block supplied
|
1197
|
+
# @yieldparam result [Google::Apis::MetastoreV1beta::TestIamPermissionsResponse] parsed result object
|
1198
|
+
# @yieldparam err [StandardError] error object if request failed
|
1199
|
+
#
|
1200
|
+
# @return [Google::Apis::MetastoreV1beta::TestIamPermissionsResponse]
|
1201
|
+
#
|
1202
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1203
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1204
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1205
|
+
def test_table_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1206
|
+
command = make_simple_command(:post, 'v1beta/{+resource}:testIamPermissions', options)
|
1207
|
+
command.request_representation = Google::Apis::MetastoreV1beta::TestIamPermissionsRequest::Representation
|
1208
|
+
command.request_object = test_iam_permissions_request_object
|
1209
|
+
command.response_representation = Google::Apis::MetastoreV1beta::TestIamPermissionsResponse::Representation
|
1210
|
+
command.response_class = Google::Apis::MetastoreV1beta::TestIamPermissionsResponse
|
1211
|
+
command.params['resource'] = resource unless resource.nil?
|
1212
|
+
command.query['fields'] = fields unless fields.nil?
|
1213
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1214
|
+
execute_or_queue_command(command, &block)
|
1215
|
+
end
|
1216
|
+
|
981
1217
|
# Creates a new MetadataImport in a given project and location.
|
982
1218
|
# @param [String] parent
|
983
1219
|
# Required. The relative resource name of the service in which to create a
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-metastore_v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.24.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-02-
|
11
|
+
date: 2022-02-14 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-metastore_v1beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1beta/v0.24.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-metastore_v1beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|