Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventActionDetails

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

Details about the action.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1DiscoveryEventActionDetails

Returns a new instance of GoogleCloudDataplexV1DiscoveryEventActionDetails.



5828
5829
5830
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5828

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

Instance Attribute Details

#issueString

The human readable issue associated with the action. Corresponds to the JSON property issue

Returns:

  • (String)


5821
5822
5823
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5821

def issue
  @issue
end

#typeString

The type of action. Eg. IncompatibleDataSchema, InvalidDataFormat Corresponds to the JSON property type

Returns:

  • (String)


5826
5827
5828
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5826

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5833
5834
5835
5836
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5833

def update!(**args)
  @issue = args[:issue] if args.key?(:issue)
  @type = args[:type] if args.key?(:type)
end