google-apis-dataplex_v1 0.17.0 → 0.19.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 +1428 -87
- data/lib/google/apis/dataplex_v1/gem_version.rb +2 -2
- data/lib/google/apis/dataplex_v1/representations.rb +641 -0
- data/lib/google/apis/dataplex_v1/service.rb +345 -0
- metadata +3 -3
@@ -243,6 +243,115 @@ module Google
|
|
243
243
|
execute_or_queue_command(command, &block)
|
244
244
|
end
|
245
245
|
|
246
|
+
# Creates a dataScan resource.
|
247
|
+
# @param [String] parent
|
248
|
+
# Required. The resource name of the parent location: projects/`project`/
|
249
|
+
# locations/`location_id` where `project` refers to a project_id or
|
250
|
+
# project_number and location_id refers to a GCP region.
|
251
|
+
# @param [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScan] google_cloud_dataplex_v1_data_scan_object
|
252
|
+
# @param [String] data_scan_id
|
253
|
+
# Required. DataScan identifier. * Must contain only lowercase letters, numbers
|
254
|
+
# and hyphens. * Must start with a letter. * Must end with a number or a letter.
|
255
|
+
# * Must be between 1-63 characters. * Must be unique within the customer
|
256
|
+
# project / location.
|
257
|
+
# @param [String] fields
|
258
|
+
# Selector specifying which fields to include in a partial response.
|
259
|
+
# @param [String] quota_user
|
260
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
261
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
262
|
+
# @param [Google::Apis::RequestOptions] options
|
263
|
+
# Request-specific options
|
264
|
+
#
|
265
|
+
# @yield [result, err] Result & error if block supplied
|
266
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleLongrunningOperation] parsed result object
|
267
|
+
# @yieldparam err [StandardError] error object if request failed
|
268
|
+
#
|
269
|
+
# @return [Google::Apis::DataplexV1::GoogleLongrunningOperation]
|
270
|
+
#
|
271
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
272
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
273
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
274
|
+
def create_project_location_data_scan(parent, google_cloud_dataplex_v1_data_scan_object = nil, data_scan_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
275
|
+
command = make_simple_command(:post, 'v1/{+parent}/dataScans', options)
|
276
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScan::Representation
|
277
|
+
command.request_object = google_cloud_dataplex_v1_data_scan_object
|
278
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleLongrunningOperation::Representation
|
279
|
+
command.response_class = Google::Apis::DataplexV1::GoogleLongrunningOperation
|
280
|
+
command.params['parent'] = parent unless parent.nil?
|
281
|
+
command.query['dataScanId'] = data_scan_id unless data_scan_id.nil?
|
282
|
+
command.query['fields'] = fields unless fields.nil?
|
283
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
284
|
+
execute_or_queue_command(command, &block)
|
285
|
+
end
|
286
|
+
|
287
|
+
# Delete the dataScan resource.
|
288
|
+
# @param [String] name
|
289
|
+
# Required. The resource name of the dataScan: projects/`project`/locations/`
|
290
|
+
# location_id`/dataScans/`data_scan_id` where `project` refers to a project_id
|
291
|
+
# or project_number and location_id refers to a GCP region.
|
292
|
+
# @param [String] fields
|
293
|
+
# Selector specifying which fields to include in a partial response.
|
294
|
+
# @param [String] quota_user
|
295
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
296
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
297
|
+
# @param [Google::Apis::RequestOptions] options
|
298
|
+
# Request-specific options
|
299
|
+
#
|
300
|
+
# @yield [result, err] Result & error if block supplied
|
301
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleLongrunningOperation] parsed result object
|
302
|
+
# @yieldparam err [StandardError] error object if request failed
|
303
|
+
#
|
304
|
+
# @return [Google::Apis::DataplexV1::GoogleLongrunningOperation]
|
305
|
+
#
|
306
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
307
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
308
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
309
|
+
def delete_project_location_data_scan(name, fields: nil, quota_user: nil, options: nil, &block)
|
310
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
311
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleLongrunningOperation::Representation
|
312
|
+
command.response_class = Google::Apis::DataplexV1::GoogleLongrunningOperation
|
313
|
+
command.params['name'] = name unless name.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
|
+
|
319
|
+
# Get dataScan resource.
|
320
|
+
# @param [String] name
|
321
|
+
# Required. The resource name of the dataScan: projects/`project`/locations/`
|
322
|
+
# location_id`/dataScans/`data_scan_id` where `project` refers to a project_id
|
323
|
+
# or project_number and location_id refers to a GCP region.
|
324
|
+
# @param [String] view
|
325
|
+
# Optional. Used to select the subset of DataScan information to return.
|
326
|
+
# Defaults to BASIC.
|
327
|
+
# @param [String] fields
|
328
|
+
# Selector specifying which fields to include in a partial response.
|
329
|
+
# @param [String] quota_user
|
330
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
331
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
332
|
+
# @param [Google::Apis::RequestOptions] options
|
333
|
+
# Request-specific options
|
334
|
+
#
|
335
|
+
# @yield [result, err] Result & error if block supplied
|
336
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScan] parsed result object
|
337
|
+
# @yieldparam err [StandardError] error object if request failed
|
338
|
+
#
|
339
|
+
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScan]
|
340
|
+
#
|
341
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
342
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
343
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
344
|
+
def get_project_location_data_scan(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
345
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
346
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScan::Representation
|
347
|
+
command.response_class = Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScan
|
348
|
+
command.params['name'] = name unless name.nil?
|
349
|
+
command.query['view'] = view unless view.nil?
|
350
|
+
command.query['fields'] = fields unless fields.nil?
|
351
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
352
|
+
execute_or_queue_command(command, &block)
|
353
|
+
end
|
354
|
+
|
246
355
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
247
356
|
# resource exists and does not have a policy set.
|
248
357
|
# @param [String] resource
|
@@ -288,6 +397,129 @@ module Google
|
|
288
397
|
execute_or_queue_command(command, &block)
|
289
398
|
end
|
290
399
|
|
400
|
+
# Lists dataScans.
|
401
|
+
# @param [String] parent
|
402
|
+
# Required. projects/`project`/locations/`location_id` where `project` refers to
|
403
|
+
# a project_id or project_number and location_id refers to a GCP region.
|
404
|
+
# @param [String] filter
|
405
|
+
# Optional. Filter request.
|
406
|
+
# @param [String] order_by
|
407
|
+
# Optional. Order by fields (name or create_time) for the result. If not
|
408
|
+
# specified, the ordering is undefined.
|
409
|
+
# @param [Fixnum] page_size
|
410
|
+
# Optional. Maximum number of dataScans to return. The service may return fewer
|
411
|
+
# than this value. If unspecified, at most 10 scans will be returned. The
|
412
|
+
# maximum value is 1000; values above 1000 will be coerced to 1000.
|
413
|
+
# @param [String] page_token
|
414
|
+
# Optional. Page token received from a previous ListDataScans call. Provide this
|
415
|
+
# to retrieve the subsequent page. When paginating, all other parameters
|
416
|
+
# provided to ListDataScans must match the call that provided the page token.
|
417
|
+
# @param [String] fields
|
418
|
+
# Selector specifying which fields to include in a partial response.
|
419
|
+
# @param [String] quota_user
|
420
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
421
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
422
|
+
# @param [Google::Apis::RequestOptions] options
|
423
|
+
# Request-specific options
|
424
|
+
#
|
425
|
+
# @yield [result, err] Result & error if block supplied
|
426
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleCloudDataplexV1ListDataScansResponse] parsed result object
|
427
|
+
# @yieldparam err [StandardError] error object if request failed
|
428
|
+
#
|
429
|
+
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1ListDataScansResponse]
|
430
|
+
#
|
431
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
432
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
433
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
434
|
+
def list_project_location_data_scans(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
435
|
+
command = make_simple_command(:get, 'v1/{+parent}/dataScans', options)
|
436
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleCloudDataplexV1ListDataScansResponse::Representation
|
437
|
+
command.response_class = Google::Apis::DataplexV1::GoogleCloudDataplexV1ListDataScansResponse
|
438
|
+
command.params['parent'] = parent unless parent.nil?
|
439
|
+
command.query['filter'] = filter unless filter.nil?
|
440
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
441
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
442
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
443
|
+
command.query['fields'] = fields unless fields.nil?
|
444
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
445
|
+
execute_or_queue_command(command, &block)
|
446
|
+
end
|
447
|
+
|
448
|
+
# Update the dataScan resource.
|
449
|
+
# @param [String] name
|
450
|
+
# Output only. The relative resource name of the scan, of the form: projects/`
|
451
|
+
# project`/locations/`location_id`/dataScans/`datascan_id`. where `project`
|
452
|
+
# refers to a project_id or project_number and location_id refers to a GCP
|
453
|
+
# region.
|
454
|
+
# @param [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScan] google_cloud_dataplex_v1_data_scan_object
|
455
|
+
# @param [String] update_mask
|
456
|
+
# Required. Mask of fields to update.
|
457
|
+
# @param [String] fields
|
458
|
+
# Selector specifying which fields to include in a partial response.
|
459
|
+
# @param [String] quota_user
|
460
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
461
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
462
|
+
# @param [Google::Apis::RequestOptions] options
|
463
|
+
# Request-specific options
|
464
|
+
#
|
465
|
+
# @yield [result, err] Result & error if block supplied
|
466
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleLongrunningOperation] parsed result object
|
467
|
+
# @yieldparam err [StandardError] error object if request failed
|
468
|
+
#
|
469
|
+
# @return [Google::Apis::DataplexV1::GoogleLongrunningOperation]
|
470
|
+
#
|
471
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
472
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
473
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
474
|
+
def patch_project_location_data_scan(name, google_cloud_dataplex_v1_data_scan_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
475
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
476
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScan::Representation
|
477
|
+
command.request_object = google_cloud_dataplex_v1_data_scan_object
|
478
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleLongrunningOperation::Representation
|
479
|
+
command.response_class = Google::Apis::DataplexV1::GoogleLongrunningOperation
|
480
|
+
command.params['name'] = name unless name.nil?
|
481
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
482
|
+
command.query['fields'] = fields unless fields.nil?
|
483
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
484
|
+
execute_or_queue_command(command, &block)
|
485
|
+
end
|
486
|
+
|
487
|
+
# Run an on demand execution of a DataScan.
|
488
|
+
# @param [String] name
|
489
|
+
# Required. The resource name of the DataScan: projects/`project`/locations/`
|
490
|
+
# location_id`/dataScans/`data_scan_id`. where `project` refers to a project_id
|
491
|
+
# or project_number and location_id refers to a GCP region. Only on-demand
|
492
|
+
# DataScans are allowed.
|
493
|
+
# @param [Google::Apis::DataplexV1::GoogleCloudDataplexV1RunDataScanRequest] google_cloud_dataplex_v1_run_data_scan_request_object
|
494
|
+
# @param [String] fields
|
495
|
+
# Selector specifying which fields to include in a partial response.
|
496
|
+
# @param [String] quota_user
|
497
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
498
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
499
|
+
# @param [Google::Apis::RequestOptions] options
|
500
|
+
# Request-specific options
|
501
|
+
#
|
502
|
+
# @yield [result, err] Result & error if block supplied
|
503
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleCloudDataplexV1RunDataScanResponse] parsed result object
|
504
|
+
# @yieldparam err [StandardError] error object if request failed
|
505
|
+
#
|
506
|
+
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1RunDataScanResponse]
|
507
|
+
#
|
508
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
509
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
510
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
511
|
+
def run_project_location_data_scan(name, google_cloud_dataplex_v1_run_data_scan_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
512
|
+
command = make_simple_command(:post, 'v1/{+name}:run', options)
|
513
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleCloudDataplexV1RunDataScanRequest::Representation
|
514
|
+
command.request_object = google_cloud_dataplex_v1_run_data_scan_request_object
|
515
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleCloudDataplexV1RunDataScanResponse::Representation
|
516
|
+
command.response_class = Google::Apis::DataplexV1::GoogleCloudDataplexV1RunDataScanResponse
|
517
|
+
command.params['name'] = name unless name.nil?
|
518
|
+
command.query['fields'] = fields unless fields.nil?
|
519
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
520
|
+
execute_or_queue_command(command, &block)
|
521
|
+
end
|
522
|
+
|
291
523
|
# Sets the access control policy on the specified resource. Replaces any
|
292
524
|
# existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
|
293
525
|
# errors.
|
@@ -364,6 +596,85 @@ module Google
|
|
364
596
|
execute_or_queue_command(command, &block)
|
365
597
|
end
|
366
598
|
|
599
|
+
# Get DataScanJob resource.
|
600
|
+
# @param [String] name
|
601
|
+
# Required. The resource name of the DataScanJob: projects/`project`/locations/`
|
602
|
+
# location_id`/dataScans/`data_scan_id`/dataScanJobs/`data_scan_job_id` where `
|
603
|
+
# project` refers to a project_id or project_number and location_id refers to a
|
604
|
+
# GCP region.
|
605
|
+
# @param [String] view
|
606
|
+
# Optional. Used to select the subset of DataScan information to return.
|
607
|
+
# Defaults to BASIC.
|
608
|
+
# @param [String] fields
|
609
|
+
# Selector specifying which fields to include in a partial response.
|
610
|
+
# @param [String] quota_user
|
611
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
612
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
613
|
+
# @param [Google::Apis::RequestOptions] options
|
614
|
+
# Request-specific options
|
615
|
+
#
|
616
|
+
# @yield [result, err] Result & error if block supplied
|
617
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanJob] parsed result object
|
618
|
+
# @yieldparam err [StandardError] error object if request failed
|
619
|
+
#
|
620
|
+
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanJob]
|
621
|
+
#
|
622
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
623
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
624
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
625
|
+
def get_project_location_data_scan_job(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
626
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
627
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanJob::Representation
|
628
|
+
command.response_class = Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanJob
|
629
|
+
command.params['name'] = name unless name.nil?
|
630
|
+
command.query['view'] = view unless view.nil?
|
631
|
+
command.query['fields'] = fields unless fields.nil?
|
632
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
633
|
+
execute_or_queue_command(command, &block)
|
634
|
+
end
|
635
|
+
|
636
|
+
# Lists DataScanJobs under the given dataScan.
|
637
|
+
# @param [String] parent
|
638
|
+
# Required. The resource name of the parent environment: projects/`project`/
|
639
|
+
# locations/`location_id`/dataScans/`data_scan_id` where `project` refers to a
|
640
|
+
# project_id or project_number and location_id refers to a GCP region.
|
641
|
+
# @param [Fixnum] page_size
|
642
|
+
# Optional. Maximum number of DataScanJobs to return. The service may return
|
643
|
+
# fewer than this value. If unspecified, at most 10 DataScanJobs will be
|
644
|
+
# returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
|
645
|
+
# @param [String] page_token
|
646
|
+
# Optional. Page token received from a previous ListDataScanJobs call. Provide
|
647
|
+
# this to retrieve the subsequent page. When paginating, all other parameters
|
648
|
+
# provided to ListDataScanJobs must match the call that provided the page token.
|
649
|
+
# @param [String] fields
|
650
|
+
# Selector specifying which fields to include in a partial response.
|
651
|
+
# @param [String] quota_user
|
652
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
653
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
654
|
+
# @param [Google::Apis::RequestOptions] options
|
655
|
+
# Request-specific options
|
656
|
+
#
|
657
|
+
# @yield [result, err] Result & error if block supplied
|
658
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleCloudDataplexV1ListDataScanJobsResponse] parsed result object
|
659
|
+
# @yieldparam err [StandardError] error object if request failed
|
660
|
+
#
|
661
|
+
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1ListDataScanJobsResponse]
|
662
|
+
#
|
663
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
664
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
665
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
666
|
+
def list_project_location_data_scan_jobs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
667
|
+
command = make_simple_command(:get, 'v1/{+parent}/jobs', options)
|
668
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleCloudDataplexV1ListDataScanJobsResponse::Representation
|
669
|
+
command.response_class = Google::Apis::DataplexV1::GoogleCloudDataplexV1ListDataScanJobsResponse
|
670
|
+
command.params['parent'] = parent unless parent.nil?
|
671
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
672
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
673
|
+
command.query['fields'] = fields unless fields.nil?
|
674
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
675
|
+
execute_or_queue_command(command, &block)
|
676
|
+
end
|
677
|
+
|
367
678
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
368
679
|
# resource exists and does not have a policy set.
|
369
680
|
# @param [String] resource
|
@@ -2199,6 +2510,40 @@ module Google
|
|
2199
2510
|
execute_or_queue_command(command, &block)
|
2200
2511
|
end
|
2201
2512
|
|
2513
|
+
# Run an on demand execution of a Task.
|
2514
|
+
# @param [String] name
|
2515
|
+
# Required. The resource name of the task: projects/`project_number`/locations/`
|
2516
|
+
# location_id`/lakes/`lake_id`/tasks/`task_id`.
|
2517
|
+
# @param [Google::Apis::DataplexV1::GoogleCloudDataplexV1RunTaskRequest] google_cloud_dataplex_v1_run_task_request_object
|
2518
|
+
# @param [String] fields
|
2519
|
+
# Selector specifying which fields to include in a partial response.
|
2520
|
+
# @param [String] quota_user
|
2521
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2522
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2523
|
+
# @param [Google::Apis::RequestOptions] options
|
2524
|
+
# Request-specific options
|
2525
|
+
#
|
2526
|
+
# @yield [result, err] Result & error if block supplied
|
2527
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleCloudDataplexV1RunTaskResponse] parsed result object
|
2528
|
+
# @yieldparam err [StandardError] error object if request failed
|
2529
|
+
#
|
2530
|
+
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1RunTaskResponse]
|
2531
|
+
#
|
2532
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2533
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2534
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2535
|
+
def run_project_location_lake_task(name, google_cloud_dataplex_v1_run_task_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2536
|
+
command = make_simple_command(:post, 'v1/{+name}:run', options)
|
2537
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleCloudDataplexV1RunTaskRequest::Representation
|
2538
|
+
command.request_object = google_cloud_dataplex_v1_run_task_request_object
|
2539
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleCloudDataplexV1RunTaskResponse::Representation
|
2540
|
+
command.response_class = Google::Apis::DataplexV1::GoogleCloudDataplexV1RunTaskResponse
|
2541
|
+
command.params['name'] = name unless name.nil?
|
2542
|
+
command.query['fields'] = fields unless fields.nil?
|
2543
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2544
|
+
execute_or_queue_command(command, &block)
|
2545
|
+
end
|
2546
|
+
|
2202
2547
|
# Sets the access control policy on the specified resource. Replaces any
|
2203
2548
|
# existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
|
2204
2549
|
# errors.
|
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.19.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:
|
11
|
+
date: 2023-01-04 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.19.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: []
|