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.



2989
2990
2991
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2989

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

Instance Attribute Details

#actionGoogle::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventActionDetails

Details about the action. Corresponds to the JSON property action



2942
2943
2944
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2942

def action
  @action
end

#asset_idString

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

Returns:

  • (String)


2947
2948
2949
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2947

def asset_id
  @asset_id
end

#configGoogle::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventConfigDetails

Details about configuration events. Corresponds to the JSON property config



2952
2953
2954
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2952

def config
  @config
end

#data_locationString

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

Returns:

  • (String)


2957
2958
2959
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2957

def data_location
  @data_location
end

#entityGoogle::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventEntityDetails

Details about the entity. Corresponds to the JSON property entity



2962
2963
2964
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2962

def entity
  @entity
end

#lake_idString

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

Returns:

  • (String)


2967
2968
2969
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2967

def lake_id
  @lake_id
end

#messageString

The log message. Corresponds to the JSON property message

Returns:

  • (String)


2972
2973
2974
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2972

def message
  @message
end

#partitionGoogle::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventPartitionDetails

Details about the partition. Corresponds to the JSON property partition



2977
2978
2979
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2977

def partition
  @partition
end

#typeString

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

Returns:

  • (String)


2982
2983
2984
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2982

def type
  @type
end

#zone_idString

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

Returns:

  • (String)


2987
2988
2989
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2987

def zone_id
  @zone_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2994

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