google-apis-metastore_v1beta 0.22.0 → 0.25.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8ee8ccc8a9c80a5b4ce8a9ea1ff60ff8d7afc673de0c7ec59552f43889783df
|
4
|
+
data.tar.gz: 7d5ac2261e61e8749adeae6c21ee6322747efcda4df83122df02af764ea92100
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2248261d89295c5e7c534f45da74c322facfa30d5c58d5e05b4386e26c6af6085a273b4cf53a380c345af8cc54f80c7ac6f501e383a91d12fa7fda824dda08a
|
7
|
+
data.tar.gz: bf5bbafabbe90df48af467daf05f881e149e04217bc5b9046688e9edacbbe6be68c54cace21b29549d0b3655ef73f5d0e8fdeeba852ac7ef7957e3203e3d94a3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-metastore_v1beta
|
2
2
|
|
3
|
+
### v0.25.0 (2022-04-09)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220331
|
6
|
+
|
7
|
+
### v0.24.0 (2022-02-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220205
|
10
|
+
|
11
|
+
### v0.23.0 (2022-02-06)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220127
|
14
|
+
|
3
15
|
### v0.22.0 (2022-01-24)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220118
|
@@ -372,8 +372,7 @@ module Google
|
|
372
372
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
373
373
|
# messages in your APIs. A typical example is to use it as the request or the
|
374
374
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
375
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
376
|
-
# Empty is empty JSON object ``.
|
375
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
377
376
|
class Empty
|
378
377
|
include Google::Apis::Core::Hashable
|
379
378
|
|
@@ -1265,6 +1264,39 @@ module Google
|
|
1265
1264
|
end
|
1266
1265
|
end
|
1267
1266
|
|
1267
|
+
# Request message for DataprocMetastore.RemoveIamPolicy.
|
1268
|
+
class RemoveIamPolicyRequest
|
1269
|
+
include Google::Apis::Core::Hashable
|
1270
|
+
|
1271
|
+
def initialize(**args)
|
1272
|
+
update!(**args)
|
1273
|
+
end
|
1274
|
+
|
1275
|
+
# Update properties of this object
|
1276
|
+
def update!(**args)
|
1277
|
+
end
|
1278
|
+
end
|
1279
|
+
|
1280
|
+
# Response message for DataprocMetastore.RemoveIamPolicy.
|
1281
|
+
class RemoveIamPolicyResponse
|
1282
|
+
include Google::Apis::Core::Hashable
|
1283
|
+
|
1284
|
+
# whether related policies are removed
|
1285
|
+
# Corresponds to the JSON property `success`
|
1286
|
+
# @return [Boolean]
|
1287
|
+
attr_accessor :success
|
1288
|
+
alias_method :success?, :success
|
1289
|
+
|
1290
|
+
def initialize(**args)
|
1291
|
+
update!(**args)
|
1292
|
+
end
|
1293
|
+
|
1294
|
+
# Update properties of this object
|
1295
|
+
def update!(**args)
|
1296
|
+
@success = args[:success] if args.key?(:success)
|
1297
|
+
end
|
1298
|
+
end
|
1299
|
+
|
1268
1300
|
# The details of a metadata restore operation.
|
1269
1301
|
class Restore
|
1270
1302
|
include Google::Apis::Core::Hashable
|
@@ -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.25.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 = "20220331"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -220,6 +220,18 @@ module Google
|
|
220
220
|
include Google::Apis::Core::JsonObjectSupport
|
221
221
|
end
|
222
222
|
|
223
|
+
class RemoveIamPolicyRequest
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class RemoveIamPolicyResponse
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
223
235
|
class Restore
|
224
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
237
|
|
@@ -587,6 +599,19 @@ module Google
|
|
587
599
|
end
|
588
600
|
end
|
589
601
|
|
602
|
+
class RemoveIamPolicyRequest
|
603
|
+
# @private
|
604
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
605
|
+
end
|
606
|
+
end
|
607
|
+
|
608
|
+
class RemoveIamPolicyResponse
|
609
|
+
# @private
|
610
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
611
|
+
property :success, as: 'success'
|
612
|
+
end
|
613
|
+
end
|
614
|
+
|
590
615
|
class Restore
|
591
616
|
# @private
|
592
617
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -538,6 +538,43 @@ module Google
|
|
538
538
|
execute_or_queue_command(command, &block)
|
539
539
|
end
|
540
540
|
|
541
|
+
# Removes the attached IAM policies for a resource
|
542
|
+
# @param [String] resource
|
543
|
+
# Required. The relative resource name of the dataplane resource to remove IAM
|
544
|
+
# policy, in the following form:projects/`project_id`/locations/`location_id`/
|
545
|
+
# services/`service_id`/databases/`database_id` or projects/`project_id`/
|
546
|
+
# locations/`location_id`/services/`service_id`/databases/`database_id`/tables/`
|
547
|
+
# table_id`.
|
548
|
+
# @param [Google::Apis::MetastoreV1beta::RemoveIamPolicyRequest] remove_iam_policy_request_object
|
549
|
+
# @param [String] fields
|
550
|
+
# Selector specifying which fields to include in a partial response.
|
551
|
+
# @param [String] quota_user
|
552
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
553
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
554
|
+
# @param [Google::Apis::RequestOptions] options
|
555
|
+
# Request-specific options
|
556
|
+
#
|
557
|
+
# @yield [result, err] Result & error if block supplied
|
558
|
+
# @yieldparam result [Google::Apis::MetastoreV1beta::RemoveIamPolicyResponse] parsed result object
|
559
|
+
# @yieldparam err [StandardError] error object if request failed
|
560
|
+
#
|
561
|
+
# @return [Google::Apis::MetastoreV1beta::RemoveIamPolicyResponse]
|
562
|
+
#
|
563
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
564
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
565
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
566
|
+
def remove_service_iam_policy(resource, remove_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
567
|
+
command = make_simple_command(:post, 'v1beta/{+resource}:removeIamPolicy', options)
|
568
|
+
command.request_representation = Google::Apis::MetastoreV1beta::RemoveIamPolicyRequest::Representation
|
569
|
+
command.request_object = remove_iam_policy_request_object
|
570
|
+
command.response_representation = Google::Apis::MetastoreV1beta::RemoveIamPolicyResponse::Representation
|
571
|
+
command.response_class = Google::Apis::MetastoreV1beta::RemoveIamPolicyResponse
|
572
|
+
command.params['resource'] = resource unless resource.nil?
|
573
|
+
command.query['fields'] = fields unless fields.nil?
|
574
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
575
|
+
execute_or_queue_command(command, &block)
|
576
|
+
end
|
577
|
+
|
541
578
|
# Restores a service from a backup.
|
542
579
|
# @param [String] service
|
543
580
|
# Required. The relative resource name of the metastore service to run restore,
|
@@ -941,6 +978,242 @@ module Google
|
|
941
978
|
execute_or_queue_command(command, &block)
|
942
979
|
end
|
943
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
|
+
|
944
1217
|
# Creates a new MetadataImport in a given project and location.
|
945
1218
|
# @param [String] parent
|
946
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.25.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-
|
11
|
+
date: 2022-04-11 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.25.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: []
|