Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventPartitionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventPartitionDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb
Overview
Details about the partition.
Instance Attribute Summary collapse
-
#entity ⇒ String
The name to the containing entity resource.
-
#partition ⇒ String
The name to the partition resource.
-
#sampled_data_locations ⇒ Array<String>
The locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.
-
#type ⇒ String
The type of the containing entity resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1DiscoveryEventPartitionDetails
constructor
A new instance of GoogleCloudDataplexV1DiscoveryEventPartitionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1DiscoveryEventPartitionDetails
Returns a new instance of GoogleCloudDataplexV1DiscoveryEventPartitionDetails.
1064 1065 1066 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1064 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entity ⇒ String
The name to the containing entity resource. The name is the fully-qualified
resource name.
Corresponds to the JSON property entity
1045 1046 1047 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1045 def entity @entity end |
#partition ⇒ String
The name to the partition resource. The name is the fully-qualified resource
name.
Corresponds to the JSON property partition
1051 1052 1053 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1051 def partition @partition end |
#sampled_data_locations ⇒ Array<String>
The locations of the data items (e.g., a Cloud Storage objects) sampled for
metadata inference.
Corresponds to the JSON property sampledDataLocations
1057 1058 1059 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1057 def sampled_data_locations @sampled_data_locations end |
#type ⇒ String
The type of the containing entity resource.
Corresponds to the JSON property type
1062 1063 1064 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1062 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1069 1070 1071 1072 1073 1074 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1069 def update!(**args) @entity = args[:entity] if args.key?(:entity) @partition = args[:partition] if args.key?(:partition) @sampled_data_locations = args[:sampled_data_locations] if args.key?(:sampled_data_locations) @type = args[:type] if args.key?(:type) end |