google-apis-dataplex_v1 0.15.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/dataplex_v1/classes.rb +4 -3
- data/lib/google/apis/dataplex_v1/gem_version.rb +2 -2
- data/lib/google/apis/dataplex_v1/service.rb +484 -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: 4ef3c1471b9554d47290835805277b0e0340993d0eea3ccd51f6cf8b277d1244
|
4
|
+
data.tar.gz: 6b097002afb45d6dac2d1a8650b8b1f4116b5a7b21a15c8a6a07339b19efdf84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 418d965c89c4d3115b939a9a60cc7ada46b4be2e98d15e70b670dbf79099ec972663bd4e8fc0fe3e0fd10f7ce4a9923743fee229e7fbc5d949e1aad4f01506e9
|
7
|
+
data.tar.gz: 6d19e299c50d646aa13df34a3db0e37629f99c5bebbd7e2a8055fccc3b5262361698b4422005fc4ff7b1c39414b0c1189cf86d1edc9725faaee2fd5cbbc84a96
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-dataplex_v1
|
2
2
|
|
3
|
+
### v0.17.0 (2022-11-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20221109
|
6
|
+
|
7
|
+
### v0.16.0 (2022-11-05)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20221103
|
10
|
+
|
3
11
|
### v0.15.0 (2022-10-30)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20221021
|
@@ -2651,9 +2651,10 @@ module Google
|
|
2651
2651
|
|
2652
2652
|
# Required. The mime type descriptor for the data. Must match the pattern `type`/
|
2653
2653
|
# `subtype`. Supported values: application/x-parquet application/x-avro
|
2654
|
-
# application/x-orc application/x-tfrecord application/
|
2655
|
-
#
|
2656
|
-
#
|
2654
|
+
# application/x-orc application/x-tfrecord application/x-parquet+iceberg
|
2655
|
+
# application/x-avro+iceberg application/x-orc+iceberg application/json
|
2656
|
+
# application/`subtypes` text/csv text/ image/`image subtype` video/`video
|
2657
|
+
# subtype` audio/`audio subtype`
|
2657
2658
|
# Corresponds to the JSON property `mimeType`
|
2658
2659
|
# @return [String]
|
2659
2660
|
attr_accessor :mime_type
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DataplexV1
|
18
18
|
# Version of the google-apis-dataplex_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.17.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.11.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20221109"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -122,6 +122,490 @@ module Google
|
|
122
122
|
execute_or_queue_command(command, &block)
|
123
123
|
end
|
124
124
|
|
125
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
126
|
+
# resource exists and does not have a policy set.
|
127
|
+
# @param [String] resource
|
128
|
+
# REQUIRED: The resource for which the policy is being requested. See Resource
|
129
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
130
|
+
# appropriate value for this field.
|
131
|
+
# @param [Fixnum] options_requested_policy_version
|
132
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
133
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
134
|
+
# rejected.Requests for policies with any conditional role bindings must specify
|
135
|
+
# version 3. Policies with no conditional role bindings may specify any valid
|
136
|
+
# value or leave the field unset.The policy in the response might use the policy
|
137
|
+
# version that you specified, or it might use a lower policy version. For
|
138
|
+
# example, if you specify version 3, but the policy has no conditional role
|
139
|
+
# bindings, the response uses version 1.To learn which resources support
|
140
|
+
# conditions in their IAM policies, see the IAM documentation (https://cloud.
|
141
|
+
# google.com/iam/help/conditions/resource-policies).
|
142
|
+
# @param [String] fields
|
143
|
+
# Selector specifying which fields to include in a partial response.
|
144
|
+
# @param [String] quota_user
|
145
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
146
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
147
|
+
# @param [Google::Apis::RequestOptions] options
|
148
|
+
# Request-specific options
|
149
|
+
#
|
150
|
+
# @yield [result, err] Result & error if block supplied
|
151
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
|
152
|
+
# @yieldparam err [StandardError] error object if request failed
|
153
|
+
#
|
154
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
|
155
|
+
#
|
156
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
157
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
158
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
159
|
+
def get_project_location_data_attribute_binding_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
160
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
161
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
|
162
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
|
163
|
+
command.params['resource'] = resource unless resource.nil?
|
164
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
165
|
+
command.query['fields'] = fields unless fields.nil?
|
166
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
167
|
+
execute_or_queue_command(command, &block)
|
168
|
+
end
|
169
|
+
|
170
|
+
# Sets the access control policy on the specified resource. Replaces any
|
171
|
+
# existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
|
172
|
+
# errors.
|
173
|
+
# @param [String] resource
|
174
|
+
# REQUIRED: The resource for which the policy is being specified. See Resource
|
175
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
176
|
+
# appropriate value for this field.
|
177
|
+
# @param [Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
178
|
+
# @param [String] fields
|
179
|
+
# Selector specifying which fields to include in a partial response.
|
180
|
+
# @param [String] quota_user
|
181
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
182
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
183
|
+
# @param [Google::Apis::RequestOptions] options
|
184
|
+
# Request-specific options
|
185
|
+
#
|
186
|
+
# @yield [result, err] Result & error if block supplied
|
187
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
|
188
|
+
# @yieldparam err [StandardError] error object if request failed
|
189
|
+
#
|
190
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
|
191
|
+
#
|
192
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
193
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
194
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
195
|
+
def set_project_location_data_attribute_binding_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
196
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
197
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest::Representation
|
198
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
199
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
|
200
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
|
201
|
+
command.params['resource'] = resource unless resource.nil?
|
202
|
+
command.query['fields'] = fields unless fields.nil?
|
203
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
204
|
+
execute_or_queue_command(command, &block)
|
205
|
+
end
|
206
|
+
|
207
|
+
# Returns permissions that a caller has on the specified resource. If the
|
208
|
+
# resource does not exist, this will return an empty set of permissions, not a
|
209
|
+
# NOT_FOUND error.Note: This operation is designed to be used for building
|
210
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
211
|
+
# This operation may "fail open" without warning.
|
212
|
+
# @param [String] resource
|
213
|
+
# REQUIRED: The resource for which the policy detail is being requested. See
|
214
|
+
# Resource names (https://cloud.google.com/apis/design/resource_names) for the
|
215
|
+
# appropriate value for this field.
|
216
|
+
# @param [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
217
|
+
# @param [String] fields
|
218
|
+
# Selector specifying which fields to include in a partial response.
|
219
|
+
# @param [String] quota_user
|
220
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
221
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
222
|
+
# @param [Google::Apis::RequestOptions] options
|
223
|
+
# Request-specific options
|
224
|
+
#
|
225
|
+
# @yield [result, err] Result & error if block supplied
|
226
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
227
|
+
# @yieldparam err [StandardError] error object if request failed
|
228
|
+
#
|
229
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse]
|
230
|
+
#
|
231
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
232
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
233
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
234
|
+
def test_project_location_data_attribute_binding_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
235
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
236
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest::Representation
|
237
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
238
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
239
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse
|
240
|
+
command.params['resource'] = resource unless resource.nil?
|
241
|
+
command.query['fields'] = fields unless fields.nil?
|
242
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
243
|
+
execute_or_queue_command(command, &block)
|
244
|
+
end
|
245
|
+
|
246
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
247
|
+
# resource exists and does not have a policy set.
|
248
|
+
# @param [String] resource
|
249
|
+
# REQUIRED: The resource for which the policy is being requested. See Resource
|
250
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
251
|
+
# appropriate value for this field.
|
252
|
+
# @param [Fixnum] options_requested_policy_version
|
253
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
254
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
255
|
+
# rejected.Requests for policies with any conditional role bindings must specify
|
256
|
+
# version 3. Policies with no conditional role bindings may specify any valid
|
257
|
+
# value or leave the field unset.The policy in the response might use the policy
|
258
|
+
# version that you specified, or it might use a lower policy version. For
|
259
|
+
# example, if you specify version 3, but the policy has no conditional role
|
260
|
+
# bindings, the response uses version 1.To learn which resources support
|
261
|
+
# conditions in their IAM policies, see the IAM documentation (https://cloud.
|
262
|
+
# google.com/iam/help/conditions/resource-policies).
|
263
|
+
# @param [String] fields
|
264
|
+
# Selector specifying which fields to include in a partial response.
|
265
|
+
# @param [String] quota_user
|
266
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
267
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
268
|
+
# @param [Google::Apis::RequestOptions] options
|
269
|
+
# Request-specific options
|
270
|
+
#
|
271
|
+
# @yield [result, err] Result & error if block supplied
|
272
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
|
273
|
+
# @yieldparam err [StandardError] error object if request failed
|
274
|
+
#
|
275
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
|
276
|
+
#
|
277
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
278
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
279
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
280
|
+
def get_project_location_data_scan_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
281
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
282
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
|
283
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
|
284
|
+
command.params['resource'] = resource unless resource.nil?
|
285
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
286
|
+
command.query['fields'] = fields unless fields.nil?
|
287
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
288
|
+
execute_or_queue_command(command, &block)
|
289
|
+
end
|
290
|
+
|
291
|
+
# Sets the access control policy on the specified resource. Replaces any
|
292
|
+
# existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
|
293
|
+
# errors.
|
294
|
+
# @param [String] resource
|
295
|
+
# REQUIRED: The resource for which the policy is being specified. See Resource
|
296
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
297
|
+
# appropriate value for this field.
|
298
|
+
# @param [Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
299
|
+
# @param [String] fields
|
300
|
+
# Selector specifying which fields to include in a partial response.
|
301
|
+
# @param [String] quota_user
|
302
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
303
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
304
|
+
# @param [Google::Apis::RequestOptions] options
|
305
|
+
# Request-specific options
|
306
|
+
#
|
307
|
+
# @yield [result, err] Result & error if block supplied
|
308
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
|
309
|
+
# @yieldparam err [StandardError] error object if request failed
|
310
|
+
#
|
311
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
|
312
|
+
#
|
313
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
314
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
315
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
316
|
+
def set_project_location_data_scan_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
317
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
318
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest::Representation
|
319
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
320
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
|
321
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
|
322
|
+
command.params['resource'] = resource unless resource.nil?
|
323
|
+
command.query['fields'] = fields unless fields.nil?
|
324
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
325
|
+
execute_or_queue_command(command, &block)
|
326
|
+
end
|
327
|
+
|
328
|
+
# Returns permissions that a caller has on the specified resource. If the
|
329
|
+
# resource does not exist, this will return an empty set of permissions, not a
|
330
|
+
# NOT_FOUND error.Note: This operation is designed to be used for building
|
331
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
332
|
+
# This operation may "fail open" without warning.
|
333
|
+
# @param [String] resource
|
334
|
+
# REQUIRED: The resource for which the policy detail is being requested. See
|
335
|
+
# Resource names (https://cloud.google.com/apis/design/resource_names) for the
|
336
|
+
# appropriate value for this field.
|
337
|
+
# @param [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
338
|
+
# @param [String] fields
|
339
|
+
# Selector specifying which fields to include in a partial response.
|
340
|
+
# @param [String] quota_user
|
341
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
342
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
343
|
+
# @param [Google::Apis::RequestOptions] options
|
344
|
+
# Request-specific options
|
345
|
+
#
|
346
|
+
# @yield [result, err] Result & error if block supplied
|
347
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
348
|
+
# @yieldparam err [StandardError] error object if request failed
|
349
|
+
#
|
350
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse]
|
351
|
+
#
|
352
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
353
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
354
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
355
|
+
def test_project_location_data_scan_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
356
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
357
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest::Representation
|
358
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
359
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
360
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse
|
361
|
+
command.params['resource'] = resource unless resource.nil?
|
362
|
+
command.query['fields'] = fields unless fields.nil?
|
363
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
364
|
+
execute_or_queue_command(command, &block)
|
365
|
+
end
|
366
|
+
|
367
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
368
|
+
# resource exists and does not have a policy set.
|
369
|
+
# @param [String] resource
|
370
|
+
# REQUIRED: The resource for which the policy is being requested. See Resource
|
371
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
372
|
+
# appropriate value for this field.
|
373
|
+
# @param [Fixnum] options_requested_policy_version
|
374
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
375
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
376
|
+
# rejected.Requests for policies with any conditional role bindings must specify
|
377
|
+
# version 3. Policies with no conditional role bindings may specify any valid
|
378
|
+
# value or leave the field unset.The policy in the response might use the policy
|
379
|
+
# version that you specified, or it might use a lower policy version. For
|
380
|
+
# example, if you specify version 3, but the policy has no conditional role
|
381
|
+
# bindings, the response uses version 1.To learn which resources support
|
382
|
+
# conditions in their IAM policies, see the IAM documentation (https://cloud.
|
383
|
+
# google.com/iam/help/conditions/resource-policies).
|
384
|
+
# @param [String] fields
|
385
|
+
# Selector specifying which fields to include in a partial response.
|
386
|
+
# @param [String] quota_user
|
387
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
388
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
389
|
+
# @param [Google::Apis::RequestOptions] options
|
390
|
+
# Request-specific options
|
391
|
+
#
|
392
|
+
# @yield [result, err] Result & error if block supplied
|
393
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
|
394
|
+
# @yieldparam err [StandardError] error object if request failed
|
395
|
+
#
|
396
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
|
397
|
+
#
|
398
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
399
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
400
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
401
|
+
def get_project_location_data_taxonomy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
402
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
403
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
|
404
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
|
405
|
+
command.params['resource'] = resource unless resource.nil?
|
406
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
407
|
+
command.query['fields'] = fields unless fields.nil?
|
408
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
409
|
+
execute_or_queue_command(command, &block)
|
410
|
+
end
|
411
|
+
|
412
|
+
# Sets the access control policy on the specified resource. Replaces any
|
413
|
+
# existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
|
414
|
+
# errors.
|
415
|
+
# @param [String] resource
|
416
|
+
# REQUIRED: The resource for which the policy is being specified. See Resource
|
417
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
418
|
+
# appropriate value for this field.
|
419
|
+
# @param [Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
420
|
+
# @param [String] fields
|
421
|
+
# Selector specifying which fields to include in a partial response.
|
422
|
+
# @param [String] quota_user
|
423
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
424
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
425
|
+
# @param [Google::Apis::RequestOptions] options
|
426
|
+
# Request-specific options
|
427
|
+
#
|
428
|
+
# @yield [result, err] Result & error if block supplied
|
429
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
|
430
|
+
# @yieldparam err [StandardError] error object if request failed
|
431
|
+
#
|
432
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
|
433
|
+
#
|
434
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
435
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
436
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
437
|
+
def set_project_location_data_taxonomy_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
438
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
439
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest::Representation
|
440
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
441
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
|
442
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
|
443
|
+
command.params['resource'] = resource unless resource.nil?
|
444
|
+
command.query['fields'] = fields unless fields.nil?
|
445
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
446
|
+
execute_or_queue_command(command, &block)
|
447
|
+
end
|
448
|
+
|
449
|
+
# Returns permissions that a caller has on the specified resource. If the
|
450
|
+
# resource does not exist, this will return an empty set of permissions, not a
|
451
|
+
# NOT_FOUND error.Note: This operation is designed to be used for building
|
452
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
453
|
+
# This operation may "fail open" without warning.
|
454
|
+
# @param [String] resource
|
455
|
+
# REQUIRED: The resource for which the policy detail is being requested. See
|
456
|
+
# Resource names (https://cloud.google.com/apis/design/resource_names) for the
|
457
|
+
# appropriate value for this field.
|
458
|
+
# @param [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
459
|
+
# @param [String] fields
|
460
|
+
# Selector specifying which fields to include in a partial response.
|
461
|
+
# @param [String] quota_user
|
462
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
463
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
464
|
+
# @param [Google::Apis::RequestOptions] options
|
465
|
+
# Request-specific options
|
466
|
+
#
|
467
|
+
# @yield [result, err] Result & error if block supplied
|
468
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
469
|
+
# @yieldparam err [StandardError] error object if request failed
|
470
|
+
#
|
471
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse]
|
472
|
+
#
|
473
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
474
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
475
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
476
|
+
def test_project_location_data_taxonomy_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
477
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
478
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest::Representation
|
479
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
480
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
481
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse
|
482
|
+
command.params['resource'] = resource unless resource.nil?
|
483
|
+
command.query['fields'] = fields unless fields.nil?
|
484
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
485
|
+
execute_or_queue_command(command, &block)
|
486
|
+
end
|
487
|
+
|
488
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
489
|
+
# resource exists and does not have a policy set.
|
490
|
+
# @param [String] resource
|
491
|
+
# REQUIRED: The resource for which the policy is being requested. See Resource
|
492
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
493
|
+
# appropriate value for this field.
|
494
|
+
# @param [Fixnum] options_requested_policy_version
|
495
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
496
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
497
|
+
# rejected.Requests for policies with any conditional role bindings must specify
|
498
|
+
# version 3. Policies with no conditional role bindings may specify any valid
|
499
|
+
# value or leave the field unset.The policy in the response might use the policy
|
500
|
+
# version that you specified, or it might use a lower policy version. For
|
501
|
+
# example, if you specify version 3, but the policy has no conditional role
|
502
|
+
# bindings, the response uses version 1.To learn which resources support
|
503
|
+
# conditions in their IAM policies, see the IAM documentation (https://cloud.
|
504
|
+
# google.com/iam/help/conditions/resource-policies).
|
505
|
+
# @param [String] fields
|
506
|
+
# Selector specifying which fields to include in a partial response.
|
507
|
+
# @param [String] quota_user
|
508
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
509
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
510
|
+
# @param [Google::Apis::RequestOptions] options
|
511
|
+
# Request-specific options
|
512
|
+
#
|
513
|
+
# @yield [result, err] Result & error if block supplied
|
514
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
|
515
|
+
# @yieldparam err [StandardError] error object if request failed
|
516
|
+
#
|
517
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
|
518
|
+
#
|
519
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
520
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
521
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
522
|
+
def get_project_location_data_taxonomy_attribute_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
523
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
524
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
|
525
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
|
526
|
+
command.params['resource'] = resource unless resource.nil?
|
527
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
528
|
+
command.query['fields'] = fields unless fields.nil?
|
529
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
530
|
+
execute_or_queue_command(command, &block)
|
531
|
+
end
|
532
|
+
|
533
|
+
# Sets the access control policy on the specified resource. Replaces any
|
534
|
+
# existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
|
535
|
+
# errors.
|
536
|
+
# @param [String] resource
|
537
|
+
# REQUIRED: The resource for which the policy is being specified. See Resource
|
538
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
539
|
+
# appropriate value for this field.
|
540
|
+
# @param [Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
541
|
+
# @param [String] fields
|
542
|
+
# Selector specifying which fields to include in a partial response.
|
543
|
+
# @param [String] quota_user
|
544
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
545
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
546
|
+
# @param [Google::Apis::RequestOptions] options
|
547
|
+
# Request-specific options
|
548
|
+
#
|
549
|
+
# @yield [result, err] Result & error if block supplied
|
550
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
|
551
|
+
# @yieldparam err [StandardError] error object if request failed
|
552
|
+
#
|
553
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
|
554
|
+
#
|
555
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
556
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
557
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
558
|
+
def set_project_location_data_taxonomy_attribute_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
559
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
560
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest::Representation
|
561
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
562
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
|
563
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
|
564
|
+
command.params['resource'] = resource unless resource.nil?
|
565
|
+
command.query['fields'] = fields unless fields.nil?
|
566
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
567
|
+
execute_or_queue_command(command, &block)
|
568
|
+
end
|
569
|
+
|
570
|
+
# Returns permissions that a caller has on the specified resource. If the
|
571
|
+
# resource does not exist, this will return an empty set of permissions, not a
|
572
|
+
# NOT_FOUND error.Note: This operation is designed to be used for building
|
573
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
574
|
+
# This operation may "fail open" without warning.
|
575
|
+
# @param [String] resource
|
576
|
+
# REQUIRED: The resource for which the policy detail is being requested. See
|
577
|
+
# Resource names (https://cloud.google.com/apis/design/resource_names) for the
|
578
|
+
# appropriate value for this field.
|
579
|
+
# @param [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
580
|
+
# @param [String] fields
|
581
|
+
# Selector specifying which fields to include in a partial response.
|
582
|
+
# @param [String] quota_user
|
583
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
584
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
585
|
+
# @param [Google::Apis::RequestOptions] options
|
586
|
+
# Request-specific options
|
587
|
+
#
|
588
|
+
# @yield [result, err] Result & error if block supplied
|
589
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
590
|
+
# @yieldparam err [StandardError] error object if request failed
|
591
|
+
#
|
592
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse]
|
593
|
+
#
|
594
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
595
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
596
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
597
|
+
def test_project_location_data_taxonomy_attribute_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
598
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
599
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest::Representation
|
600
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
601
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
602
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse
|
603
|
+
command.params['resource'] = resource unless resource.nil?
|
604
|
+
command.query['fields'] = fields unless fields.nil?
|
605
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
606
|
+
execute_or_queue_command(command, &block)
|
607
|
+
end
|
608
|
+
|
125
609
|
# Creates a lake resource.
|
126
610
|
# @param [String] parent
|
127
611
|
# Required. The resource name of the lake location, of the form: projects/`
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dataplex_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.17.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-11-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-dataplex_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dataplex_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dataplex_v1/v0.17.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataplex_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|