google-apis-dataplex_v1 0.18.0 → 0.19.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: 541d862384a796be916fa1f4915d53c8584a2f024d72e64da191fb3e8bb93518
4
- data.tar.gz: a7774ca2693cb3350122318899bf8f050e39da9773970354bea1780578683e8e
3
+ metadata.gz: 5697976e961c479927b3c358fd94108aff6a8ac96b4513f6fc70bf3a7ee26ce6
4
+ data.tar.gz: 6b047346b20769d98e5f0e58e4917fcc03c46d3f82f5f8a05b25fa3c564d3ce2
5
5
  SHA512:
6
- metadata.gz: d946f56f8ca8c08074d3f1c182ec64208fac8050e8462edb0f483a518d4c76921cb231660a9090d5a5b8be38b431b5075158a1f987379535f7f5345f89b5a18d
7
- data.tar.gz: 74e1b41d8cfdc69e74f7bc962aa3ad89797f8ad25fc2ca43e1e53ef39f245bbe175513385979079b4846f9fd52920d6a6f4c1b806d08a92ffbda5b5c408300bc
6
+ metadata.gz: b6c42418d614abe109eee2ea626059b4aeca6c89dfb47831ff604cf9602862758b98d5b0781150dfe064e1b32d70f9c0967b85a0737a772e40471ed1d48555c9
7
+ data.tar.gz: ee62a260caf850042a550b3fd5b3ae7e48021b7556f14a9a7109c5a99ce177f6a02817b509192a2a3c99aba1225a20a9a5163b6ca2ce0d7e459ec01881a6a729
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dataplex_v1
2
2
 
3
+ ### v0.19.0 (2022-12-14)
4
+
5
+ * Regenerated from discovery document revision 20221212
6
+
3
7
  ### v0.18.0 (2022-12-05)
4
8
 
5
9
  * Regenerated from discovery document revision 20221130
@@ -657,6 +657,12 @@ module Google
657
657
  # @return [String]
658
658
  attr_accessor :name
659
659
 
660
+ # Optional. Determines how read permissions are handled for each asset and their
661
+ # associated tables. Only available to storage buckets assets.
662
+ # Corresponds to the JSON property `readAccessMode`
663
+ # @return [String]
664
+ attr_accessor :read_access_mode
665
+
660
666
  # Required. Immutable. Type of resource.
661
667
  # Corresponds to the JSON property `type`
662
668
  # @return [String]
@@ -669,6 +675,7 @@ module Google
669
675
  # Update properties of this object
670
676
  def update!(**args)
671
677
  @name = args[:name] if args.key?(:name)
678
+ @read_access_mode = args[:read_access_mode] if args.key?(:read_access_mode)
672
679
  @type = args[:type] if args.key?(:type)
673
680
  end
674
681
  end
@@ -2264,6 +2271,11 @@ module Google
2264
2271
  class GoogleCloudDataplexV1Entity
2265
2272
  include Google::Apis::Core::Hashable
2266
2273
 
2274
+ # Describes the access mechanism of the data within its storage location.
2275
+ # Corresponds to the JSON property `access`
2276
+ # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1StorageAccess]
2277
+ attr_accessor :access
2278
+
2267
2279
  # Required. Immutable. The ID of the asset associated with the storage location
2268
2280
  # containing the entity data. The entity must be with in the same zone with the
2269
2281
  # asset.
@@ -2364,6 +2376,7 @@ module Google
2364
2376
 
2365
2377
  # Update properties of this object
2366
2378
  def update!(**args)
2379
+ @access = args[:access] if args.key?(:access)
2367
2380
  @asset = args[:asset] if args.key?(:asset)
2368
2381
  @catalog_entry = args[:catalog_entry] if args.key?(:catalog_entry)
2369
2382
  @compatibility = args[:compatibility] if args.key?(:compatibility)
@@ -3484,6 +3497,38 @@ module Google
3484
3497
  end
3485
3498
  end
3486
3499
 
3500
+ #
3501
+ class GoogleCloudDataplexV1RunTaskRequest
3502
+ include Google::Apis::Core::Hashable
3503
+
3504
+ def initialize(**args)
3505
+ update!(**args)
3506
+ end
3507
+
3508
+ # Update properties of this object
3509
+ def update!(**args)
3510
+ end
3511
+ end
3512
+
3513
+ #
3514
+ class GoogleCloudDataplexV1RunTaskResponse
3515
+ include Google::Apis::Core::Hashable
3516
+
3517
+ # A job represents an instance of a task.
3518
+ # Corresponds to the JSON property `job`
3519
+ # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1Job]
3520
+ attr_accessor :job
3521
+
3522
+ def initialize(**args)
3523
+ update!(**args)
3524
+ end
3525
+
3526
+ # Update properties of this object
3527
+ def update!(**args)
3528
+ @job = args[:job] if args.key?(:job)
3529
+ end
3530
+ end
3531
+
3487
3532
  # The data scanned during processing (e.g. in incremental DataScan)
3488
3533
  class GoogleCloudDataplexV1ScannedData
3489
3534
  include Google::Apis::Core::Hashable
@@ -3811,6 +3856,26 @@ module Google
3811
3856
  end
3812
3857
  end
3813
3858
 
3859
+ # Describes the access mechanism of the data within its storage location.
3860
+ class GoogleCloudDataplexV1StorageAccess
3861
+ include Google::Apis::Core::Hashable
3862
+
3863
+ # Output only. Describes the read access mechanism of the data. Not user
3864
+ # settable.
3865
+ # Corresponds to the JSON property `read`
3866
+ # @return [String]
3867
+ attr_accessor :read
3868
+
3869
+ def initialize(**args)
3870
+ update!(**args)
3871
+ end
3872
+
3873
+ # Update properties of this object
3874
+ def update!(**args)
3875
+ @read = args[:read] if args.key?(:read)
3876
+ end
3877
+ end
3878
+
3814
3879
  # Describes the format of the data within its storage location.
3815
3880
  class GoogleCloudDataplexV1StorageFormat
3816
3881
  include Google::Apis::Core::Hashable
@@ -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.18.0"
19
+ GEM_VERSION = "0.19.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 = "20221130"
25
+ REVISION = "20221212"
26
26
  end
27
27
  end
28
28
  end
@@ -568,6 +568,18 @@ module Google
568
568
  include Google::Apis::Core::JsonObjectSupport
569
569
  end
570
570
 
571
+ class GoogleCloudDataplexV1RunTaskRequest
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
577
+ class GoogleCloudDataplexV1RunTaskResponse
578
+ class Representation < Google::Apis::Core::JsonRepresentation; end
579
+
580
+ include Google::Apis::Core::JsonObjectSupport
581
+ end
582
+
571
583
  class GoogleCloudDataplexV1ScannedData
572
584
  class Representation < Google::Apis::Core::JsonRepresentation; end
573
585
 
@@ -616,6 +628,12 @@ module Google
616
628
  include Google::Apis::Core::JsonObjectSupport
617
629
  end
618
630
 
631
+ class GoogleCloudDataplexV1StorageAccess
632
+ class Representation < Google::Apis::Core::JsonRepresentation; end
633
+
634
+ include Google::Apis::Core::JsonObjectSupport
635
+ end
636
+
619
637
  class GoogleCloudDataplexV1StorageFormat
620
638
  class Representation < Google::Apis::Core::JsonRepresentation; end
621
639
 
@@ -1009,6 +1027,7 @@ module Google
1009
1027
  # @private
1010
1028
  class Representation < Google::Apis::Core::JsonRepresentation
1011
1029
  property :name, as: 'name'
1030
+ property :read_access_mode, as: 'readAccessMode'
1012
1031
  property :type, as: 'type'
1013
1032
  end
1014
1033
  end
@@ -1464,6 +1483,8 @@ module Google
1464
1483
  class GoogleCloudDataplexV1Entity
1465
1484
  # @private
1466
1485
  class Representation < Google::Apis::Core::JsonRepresentation
1486
+ property :access, as: 'access', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1StorageAccess, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1StorageAccess::Representation
1487
+
1467
1488
  property :asset, as: 'asset'
1468
1489
  property :catalog_entry, as: 'catalogEntry'
1469
1490
  property :compatibility, as: 'compatibility', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1EntityCompatibilityStatus, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1EntityCompatibilityStatus::Representation
@@ -1803,6 +1824,20 @@ module Google
1803
1824
  end
1804
1825
  end
1805
1826
 
1827
+ class GoogleCloudDataplexV1RunTaskRequest
1828
+ # @private
1829
+ class Representation < Google::Apis::Core::JsonRepresentation
1830
+ end
1831
+ end
1832
+
1833
+ class GoogleCloudDataplexV1RunTaskResponse
1834
+ # @private
1835
+ class Representation < Google::Apis::Core::JsonRepresentation
1836
+ property :job, as: 'job', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1Job, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1Job::Representation
1837
+
1838
+ end
1839
+ end
1840
+
1806
1841
  class GoogleCloudDataplexV1ScannedData
1807
1842
  # @private
1808
1843
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1889,6 +1924,13 @@ module Google
1889
1924
  end
1890
1925
  end
1891
1926
 
1927
+ class GoogleCloudDataplexV1StorageAccess
1928
+ # @private
1929
+ class Representation < Google::Apis::Core::JsonRepresentation
1930
+ property :read, as: 'read'
1931
+ end
1932
+ end
1933
+
1892
1934
  class GoogleCloudDataplexV1StorageFormat
1893
1935
  # @private
1894
1936
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2510,6 +2510,40 @@ module Google
2510
2510
  execute_or_queue_command(command, &block)
2511
2511
  end
2512
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
+
2513
2547
  # Sets the access control policy on the specified resource. Replaces any
2514
2548
  # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
2515
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.18.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: 2022-12-12 00:00:00.000000000 Z
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.18.0
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: []