lib/google/apis/dataplex_v1/classes.rb in google-apis-dataplex_v1-0.18.0 vs lib/google/apis/dataplex_v1/classes.rb in google-apis-dataplex_v1-0.19.0
- old
+ new
@@ -655,10 +655,16 @@
# bucket_id` projects/`project_number`/datasets/`dataset_id`
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
+ # Optional. Determines how read permissions are handled for each asset and their
+ # associated tables. Only available to storage buckets assets.
+ # Corresponds to the JSON property `readAccessMode`
+ # @return [String]
+ attr_accessor :read_access_mode
+
# Required. Immutable. Type of resource.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
@@ -667,10 +673,11 @@
end
# Update properties of this object
def update!(**args)
@name = args[:name] if args.key?(:name)
+ @read_access_mode = args[:read_access_mode] if args.key?(:read_access_mode)
@type = args[:type] if args.key?(:type)
end
end
# Status of the resource referenced by an asset.
@@ -2262,10 +2269,15 @@
# Represents tables and fileset metadata contained within a zone.
class GoogleCloudDataplexV1Entity
include Google::Apis::Core::Hashable
+ # Describes the access mechanism of the data within its storage location.
+ # Corresponds to the JSON property `access`
+ # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1StorageAccess]
+ attr_accessor :access
+
# Required. Immutable. The ID of the asset associated with the storage location
# containing the entity data. The entity must be with in the same zone with the
# asset.
# Corresponds to the JSON property `asset`
# @return [String]
@@ -2362,10 +2374,11 @@
update!(**args)
end
# Update properties of this object
def update!(**args)
+ @access = args[:access] if args.key?(:access)
@asset = args[:asset] if args.key?(:asset)
@catalog_entry = args[:catalog_entry] if args.key?(:catalog_entry)
@compatibility = args[:compatibility] if args.key?(:compatibility)
@create_time = args[:create_time] if args.key?(:create_time)
@data_path = args[:data_path] if args.key?(:data_path)
@@ -3482,10 +3495,42 @@
def update!(**args)
@job = args[:job] if args.key?(:job)
end
end
+ #
+ class GoogleCloudDataplexV1RunTaskRequest
+ include Google::Apis::Core::Hashable
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ end
+ end
+
+ #
+ class GoogleCloudDataplexV1RunTaskResponse
+ include Google::Apis::Core::Hashable
+
+ # A job represents an instance of a task.
+ # Corresponds to the JSON property `job`
+ # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1Job]
+ attr_accessor :job
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @job = args[:job] if args.key?(:job)
+ end
+ end
+
# The data scanned during processing (e.g. in incremental DataScan)
class GoogleCloudDataplexV1ScannedData
include Google::Apis::Core::Hashable
# A data range denoted by a pair of start/end values of a field.
@@ -3806,9 +3851,29 @@
@duration = args[:duration] if args.key?(:duration)
@engine = args[:engine] if args.key?(:engine)
@query_id = args[:query_id] if args.key?(:query_id)
@query_text = args[:query_text] if args.key?(:query_text)
@result_size_bytes = args[:result_size_bytes] if args.key?(:result_size_bytes)
+ end
+ end
+
+ # Describes the access mechanism of the data within its storage location.
+ class GoogleCloudDataplexV1StorageAccess
+ include Google::Apis::Core::Hashable
+
+ # Output only. Describes the read access mechanism of the data. Not user
+ # settable.
+ # Corresponds to the JSON property `read`
+ # @return [String]
+ attr_accessor :read
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @read = args[:read] if args.key?(:read)
end
end
# Describes the format of the data within its storage location.
class GoogleCloudDataplexV1StorageFormat