google-apis-metastore_v1beta 0.25.0 → 0.28.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: f8ee8ccc8a9c80a5b4ce8a9ea1ff60ff8d7afc673de0c7ec59552f43889783df
4
- data.tar.gz: 7d5ac2261e61e8749adeae6c21ee6322747efcda4df83122df02af764ea92100
3
+ metadata.gz: ecfb68638b8672b0b38e20ff57be2939c7513436d8bcd82f26f6a8a57aeb71d3
4
+ data.tar.gz: 286173ee64727a52c00ab1e5e6615e96a980b22078bc48e2c0c5d73911b205b4
5
5
  SHA512:
6
- metadata.gz: a2248261d89295c5e7c534f45da74c322facfa30d5c58d5e05b4386e26c6af6085a273b4cf53a380c345af8cc54f80c7ac6f501e383a91d12fa7fda824dda08a
7
- data.tar.gz: bf5bbafabbe90df48af467daf05f881e149e04217bc5b9046688e9edacbbe6be68c54cace21b29549d0b3655ef73f5d0e8fdeeba852ac7ef7957e3203e3d94a3
6
+ metadata.gz: a09a369dd10d9c5b597a43d98f13ad3947338c14d6042deaf73ee80e8f050fb4c99176b48f3d1be1198fa028990d7e53f786332d2dbbf043b5ab863dbb84c900
7
+ data.tar.gz: 96a2aa0cd334c3ff56b66241a7f9e26cec2044a062fc5603b6539cf84dd1aed8adbff5e984a7883939e73fe20ae590cd81add28bc71c48910a5cbd29447360c6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-metastore_v1beta
2
2
 
3
+ ### v0.28.0 (2022-05-25)
4
+
5
+ * Regenerated from discovery document revision 20220512
6
+
7
+ ### v0.27.0 (2022-05-03)
8
+
9
+ * Regenerated from discovery document revision 20220426
10
+
11
+ ### v0.26.0 (2022-04-16)
12
+
13
+ * Regenerated from discovery document revision 20220407
14
+
3
15
  ### v0.25.0 (2022-04-09)
4
16
 
5
17
  * Regenerated from discovery document revision 20220331
@@ -209,7 +209,7 @@ module Google
209
209
  # @return [Google::Apis::MetastoreV1beta::Expr]
210
210
  attr_accessor :condition
211
211
 
212
- # Specifies the principals requesting access for a Cloud Platform resource.
212
+ # Specifies the principals requesting access for a Google Cloud resource.
213
213
  # members can have the following values: allUsers: A special identifier that
214
214
  # represents anyone who is on the internet; with or without a Google account.
215
215
  # allAuthenticatedUsers: A special identifier that represents anyone who is
@@ -1648,8 +1648,8 @@ module Google
1648
1648
  include Google::Apis::Core::Hashable
1649
1649
 
1650
1650
  # The set of permissions to check for the resource. Permissions with wildcards (
1651
- # such as '*' or 'storage.*') are not allowed. For more information see IAM
1652
- # Overview (https://cloud.google.com/iam/docs/overview#permissions).
1651
+ # such as * or storage.*) are not allowed. For more information see IAM Overview
1652
+ # (https://cloud.google.com/iam/docs/overview#permissions).
1653
1653
  # Corresponds to the JSON property `permissions`
1654
1654
  # @return [Array<String>]
1655
1655
  attr_accessor :permissions
@@ -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.25.0"
19
+ GEM_VERSION = "0.28.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 = "20220331"
25
+ REVISION = "20220512"
26
26
  end
27
27
  end
28
28
  end
@@ -123,6 +123,127 @@ module Google
123
123
  execute_or_queue_command(command, &block)
124
124
  end
125
125
 
126
+ # Gets the access control policy for a resource. Returns an empty policy if the
127
+ # resource exists and does not have a policy set.
128
+ # @param [String] resource
129
+ # REQUIRED: The resource for which the policy is being requested. See Resource
130
+ # names (https://cloud.google.com/apis/design/resource_names) for the
131
+ # appropriate value for this field.
132
+ # @param [Fixnum] options_requested_policy_version
133
+ # Optional. The maximum policy version that will be used to format the policy.
134
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
135
+ # rejected.Requests for policies with any conditional role bindings must specify
136
+ # version 3. Policies with no conditional role bindings may specify any valid
137
+ # value or leave the field unset.The policy in the response might use the policy
138
+ # version that you specified, or it might use a lower policy version. For
139
+ # example, if you specify version 3, but the policy has no conditional role
140
+ # bindings, the response uses version 1.To learn which resources support
141
+ # conditions in their IAM policies, see the IAM documentation (https://cloud.
142
+ # google.com/iam/help/conditions/resource-policies).
143
+ # @param [String] fields
144
+ # Selector specifying which fields to include in a partial response.
145
+ # @param [String] quota_user
146
+ # Available to use for quota purposes for server-side applications. Can be any
147
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
148
+ # @param [Google::Apis::RequestOptions] options
149
+ # Request-specific options
150
+ #
151
+ # @yield [result, err] Result & error if block supplied
152
+ # @yieldparam result [Google::Apis::MetastoreV1beta::Policy] parsed result object
153
+ # @yieldparam err [StandardError] error object if request failed
154
+ #
155
+ # @return [Google::Apis::MetastoreV1beta::Policy]
156
+ #
157
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
158
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
159
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
160
+ def get_project_location_federation_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
161
+ command = make_simple_command(:get, 'v1beta/{+resource}:getIamPolicy', options)
162
+ command.response_representation = Google::Apis::MetastoreV1beta::Policy::Representation
163
+ command.response_class = Google::Apis::MetastoreV1beta::Policy
164
+ command.params['resource'] = resource unless resource.nil?
165
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
166
+ command.query['fields'] = fields unless fields.nil?
167
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
168
+ execute_or_queue_command(command, &block)
169
+ end
170
+
171
+ # Sets the access control policy on the specified resource. Replaces any
172
+ # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
173
+ # errors.
174
+ # @param [String] resource
175
+ # REQUIRED: The resource for which the policy is being specified. See Resource
176
+ # names (https://cloud.google.com/apis/design/resource_names) for the
177
+ # appropriate value for this field.
178
+ # @param [Google::Apis::MetastoreV1beta::SetIamPolicyRequest] set_iam_policy_request_object
179
+ # @param [String] fields
180
+ # Selector specifying which fields to include in a partial response.
181
+ # @param [String] quota_user
182
+ # Available to use for quota purposes for server-side applications. Can be any
183
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
184
+ # @param [Google::Apis::RequestOptions] options
185
+ # Request-specific options
186
+ #
187
+ # @yield [result, err] Result & error if block supplied
188
+ # @yieldparam result [Google::Apis::MetastoreV1beta::Policy] parsed result object
189
+ # @yieldparam err [StandardError] error object if request failed
190
+ #
191
+ # @return [Google::Apis::MetastoreV1beta::Policy]
192
+ #
193
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
194
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
195
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
196
+ def set_federation_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
197
+ command = make_simple_command(:post, 'v1beta/{+resource}:setIamPolicy', options)
198
+ command.request_representation = Google::Apis::MetastoreV1beta::SetIamPolicyRequest::Representation
199
+ command.request_object = set_iam_policy_request_object
200
+ command.response_representation = Google::Apis::MetastoreV1beta::Policy::Representation
201
+ command.response_class = Google::Apis::MetastoreV1beta::Policy
202
+ command.params['resource'] = resource unless resource.nil?
203
+ command.query['fields'] = fields unless fields.nil?
204
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
205
+ execute_or_queue_command(command, &block)
206
+ end
207
+
208
+ # Returns permissions that a caller has on the specified resource. If the
209
+ # resource does not exist, this will return an empty set of permissions, not a
210
+ # NOT_FOUND error.Note: This operation is designed to be used for building
211
+ # permission-aware UIs and command-line tools, not for authorization checking.
212
+ # This operation may "fail open" without warning.
213
+ # @param [String] resource
214
+ # REQUIRED: The resource for which the policy detail is being requested. See
215
+ # Resource names (https://cloud.google.com/apis/design/resource_names) for the
216
+ # appropriate value for this field.
217
+ # @param [Google::Apis::MetastoreV1beta::TestIamPermissionsRequest] test_iam_permissions_request_object
218
+ # @param [String] fields
219
+ # Selector specifying which fields to include in a partial response.
220
+ # @param [String] quota_user
221
+ # Available to use for quota purposes for server-side applications. Can be any
222
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
223
+ # @param [Google::Apis::RequestOptions] options
224
+ # Request-specific options
225
+ #
226
+ # @yield [result, err] Result & error if block supplied
227
+ # @yieldparam result [Google::Apis::MetastoreV1beta::TestIamPermissionsResponse] parsed result object
228
+ # @yieldparam err [StandardError] error object if request failed
229
+ #
230
+ # @return [Google::Apis::MetastoreV1beta::TestIamPermissionsResponse]
231
+ #
232
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
233
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
234
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
235
+ def test_federation_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
236
+ command = make_simple_command(:post, 'v1beta/{+resource}:testIamPermissions', options)
237
+ command.request_representation = Google::Apis::MetastoreV1beta::TestIamPermissionsRequest::Representation
238
+ command.request_object = test_iam_permissions_request_object
239
+ command.response_representation = Google::Apis::MetastoreV1beta::TestIamPermissionsResponse::Representation
240
+ command.response_class = Google::Apis::MetastoreV1beta::TestIamPermissionsResponse
241
+ command.params['resource'] = resource unless resource.nil?
242
+ command.query['fields'] = fields unless fields.nil?
243
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
244
+ execute_or_queue_command(command, &block)
245
+ end
246
+
126
247
  # Deletes a long-running operation. This method indicates that the client is no
127
248
  # longer interested in the operation result. It does not cancel the operation.
128
249
  # If the server doesn't support this method, it returns google.rpc.Code.
@@ -396,8 +517,9 @@ module Google
396
517
  # Gets the access control policy for a resource. Returns an empty policy if the
397
518
  # resource exists and does not have a policy set.
398
519
  # @param [String] resource
399
- # REQUIRED: The resource for which the policy is being requested. See the
400
- # operation documentation for the appropriate value for this field.
520
+ # REQUIRED: The resource for which the policy is being requested. See Resource
521
+ # names (https://cloud.google.com/apis/design/resource_names) for the
522
+ # appropriate value for this field.
401
523
  # @param [Fixnum] options_requested_policy_version
402
524
  # Optional. The maximum policy version that will be used to format the policy.
403
525
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
@@ -614,8 +736,9 @@ module Google
614
736
  # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
615
737
  # errors.
616
738
  # @param [String] resource
617
- # REQUIRED: The resource for which the policy is being specified. See the
618
- # operation documentation for the appropriate value for this field.
739
+ # REQUIRED: The resource for which the policy is being specified. See Resource
740
+ # names (https://cloud.google.com/apis/design/resource_names) for the
741
+ # appropriate value for this field.
619
742
  # @param [Google::Apis::MetastoreV1beta::SetIamPolicyRequest] set_iam_policy_request_object
620
743
  # @param [String] fields
621
744
  # Selector specifying which fields to include in a partial response.
@@ -652,8 +775,9 @@ module Google
652
775
  # permission-aware UIs and command-line tools, not for authorization checking.
653
776
  # This operation may "fail open" without warning.
654
777
  # @param [String] resource
655
- # REQUIRED: The resource for which the policy detail is being requested. See the
656
- # operation documentation for the appropriate value for this field.
778
+ # REQUIRED: The resource for which the policy detail is being requested. See
779
+ # Resource names (https://cloud.google.com/apis/design/resource_names) for the
780
+ # appropriate value for this field.
657
781
  # @param [Google::Apis::MetastoreV1beta::TestIamPermissionsRequest] test_iam_permissions_request_object
658
782
  # @param [String] fields
659
783
  # Selector specifying which fields to include in a partial response.
@@ -812,8 +936,9 @@ module Google
812
936
  # Gets the access control policy for a resource. Returns an empty policy if the
813
937
  # resource exists and does not have a policy set.
814
938
  # @param [String] resource
815
- # REQUIRED: The resource for which the policy is being requested. See the
816
- # operation documentation for the appropriate value for this field.
939
+ # REQUIRED: The resource for which the policy is being requested. See Resource
940
+ # names (https://cloud.google.com/apis/design/resource_names) for the
941
+ # appropriate value for this field.
817
942
  # @param [Fixnum] options_requested_policy_version
818
943
  # Optional. The maximum policy version that will be used to format the policy.
819
944
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
@@ -908,8 +1033,9 @@ module Google
908
1033
  # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
909
1034
  # errors.
910
1035
  # @param [String] resource
911
- # REQUIRED: The resource for which the policy is being specified. See the
912
- # operation documentation for the appropriate value for this field.
1036
+ # REQUIRED: The resource for which the policy is being specified. See Resource
1037
+ # names (https://cloud.google.com/apis/design/resource_names) for the
1038
+ # appropriate value for this field.
913
1039
  # @param [Google::Apis::MetastoreV1beta::SetIamPolicyRequest] set_iam_policy_request_object
914
1040
  # @param [String] fields
915
1041
  # Selector specifying which fields to include in a partial response.
@@ -946,8 +1072,9 @@ module Google
946
1072
  # permission-aware UIs and command-line tools, not for authorization checking.
947
1073
  # This operation may "fail open" without warning.
948
1074
  # @param [String] resource
949
- # REQUIRED: The resource for which the policy detail is being requested. See the
950
- # operation documentation for the appropriate value for this field.
1075
+ # REQUIRED: The resource for which the policy detail is being requested. See
1076
+ # Resource names (https://cloud.google.com/apis/design/resource_names) for the
1077
+ # appropriate value for this field.
951
1078
  # @param [Google::Apis::MetastoreV1beta::TestIamPermissionsRequest] test_iam_permissions_request_object
952
1079
  # @param [String] fields
953
1080
  # Selector specifying which fields to include in a partial response.
@@ -981,8 +1108,9 @@ module Google
981
1108
  # Gets the access control policy for a resource. Returns an empty policy if the
982
1109
  # resource exists and does not have a policy set.
983
1110
  # @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.
1111
+ # REQUIRED: The resource for which the policy is being requested. See Resource
1112
+ # names (https://cloud.google.com/apis/design/resource_names) for the
1113
+ # appropriate value for this field.
986
1114
  # @param [Fixnum] options_requested_policy_version
987
1115
  # Optional. The maximum policy version that will be used to format the policy.
988
1116
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
@@ -1026,8 +1154,9 @@ module Google
1026
1154
  # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
1027
1155
  # errors.
1028
1156
  # @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.
1157
+ # REQUIRED: The resource for which the policy is being specified. See Resource
1158
+ # names (https://cloud.google.com/apis/design/resource_names) for the
1159
+ # appropriate value for this field.
1031
1160
  # @param [Google::Apis::MetastoreV1beta::SetIamPolicyRequest] set_iam_policy_request_object
1032
1161
  # @param [String] fields
1033
1162
  # Selector specifying which fields to include in a partial response.
@@ -1064,8 +1193,9 @@ module Google
1064
1193
  # permission-aware UIs and command-line tools, not for authorization checking.
1065
1194
  # This operation may "fail open" without warning.
1066
1195
  # @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.
1196
+ # REQUIRED: The resource for which the policy detail is being requested. See
1197
+ # Resource names (https://cloud.google.com/apis/design/resource_names) for the
1198
+ # appropriate value for this field.
1069
1199
  # @param [Google::Apis::MetastoreV1beta::TestIamPermissionsRequest] test_iam_permissions_request_object
1070
1200
  # @param [String] fields
1071
1201
  # Selector specifying which fields to include in a partial response.
@@ -1099,8 +1229,9 @@ module Google
1099
1229
  # Gets the access control policy for a resource. Returns an empty policy if the
1100
1230
  # resource exists and does not have a policy set.
1101
1231
  # @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.
1232
+ # REQUIRED: The resource for which the policy is being requested. See Resource
1233
+ # names (https://cloud.google.com/apis/design/resource_names) for the
1234
+ # appropriate value for this field.
1104
1235
  # @param [Fixnum] options_requested_policy_version
1105
1236
  # Optional. The maximum policy version that will be used to format the policy.
1106
1237
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
@@ -1144,8 +1275,9 @@ module Google
1144
1275
  # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
1145
1276
  # errors.
1146
1277
  # @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.
1278
+ # REQUIRED: The resource for which the policy is being specified. See Resource
1279
+ # names (https://cloud.google.com/apis/design/resource_names) for the
1280
+ # appropriate value for this field.
1149
1281
  # @param [Google::Apis::MetastoreV1beta::SetIamPolicyRequest] set_iam_policy_request_object
1150
1282
  # @param [String] fields
1151
1283
  # Selector specifying which fields to include in a partial response.
@@ -1182,8 +1314,9 @@ module Google
1182
1314
  # permission-aware UIs and command-line tools, not for authorization checking.
1183
1315
  # This operation may "fail open" without warning.
1184
1316
  # @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.
1317
+ # REQUIRED: The resource for which the policy detail is being requested. See
1318
+ # Resource names (https://cloud.google.com/apis/design/resource_names) for the
1319
+ # appropriate value for this field.
1187
1320
  # @param [Google::Apis::MetastoreV1beta::TestIamPermissionsRequest] test_iam_permissions_request_object
1188
1321
  # @param [String] fields
1189
1322
  # Selector specifying which fields to include in a partial response.
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.25.0
4
+ version: 0.28.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-04-11 00:00:00.000000000 Z
11
+ date: 2022-05-30 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.25.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1beta/v0.28.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Dataproc Metastore API V1beta