Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1GovernanceEvent

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

Payload associated with Governance related log events.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1GovernanceEvent

Returns a new instance of GoogleCloudDataplexV1GovernanceEvent.



5118
5119
5120
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5118

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

Instance Attribute Details

#entityGoogle::Apis::DataplexV1::GoogleCloudDataplexV1GovernanceEventEntity

Information about Entity resource that the log event is associated with. Corresponds to the JSON property entity



5106
5107
5108
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5106

def entity
  @entity
end

#event_typeString

The type of the event. Corresponds to the JSON property eventType

Returns:

  • (String)


5111
5112
5113
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5111

def event_type
  @event_type
end

#messageString

The log message. Corresponds to the JSON property message

Returns:

  • (String)


5116
5117
5118
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5116

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5123
5124
5125
5126
5127
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5123

def update!(**args)
  @entity = args[:entity] if args.key?(:entity)
  @event_type = args[:event_type] if args.key?(:event_type)
  @message = args[:message] if args.key?(:message)
end