Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEvent

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1DiscoveryEvent

Returns a new instance of GoogleCloudDataplexV1DiscoveryEvent.



3655
3656
3657
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3655

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#actionGoogle::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventActionDetails

Details about the action. Corresponds to the JSON property action



3608
3609
3610
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3608

def action
  @action
end

#asset_idString

The id of the associated asset. Corresponds to the JSON property assetId

Returns:

  • (String)


3613
3614
3615
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3613

def asset_id
  @asset_id
end

#configGoogle::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventConfigDetails

Details about configuration events. Corresponds to the JSON property config



3618
3619
3620
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3618

def config
  @config
end

#data_locationString

The data location associated with the event. Corresponds to the JSON property dataLocation

Returns:

  • (String)


3623
3624
3625
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3623

def data_location
  @data_location
end

#entityGoogle::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventEntityDetails

Details about the entity. Corresponds to the JSON property entity



3628
3629
3630
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3628

def entity
  @entity
end

#lake_idString

The id of the associated lake. Corresponds to the JSON property lakeId

Returns:

  • (String)


3633
3634
3635
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3633

def lake_id
  @lake_id
end

#messageString

The log message. Corresponds to the JSON property message

Returns:

  • (String)


3638
3639
3640
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3638

def message
  @message
end

#partitionGoogle::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventPartitionDetails

Details about the partition. Corresponds to the JSON property partition



3643
3644
3645
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3643

def partition
  @partition
end

#typeString

The type of the event being logged. Corresponds to the JSON property type

Returns:

  • (String)


3648
3649
3650
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3648

def type
  @type
end

#zone_idString

The id of the associated zone. Corresponds to the JSON property zoneId

Returns:

  • (String)


3653
3654
3655
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3653

def zone_id
  @zone_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3660

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