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.



5988
5989
5990
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5988

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

Instance Attribute Details

#actionGoogle::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventActionDetails

Details about the action. Corresponds to the JSON property action



5931
5932
5933
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5931

def action
  @action
end

#asset_idString

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

Returns:

  • (String)


5936
5937
5938
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5936

def asset_id
  @asset_id
end

#configGoogle::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventConfigDetails

Details about configuration events. Corresponds to the JSON property config



5941
5942
5943
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5941

def config
  @config
end

#data_locationString

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

Returns:

  • (String)


5946
5947
5948
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5946

def data_location
  @data_location
end

#datascan_idString

The id of the associated datascan for standalone discovery. Corresponds to the JSON property datascanId

Returns:

  • (String)


5951
5952
5953
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5951

def datascan_id
  @datascan_id
end

#entityGoogle::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventEntityDetails

Details about the entity. Corresponds to the JSON property entity



5956
5957
5958
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5956

def entity
  @entity
end

#lake_idString

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

Returns:

  • (String)


5961
5962
5963
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5961

def lake_id
  @lake_id
end

#messageString

The log message. Corresponds to the JSON property message

Returns:

  • (String)


5966
5967
5968
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5966

def message
  @message
end

#partitionGoogle::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventPartitionDetails

Details about the partition. Corresponds to the JSON property partition



5971
5972
5973
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5971

def partition
  @partition
end

#tableGoogle::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventTableDetails

Details about the published table. Corresponds to the JSON property table



5976
5977
5978
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5976

def table
  @table
end

#typeString

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

Returns:

  • (String)


5981
5982
5983
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5981

def type
  @type
end

#zone_idString

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

Returns:

  • (String)


5986
5987
5988
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5986

def zone_id
  @zone_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5993

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)
  @datascan_id = args[:datascan_id] if args.key?(:datascan_id)
  @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)
  @table = args[:table] if args.key?(:table)
  @type = args[:type] if args.key?(:type)
  @zone_id = args[:zone_id] if args.key?(:zone_id)
end