google-apis-dataplex_v1 0.61.0 → 0.63.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: 83f611a9fe44fbe2607c6b9ade3b5f270709b76da908820afd86ea88487cbf78
4
- data.tar.gz: 75af2d026c207a1cfed54fd02c874bf7c5fcacc2bcdfe6ca3e4588e559229e75
3
+ metadata.gz: f4f5c0d48928eb1eab3f3d3f86b5faaa304615ee679385d527f0c6712f1cfc2e
4
+ data.tar.gz: 6cf811a229f0448e48bf99ef49b2b9db8d01af3089e2147a3f8e04ffce0d745f
5
5
  SHA512:
6
- metadata.gz: 7e1b25a00baae58534d3e8bc027f6bee5098dd078aef29aef8b5b1e17ff0c2e5ac731bf21988c393b7e38371ae5379c88faf55ff2ee8feade66b99d3430ec721
7
- data.tar.gz: ebe3a0abce66e2b0b0bd71b9d506a2a56adf0067e89cc55ee8e737d0886fae0aeaca932bda3c29a9288e33420c7bfee5efa0dd36720872c79bbcf0e9ef6fa416
6
+ metadata.gz: '089f9f0a76d28efcd9d0f585787ba96f8c20ac87e52fd0c412405b008345e3f181f0d58deca070cf078b2dde6e7165960f9d6f52b86e2d451742f1d44fcf4ed0'
7
+ data.tar.gz: 074cda82061429103da0e126a51f15372abb0da41234c4094158938abf21e55dfa73e46f0705afa8d67dd9b589055cbf93a0d01b70b3a1a5e105064317bfa9f6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dataplex_v1
2
2
 
3
+ ### v0.63.0 (2024-09-22)
4
+
5
+ * Regenerated from discovery document revision 20240914
6
+
7
+ ### v0.62.0 (2024-09-01)
8
+
9
+ * Regenerated from discovery document revision 20240820
10
+
3
11
  ### v0.61.0 (2024-08-11)
4
12
 
5
13
  * Regenerated from discovery document revision 20240802
@@ -455,6 +455,12 @@ module Google
455
455
  # @return [String]
456
456
  attr_accessor :name
457
457
 
458
+ # Output only. Denotes the transfer status of the Aspect Type. It is unspecified
459
+ # for Aspect Types created from Dataplex API.
460
+ # Corresponds to the JSON property `transferStatus`
461
+ # @return [String]
462
+ attr_accessor :transfer_status
463
+
458
464
  # Output only. System generated globally unique ID for the AspectType. If you
459
465
  # delete and recreate the AspectType with the same name, then this ID will be
460
466
  # different.
@@ -481,6 +487,7 @@ module Google
481
487
  @labels = args[:labels] if args.key?(:labels)
482
488
  @metadata_template = args[:metadata_template] if args.key?(:metadata_template)
483
489
  @name = args[:name] if args.key?(:name)
490
+ @transfer_status = args[:transfer_status] if args.key?(:transfer_status)
484
491
  @uid = args[:uid] if args.key?(:uid)
485
492
  @update_time = args[:update_time] if args.key?(:update_time)
486
493
  end
@@ -3639,6 +3646,11 @@ module Google
3639
3646
  # @return [String]
3640
3647
  attr_accessor :data_location
3641
3648
 
3649
+ # The id of the associated datascan for standalone discovery.
3650
+ # Corresponds to the JSON property `datascanId`
3651
+ # @return [String]
3652
+ attr_accessor :datascan_id
3653
+
3642
3654
  # Details about the entity.
3643
3655
  # Corresponds to the JSON property `entity`
3644
3656
  # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventEntityDetails]
@@ -3659,6 +3671,11 @@ module Google
3659
3671
  # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventPartitionDetails]
3660
3672
  attr_accessor :partition
3661
3673
 
3674
+ # Details about the published table.
3675
+ # Corresponds to the JSON property `table`
3676
+ # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventTableDetails]
3677
+ attr_accessor :table
3678
+
3662
3679
  # The type of the event being logged.
3663
3680
  # Corresponds to the JSON property `type`
3664
3681
  # @return [String]
@@ -3679,10 +3696,12 @@ module Google
3679
3696
  @asset_id = args[:asset_id] if args.key?(:asset_id)
3680
3697
  @config = args[:config] if args.key?(:config)
3681
3698
  @data_location = args[:data_location] if args.key?(:data_location)
3699
+ @datascan_id = args[:datascan_id] if args.key?(:datascan_id)
3682
3700
  @entity = args[:entity] if args.key?(:entity)
3683
3701
  @lake_id = args[:lake_id] if args.key?(:lake_id)
3684
3702
  @message = args[:message] if args.key?(:message)
3685
3703
  @partition = args[:partition] if args.key?(:partition)
3704
+ @table = args[:table] if args.key?(:table)
3686
3705
  @type = args[:type] if args.key?(:type)
3687
3706
  @zone_id = args[:zone_id] if args.key?(:zone_id)
3688
3707
  end
@@ -3793,6 +3812,31 @@ module Google
3793
3812
  end
3794
3813
  end
3795
3814
 
3815
+ # Details about the published table.
3816
+ class GoogleCloudDataplexV1DiscoveryEventTableDetails
3817
+ include Google::Apis::Core::Hashable
3818
+
3819
+ # The fully-qualified resource name of the table resource.
3820
+ # Corresponds to the JSON property `table`
3821
+ # @return [String]
3822
+ attr_accessor :table
3823
+
3824
+ # The type of the table resource.
3825
+ # Corresponds to the JSON property `type`
3826
+ # @return [String]
3827
+ attr_accessor :type
3828
+
3829
+ def initialize(**args)
3830
+ update!(**args)
3831
+ end
3832
+
3833
+ # Update properties of this object
3834
+ def update!(**args)
3835
+ @table = args[:table] if args.key?(:table)
3836
+ @type = args[:type] if args.key?(:type)
3837
+ end
3838
+ end
3839
+
3796
3840
  # Represents tables and fileset metadata contained within a zone.
3797
3841
  class GoogleCloudDataplexV1Entity
3798
3842
  include Google::Apis::Core::Hashable
@@ -4093,6 +4137,12 @@ module Google
4093
4137
  # @return [String]
4094
4138
  attr_accessor :name
4095
4139
 
4140
+ # Output only. Denotes the transfer status of the Entry Group. It is unspecified
4141
+ # for Entry Group created from Dataplex API.
4142
+ # Corresponds to the JSON property `transferStatus`
4143
+ # @return [String]
4144
+ attr_accessor :transfer_status
4145
+
4096
4146
  # Output only. System generated globally unique ID for the EntryGroup. If you
4097
4147
  # delete and recreate the EntryGroup with the same name, this ID will be
4098
4148
  # different.
@@ -4117,6 +4167,7 @@ module Google
4117
4167
  @etag = args[:etag] if args.key?(:etag)
4118
4168
  @labels = args[:labels] if args.key?(:labels)
4119
4169
  @name = args[:name] if args.key?(:name)
4170
+ @transfer_status = args[:transfer_status] if args.key?(:transfer_status)
4120
4171
  @uid = args[:uid] if args.key?(:uid)
4121
4172
  @update_time = args[:update_time] if args.key?(:update_time)
4122
4173
  end
@@ -7183,9 +7234,9 @@ module Google
7183
7234
  # @return [String]
7184
7235
  attr_accessor :sql_script
7185
7236
 
7186
- # A reference to a query file. This can be the Cloud Storage URI of the query
7187
- # file or it can the path to a SqlScript Content. The execution args are used to
7188
- # declare a set of script variables (set key="value";).
7237
+ # A reference to a query file. This should be the Cloud Storage URI of the query
7238
+ # file. The execution args are used to declare a set of script variables (set
7239
+ # key="value";).
7189
7240
  # Corresponds to the JSON property `sqlScriptFile`
7190
7241
  # @return [String]
7191
7242
  attr_accessor :sql_script_file
@@ -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.61.0"
19
+ GEM_VERSION = "0.63.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240802"
25
+ REVISION = "20240914"
26
26
  end
27
27
  end
28
28
  end
@@ -592,6 +592,12 @@ module Google
592
592
  include Google::Apis::Core::JsonObjectSupport
593
593
  end
594
594
 
595
+ class GoogleCloudDataplexV1DiscoveryEventTableDetails
596
+ class Representation < Google::Apis::Core::JsonRepresentation; end
597
+
598
+ include Google::Apis::Core::JsonObjectSupport
599
+ end
600
+
595
601
  class GoogleCloudDataplexV1Entity
596
602
  class Representation < Google::Apis::Core::JsonRepresentation; end
597
603
 
@@ -1368,6 +1374,7 @@ module Google
1368
1374
  property :metadata_template, as: 'metadataTemplate', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1AspectTypeMetadataTemplate, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1AspectTypeMetadataTemplate::Representation
1369
1375
 
1370
1376
  property :name, as: 'name'
1377
+ property :transfer_status, as: 'transferStatus'
1371
1378
  property :uid, as: 'uid'
1372
1379
  property :update_time, as: 'updateTime'
1373
1380
  end
@@ -2227,12 +2234,15 @@ module Google
2227
2234
  property :config, as: 'config', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventConfigDetails, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventConfigDetails::Representation
2228
2235
 
2229
2236
  property :data_location, as: 'dataLocation'
2237
+ property :datascan_id, as: 'datascanId'
2230
2238
  property :entity, as: 'entity', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventEntityDetails, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventEntityDetails::Representation
2231
2239
 
2232
2240
  property :lake_id, as: 'lakeId'
2233
2241
  property :message, as: 'message'
2234
2242
  property :partition, as: 'partition', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventPartitionDetails, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventPartitionDetails::Representation
2235
2243
 
2244
+ property :table, as: 'table', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventTableDetails, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventTableDetails::Representation
2245
+
2236
2246
  property :type, as: 'type'
2237
2247
  property :zone_id, as: 'zoneId'
2238
2248
  end
@@ -2270,6 +2280,14 @@ module Google
2270
2280
  end
2271
2281
  end
2272
2282
 
2283
+ class GoogleCloudDataplexV1DiscoveryEventTableDetails
2284
+ # @private
2285
+ class Representation < Google::Apis::Core::JsonRepresentation
2286
+ property :table, as: 'table'
2287
+ property :type, as: 'type'
2288
+ end
2289
+ end
2290
+
2273
2291
  class GoogleCloudDataplexV1Entity
2274
2292
  # @private
2275
2293
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2341,6 +2359,7 @@ module Google
2341
2359
  property :etag, as: 'etag'
2342
2360
  hash :labels, as: 'labels'
2343
2361
  property :name, as: 'name'
2362
+ property :transfer_status, as: 'transferStatus'
2344
2363
  property :uid, as: 'uid'
2345
2364
  property :update_time, as: 'updateTime'
2346
2365
  end
@@ -172,6 +172,150 @@ module Google
172
172
  execute_or_queue_command(command, &block)
173
173
  end
174
174
 
175
+ # Starts asynchronous cancellation on a long-running operation. The server makes
176
+ # a best effort to cancel the operation, but success is not guaranteed. If the
177
+ # server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.
178
+ # Clients can use Operations.GetOperation or other methods to check whether the
179
+ # cancellation succeeded or whether the operation completed despite cancellation.
180
+ # On successful cancellation, the operation is not deleted; instead, it becomes
181
+ # an operation with an Operation.error value with a google.rpc.Status.code of 1,
182
+ # corresponding to Code.CANCELLED.
183
+ # @param [String] name
184
+ # The name of the operation resource to be cancelled.
185
+ # @param [Google::Apis::DataplexV1::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_request_object
186
+ # @param [String] fields
187
+ # Selector specifying which fields to include in a partial response.
188
+ # @param [String] quota_user
189
+ # Available to use for quota purposes for server-side applications. Can be any
190
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
191
+ # @param [Google::Apis::RequestOptions] options
192
+ # Request-specific options
193
+ #
194
+ # @yield [result, err] Result & error if block supplied
195
+ # @yieldparam result [Google::Apis::DataplexV1::Empty] parsed result object
196
+ # @yieldparam err [StandardError] error object if request failed
197
+ #
198
+ # @return [Google::Apis::DataplexV1::Empty]
199
+ #
200
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
201
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
202
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
203
+ def cancel_organization_location_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
204
+ command = make_simple_command(:post, 'v1/{+name}:cancel', options)
205
+ command.request_representation = Google::Apis::DataplexV1::GoogleLongrunningCancelOperationRequest::Representation
206
+ command.request_object = google_longrunning_cancel_operation_request_object
207
+ command.response_representation = Google::Apis::DataplexV1::Empty::Representation
208
+ command.response_class = Google::Apis::DataplexV1::Empty
209
+ command.params['name'] = name unless name.nil?
210
+ command.query['fields'] = fields unless fields.nil?
211
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
212
+ execute_or_queue_command(command, &block)
213
+ end
214
+
215
+ # Deletes a long-running operation. This method indicates that the client is no
216
+ # longer interested in the operation result. It does not cancel the operation.
217
+ # If the server doesn't support this method, it returns google.rpc.Code.
218
+ # UNIMPLEMENTED.
219
+ # @param [String] name
220
+ # The name of the operation resource to be deleted.
221
+ # @param [String] fields
222
+ # Selector specifying which fields to include in a partial response.
223
+ # @param [String] quota_user
224
+ # Available to use for quota purposes for server-side applications. Can be any
225
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
226
+ # @param [Google::Apis::RequestOptions] options
227
+ # Request-specific options
228
+ #
229
+ # @yield [result, err] Result & error if block supplied
230
+ # @yieldparam result [Google::Apis::DataplexV1::Empty] parsed result object
231
+ # @yieldparam err [StandardError] error object if request failed
232
+ #
233
+ # @return [Google::Apis::DataplexV1::Empty]
234
+ #
235
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
236
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
237
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
238
+ def delete_organization_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
239
+ command = make_simple_command(:delete, 'v1/{+name}', options)
240
+ command.response_representation = Google::Apis::DataplexV1::Empty::Representation
241
+ command.response_class = Google::Apis::DataplexV1::Empty
242
+ command.params['name'] = name unless name.nil?
243
+ command.query['fields'] = fields unless fields.nil?
244
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
245
+ execute_or_queue_command(command, &block)
246
+ end
247
+
248
+ # Gets the latest state of a long-running operation. Clients can use this method
249
+ # to poll the operation result at intervals as recommended by the API service.
250
+ # @param [String] name
251
+ # The name of the operation resource.
252
+ # @param [String] fields
253
+ # Selector specifying which fields to include in a partial response.
254
+ # @param [String] quota_user
255
+ # Available to use for quota purposes for server-side applications. Can be any
256
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
257
+ # @param [Google::Apis::RequestOptions] options
258
+ # Request-specific options
259
+ #
260
+ # @yield [result, err] Result & error if block supplied
261
+ # @yieldparam result [Google::Apis::DataplexV1::GoogleLongrunningOperation] parsed result object
262
+ # @yieldparam err [StandardError] error object if request failed
263
+ #
264
+ # @return [Google::Apis::DataplexV1::GoogleLongrunningOperation]
265
+ #
266
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
267
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
268
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
269
+ def get_organization_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
270
+ command = make_simple_command(:get, 'v1/{+name}', options)
271
+ command.response_representation = Google::Apis::DataplexV1::GoogleLongrunningOperation::Representation
272
+ command.response_class = Google::Apis::DataplexV1::GoogleLongrunningOperation
273
+ command.params['name'] = name unless name.nil?
274
+ command.query['fields'] = fields unless fields.nil?
275
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
276
+ execute_or_queue_command(command, &block)
277
+ end
278
+
279
+ # Lists operations that match the specified filter in the request. If the server
280
+ # doesn't support this method, it returns UNIMPLEMENTED.
281
+ # @param [String] name
282
+ # The name of the operation's parent resource.
283
+ # @param [String] filter
284
+ # The standard list filter.
285
+ # @param [Fixnum] page_size
286
+ # The standard list page size.
287
+ # @param [String] page_token
288
+ # The standard list page token.
289
+ # @param [String] fields
290
+ # Selector specifying which fields to include in a partial response.
291
+ # @param [String] quota_user
292
+ # Available to use for quota purposes for server-side applications. Can be any
293
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
294
+ # @param [Google::Apis::RequestOptions] options
295
+ # Request-specific options
296
+ #
297
+ # @yield [result, err] Result & error if block supplied
298
+ # @yieldparam result [Google::Apis::DataplexV1::GoogleLongrunningListOperationsResponse] parsed result object
299
+ # @yieldparam err [StandardError] error object if request failed
300
+ #
301
+ # @return [Google::Apis::DataplexV1::GoogleLongrunningListOperationsResponse]
302
+ #
303
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
304
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
305
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
306
+ def list_organization_location_operation_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
307
+ command = make_simple_command(:get, 'v1/{+name}', options)
308
+ command.response_representation = Google::Apis::DataplexV1::GoogleLongrunningListOperationsResponse::Representation
309
+ command.response_class = Google::Apis::DataplexV1::GoogleLongrunningListOperationsResponse
310
+ command.params['name'] = name unless name.nil?
311
+ command.query['filter'] = filter unless filter.nil?
312
+ command.query['pageSize'] = page_size unless page_size.nil?
313
+ command.query['pageToken'] = page_token unless page_token.nil?
314
+ command.query['fields'] = fields unless fields.nil?
315
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
316
+ execute_or_queue_command(command, &block)
317
+ end
318
+
175
319
  # Gets information about a location.
176
320
  # @param [String] name
177
321
  # Resource name for the location.
@@ -246,6 +390,9 @@ module Google
246
390
  end
247
391
 
248
392
  # Looks up a single Entry by name using the permission on the source system.
393
+ # Caution: The BigQuery metadata that is stored in Dataplex Catalog is changing.
394
+ # For more information, see Changes to BigQuery metadata stored in Dataplex
395
+ # Catalog (https://cloud.google.com/dataplex/docs/biqquery-metadata-changes).
249
396
  # @param [String] name
250
397
  # Required. The project to which the request should be attributed in the
251
398
  # following form: projects/`project`/locations/`location`.
@@ -2562,7 +2709,10 @@ module Google
2562
2709
  execute_or_queue_command(command, &block)
2563
2710
  end
2564
2711
 
2565
- # Gets an Entry.
2712
+ # Gets an Entry.Caution: The BigQuery metadata that is stored in Dataplex
2713
+ # Catalog is changing. For more information, see Changes to BigQuery metadata
2714
+ # stored in Dataplex Catalog (https://cloud.google.com/dataplex/docs/biqquery-
2715
+ # metadata-changes).
2566
2716
  # @param [String] name
2567
2717
  # Required. The resource name of the Entry: projects/`project`/locations/`
2568
2718
  # location`/entryGroups/`entry_group`/entries/`entry`.
@@ -2716,6 +2866,127 @@ module Google
2716
2866
  execute_or_queue_command(command, &block)
2717
2867
  end
2718
2868
 
2869
+ # Gets the access control policy for a resource. Returns an empty policy if the
2870
+ # resource exists and does not have a policy set.
2871
+ # @param [String] resource
2872
+ # REQUIRED: The resource for which the policy is being requested. See Resource
2873
+ # names (https://cloud.google.com/apis/design/resource_names) for the
2874
+ # appropriate value for this field.
2875
+ # @param [Fixnum] options_requested_policy_version
2876
+ # Optional. The maximum policy version that will be used to format the policy.
2877
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
2878
+ # rejected.Requests for policies with any conditional role bindings must specify
2879
+ # version 3. Policies with no conditional role bindings may specify any valid
2880
+ # value or leave the field unset.The policy in the response might use the policy
2881
+ # version that you specified, or it might use a lower policy version. For
2882
+ # example, if you specify version 3, but the policy has no conditional role
2883
+ # bindings, the response uses version 1.To learn which resources support
2884
+ # conditions in their IAM policies, see the IAM documentation (https://cloud.
2885
+ # google.com/iam/help/conditions/resource-policies).
2886
+ # @param [String] fields
2887
+ # Selector specifying which fields to include in a partial response.
2888
+ # @param [String] quota_user
2889
+ # Available to use for quota purposes for server-side applications. Can be any
2890
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2891
+ # @param [Google::Apis::RequestOptions] options
2892
+ # Request-specific options
2893
+ #
2894
+ # @yield [result, err] Result & error if block supplied
2895
+ # @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
2896
+ # @yieldparam err [StandardError] error object if request failed
2897
+ #
2898
+ # @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
2899
+ #
2900
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2901
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2902
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2903
+ def get_project_location_entry_link_type_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
2904
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
2905
+ command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
2906
+ command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
2907
+ command.params['resource'] = resource unless resource.nil?
2908
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
2909
+ command.query['fields'] = fields unless fields.nil?
2910
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2911
+ execute_or_queue_command(command, &block)
2912
+ end
2913
+
2914
+ # Sets the access control policy on the specified resource. Replaces any
2915
+ # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
2916
+ # errors.
2917
+ # @param [String] resource
2918
+ # REQUIRED: The resource for which the policy is being specified. See Resource
2919
+ # names (https://cloud.google.com/apis/design/resource_names) for the
2920
+ # appropriate value for this field.
2921
+ # @param [Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
2922
+ # @param [String] fields
2923
+ # Selector specifying which fields to include in a partial response.
2924
+ # @param [String] quota_user
2925
+ # Available to use for quota purposes for server-side applications. Can be any
2926
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2927
+ # @param [Google::Apis::RequestOptions] options
2928
+ # Request-specific options
2929
+ #
2930
+ # @yield [result, err] Result & error if block supplied
2931
+ # @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
2932
+ # @yieldparam err [StandardError] error object if request failed
2933
+ #
2934
+ # @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
2935
+ #
2936
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2937
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2938
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2939
+ def set_project_location_entry_link_type_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2940
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
2941
+ command.request_representation = Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest::Representation
2942
+ command.request_object = google_iam_v1_set_iam_policy_request_object
2943
+ command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
2944
+ command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
2945
+ command.params['resource'] = resource unless resource.nil?
2946
+ command.query['fields'] = fields unless fields.nil?
2947
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2948
+ execute_or_queue_command(command, &block)
2949
+ end
2950
+
2951
+ # Returns permissions that a caller has on the specified resource. If the
2952
+ # resource does not exist, this will return an empty set of permissions, not a
2953
+ # NOT_FOUND error.Note: This operation is designed to be used for building
2954
+ # permission-aware UIs and command-line tools, not for authorization checking.
2955
+ # This operation may "fail open" without warning.
2956
+ # @param [String] resource
2957
+ # REQUIRED: The resource for which the policy detail is being requested. See
2958
+ # Resource names (https://cloud.google.com/apis/design/resource_names) for the
2959
+ # appropriate value for this field.
2960
+ # @param [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
2961
+ # @param [String] fields
2962
+ # Selector specifying which fields to include in a partial response.
2963
+ # @param [String] quota_user
2964
+ # Available to use for quota purposes for server-side applications. Can be any
2965
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2966
+ # @param [Google::Apis::RequestOptions] options
2967
+ # Request-specific options
2968
+ #
2969
+ # @yield [result, err] Result & error if block supplied
2970
+ # @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
2971
+ # @yieldparam err [StandardError] error object if request failed
2972
+ #
2973
+ # @return [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse]
2974
+ #
2975
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2976
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2977
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2978
+ def test_project_location_entry_link_type_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2979
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
2980
+ command.request_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest::Representation
2981
+ command.request_object = google_iam_v1_test_iam_permissions_request_object
2982
+ command.response_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse::Representation
2983
+ command.response_class = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse
2984
+ command.params['resource'] = resource unless resource.nil?
2985
+ command.query['fields'] = fields unless fields.nil?
2986
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2987
+ execute_or_queue_command(command, &block)
2988
+ end
2989
+
2719
2990
  # Creates an EntryType.
2720
2991
  # @param [String] parent
2721
2992
  # Required. The resource name of the EntryType, of the form: projects/`
@@ -3159,6 +3430,248 @@ module Google
3159
3430
  execute_or_queue_command(command, &block)
3160
3431
  end
3161
3432
 
3433
+ # Gets the access control policy for a resource. Returns an empty policy if the
3434
+ # resource exists and does not have a policy set.
3435
+ # @param [String] resource
3436
+ # REQUIRED: The resource for which the policy is being requested. See Resource
3437
+ # names (https://cloud.google.com/apis/design/resource_names) for the
3438
+ # appropriate value for this field.
3439
+ # @param [Fixnum] options_requested_policy_version
3440
+ # Optional. The maximum policy version that will be used to format the policy.
3441
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
3442
+ # rejected.Requests for policies with any conditional role bindings must specify
3443
+ # version 3. Policies with no conditional role bindings may specify any valid
3444
+ # value or leave the field unset.The policy in the response might use the policy
3445
+ # version that you specified, or it might use a lower policy version. For
3446
+ # example, if you specify version 3, but the policy has no conditional role
3447
+ # bindings, the response uses version 1.To learn which resources support
3448
+ # conditions in their IAM policies, see the IAM documentation (https://cloud.
3449
+ # google.com/iam/help/conditions/resource-policies).
3450
+ # @param [String] fields
3451
+ # Selector specifying which fields to include in a partial response.
3452
+ # @param [String] quota_user
3453
+ # Available to use for quota purposes for server-side applications. Can be any
3454
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3455
+ # @param [Google::Apis::RequestOptions] options
3456
+ # Request-specific options
3457
+ #
3458
+ # @yield [result, err] Result & error if block supplied
3459
+ # @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
3460
+ # @yieldparam err [StandardError] error object if request failed
3461
+ #
3462
+ # @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
3463
+ #
3464
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3465
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3466
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3467
+ def get_project_location_glossary_category_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
3468
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
3469
+ command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
3470
+ command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
3471
+ command.params['resource'] = resource unless resource.nil?
3472
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
3473
+ command.query['fields'] = fields unless fields.nil?
3474
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3475
+ execute_or_queue_command(command, &block)
3476
+ end
3477
+
3478
+ # Sets the access control policy on the specified resource. Replaces any
3479
+ # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
3480
+ # errors.
3481
+ # @param [String] resource
3482
+ # REQUIRED: The resource for which the policy is being specified. See Resource
3483
+ # names (https://cloud.google.com/apis/design/resource_names) for the
3484
+ # appropriate value for this field.
3485
+ # @param [Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
3486
+ # @param [String] fields
3487
+ # Selector specifying which fields to include in a partial response.
3488
+ # @param [String] quota_user
3489
+ # Available to use for quota purposes for server-side applications. Can be any
3490
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3491
+ # @param [Google::Apis::RequestOptions] options
3492
+ # Request-specific options
3493
+ #
3494
+ # @yield [result, err] Result & error if block supplied
3495
+ # @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
3496
+ # @yieldparam err [StandardError] error object if request failed
3497
+ #
3498
+ # @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
3499
+ #
3500
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3501
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3502
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3503
+ def set_project_location_glossary_category_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3504
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
3505
+ command.request_representation = Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest::Representation
3506
+ command.request_object = google_iam_v1_set_iam_policy_request_object
3507
+ command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
3508
+ command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
3509
+ command.params['resource'] = resource unless resource.nil?
3510
+ command.query['fields'] = fields unless fields.nil?
3511
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3512
+ execute_or_queue_command(command, &block)
3513
+ end
3514
+
3515
+ # Returns permissions that a caller has on the specified resource. If the
3516
+ # resource does not exist, this will return an empty set of permissions, not a
3517
+ # NOT_FOUND error.Note: This operation is designed to be used for building
3518
+ # permission-aware UIs and command-line tools, not for authorization checking.
3519
+ # This operation may "fail open" without warning.
3520
+ # @param [String] resource
3521
+ # REQUIRED: The resource for which the policy detail is being requested. See
3522
+ # Resource names (https://cloud.google.com/apis/design/resource_names) for the
3523
+ # appropriate value for this field.
3524
+ # @param [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
3525
+ # @param [String] fields
3526
+ # Selector specifying which fields to include in a partial response.
3527
+ # @param [String] quota_user
3528
+ # Available to use for quota purposes for server-side applications. Can be any
3529
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3530
+ # @param [Google::Apis::RequestOptions] options
3531
+ # Request-specific options
3532
+ #
3533
+ # @yield [result, err] Result & error if block supplied
3534
+ # @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
3535
+ # @yieldparam err [StandardError] error object if request failed
3536
+ #
3537
+ # @return [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse]
3538
+ #
3539
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3540
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3541
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3542
+ def test_project_location_glossary_category_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3543
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
3544
+ command.request_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest::Representation
3545
+ command.request_object = google_iam_v1_test_iam_permissions_request_object
3546
+ command.response_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse::Representation
3547
+ command.response_class = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse
3548
+ command.params['resource'] = resource unless resource.nil?
3549
+ command.query['fields'] = fields unless fields.nil?
3550
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3551
+ execute_or_queue_command(command, &block)
3552
+ end
3553
+
3554
+ # Gets the access control policy for a resource. Returns an empty policy if the
3555
+ # resource exists and does not have a policy set.
3556
+ # @param [String] resource
3557
+ # REQUIRED: The resource for which the policy is being requested. See Resource
3558
+ # names (https://cloud.google.com/apis/design/resource_names) for the
3559
+ # appropriate value for this field.
3560
+ # @param [Fixnum] options_requested_policy_version
3561
+ # Optional. The maximum policy version that will be used to format the policy.
3562
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
3563
+ # rejected.Requests for policies with any conditional role bindings must specify
3564
+ # version 3. Policies with no conditional role bindings may specify any valid
3565
+ # value or leave the field unset.The policy in the response might use the policy
3566
+ # version that you specified, or it might use a lower policy version. For
3567
+ # example, if you specify version 3, but the policy has no conditional role
3568
+ # bindings, the response uses version 1.To learn which resources support
3569
+ # conditions in their IAM policies, see the IAM documentation (https://cloud.
3570
+ # google.com/iam/help/conditions/resource-policies).
3571
+ # @param [String] fields
3572
+ # Selector specifying which fields to include in a partial response.
3573
+ # @param [String] quota_user
3574
+ # Available to use for quota purposes for server-side applications. Can be any
3575
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3576
+ # @param [Google::Apis::RequestOptions] options
3577
+ # Request-specific options
3578
+ #
3579
+ # @yield [result, err] Result & error if block supplied
3580
+ # @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
3581
+ # @yieldparam err [StandardError] error object if request failed
3582
+ #
3583
+ # @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
3584
+ #
3585
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3586
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3587
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3588
+ def get_project_location_glossary_term_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
3589
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
3590
+ command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
3591
+ command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
3592
+ command.params['resource'] = resource unless resource.nil?
3593
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
3594
+ command.query['fields'] = fields unless fields.nil?
3595
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3596
+ execute_or_queue_command(command, &block)
3597
+ end
3598
+
3599
+ # Sets the access control policy on the specified resource. Replaces any
3600
+ # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
3601
+ # errors.
3602
+ # @param [String] resource
3603
+ # REQUIRED: The resource for which the policy is being specified. See Resource
3604
+ # names (https://cloud.google.com/apis/design/resource_names) for the
3605
+ # appropriate value for this field.
3606
+ # @param [Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
3607
+ # @param [String] fields
3608
+ # Selector specifying which fields to include in a partial response.
3609
+ # @param [String] quota_user
3610
+ # Available to use for quota purposes for server-side applications. Can be any
3611
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3612
+ # @param [Google::Apis::RequestOptions] options
3613
+ # Request-specific options
3614
+ #
3615
+ # @yield [result, err] Result & error if block supplied
3616
+ # @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
3617
+ # @yieldparam err [StandardError] error object if request failed
3618
+ #
3619
+ # @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
3620
+ #
3621
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3622
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3623
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3624
+ def set_project_location_glossary_term_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3625
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
3626
+ command.request_representation = Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest::Representation
3627
+ command.request_object = google_iam_v1_set_iam_policy_request_object
3628
+ command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
3629
+ command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
3630
+ command.params['resource'] = resource unless resource.nil?
3631
+ command.query['fields'] = fields unless fields.nil?
3632
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3633
+ execute_or_queue_command(command, &block)
3634
+ end
3635
+
3636
+ # Returns permissions that a caller has on the specified resource. If the
3637
+ # resource does not exist, this will return an empty set of permissions, not a
3638
+ # NOT_FOUND error.Note: This operation is designed to be used for building
3639
+ # permission-aware UIs and command-line tools, not for authorization checking.
3640
+ # This operation may "fail open" without warning.
3641
+ # @param [String] resource
3642
+ # REQUIRED: The resource for which the policy detail is being requested. See
3643
+ # Resource names (https://cloud.google.com/apis/design/resource_names) for the
3644
+ # appropriate value for this field.
3645
+ # @param [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
3646
+ # @param [String] fields
3647
+ # Selector specifying which fields to include in a partial response.
3648
+ # @param [String] quota_user
3649
+ # Available to use for quota purposes for server-side applications. Can be any
3650
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3651
+ # @param [Google::Apis::RequestOptions] options
3652
+ # Request-specific options
3653
+ #
3654
+ # @yield [result, err] Result & error if block supplied
3655
+ # @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
3656
+ # @yieldparam err [StandardError] error object if request failed
3657
+ #
3658
+ # @return [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse]
3659
+ #
3660
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3661
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3662
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3663
+ def test_project_location_glossary_term_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3664
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
3665
+ command.request_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest::Representation
3666
+ command.request_object = google_iam_v1_test_iam_permissions_request_object
3667
+ command.response_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse::Representation
3668
+ command.response_class = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse
3669
+ command.params['resource'] = resource unless resource.nil?
3670
+ command.query['fields'] = fields unless fields.nil?
3671
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3672
+ execute_or_queue_command(command, &block)
3673
+ end
3674
+
3162
3675
  # Gets the access control policy for a resource. Returns an empty policy if the
3163
3676
  # resource exists and does not have a policy set.
3164
3677
  # @param [String] resource
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.61.0
4
+ version: 0.63.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-11 00:00:00.000000000 Z
11
+ date: 2024-09-22 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.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataplex_v1/v0.63.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: []