Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEvent
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEvent
- 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
The payload associated with Discovery data processing.
Instance Attribute Summary collapse
-
#action ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventActionDetails
Details about the action.
-
#asset_id ⇒ String
The id of the associated asset.
-
#config ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventConfigDetails
Details about configuration events.
-
#data_location ⇒ String
The data location associated with the event.
-
#entity ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventEntityDetails
Details about the entity.
-
#lake_id ⇒ String
The id of the associated lake.
-
#message ⇒ String
The log message.
-
#partition ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventPartitionDetails
Details about the partition.
-
#type ⇒ String
The type of the event being logged.
-
#zone_id ⇒ String
The id of the associated zone.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1DiscoveryEvent
constructor
A new instance of GoogleCloudDataplexV1DiscoveryEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1DiscoveryEvent
Returns a new instance of GoogleCloudDataplexV1DiscoveryEvent.
2138 2139 2140 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2138 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventActionDetails
Details about the action.
Corresponds to the JSON property action
2091 2092 2093 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2091 def action @action end |
#asset_id ⇒ String
The id of the associated asset.
Corresponds to the JSON property assetId
2096 2097 2098 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2096 def asset_id @asset_id end |
#config ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventConfigDetails
Details about configuration events.
Corresponds to the JSON property config
2101 2102 2103 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2101 def config @config end |
#data_location ⇒ String
The data location associated with the event.
Corresponds to the JSON property dataLocation
2106 2107 2108 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2106 def data_location @data_location end |
#entity ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventEntityDetails
Details about the entity.
Corresponds to the JSON property entity
2111 2112 2113 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2111 def entity @entity end |
#lake_id ⇒ String
The id of the associated lake.
Corresponds to the JSON property lakeId
2116 2117 2118 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2116 def lake_id @lake_id end |
#message ⇒ String
The log message.
Corresponds to the JSON property message
2121 2122 2123 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2121 def @message end |
#partition ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventPartitionDetails
Details about the partition.
Corresponds to the JSON property partition
2126 2127 2128 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2126 def partition @partition end |
#type ⇒ String
The type of the event being logged.
Corresponds to the JSON property type
2131 2132 2133 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2131 def type @type end |
#zone_id ⇒ String
The id of the associated zone.
Corresponds to the JSON property zoneId
2136 2137 2138 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2136 def zone_id @zone_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2143 def update!(**args) @action = args[:action] if args.key?(:action) @asset_id = args[:asset_id] if args.key?(:asset_id) @config = args[:config] if args.key?(:config) @data_location = args[:data_location] if args.key?(:data_location) @entity = args[:entity] if args.key?(:entity) @lake_id = args[:lake_id] if args.key?(:lake_id) @message = args[:message] if args.key?(:message) @partition = args[:partition] if args.key?(:partition) @type = args[:type] if args.key?(:type) @zone_id = args[:zone_id] if args.key?(:zone_id) end |