Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1GovernanceEvent
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1GovernanceEvent
- 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
-
#entity ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1GovernanceEventEntity
Information about Entity resource that the log event is associated with.
-
#event_type ⇒ String
The type of the event.
-
#message ⇒ String
The log message.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1GovernanceEvent
constructor
A new instance of GoogleCloudDataplexV1GovernanceEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1GovernanceEvent
Returns a new instance of GoogleCloudDataplexV1GovernanceEvent.
4670 4671 4672 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4670 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entity ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1GovernanceEventEntity
Information about Entity resource that the log event is associated with.
Corresponds to the JSON property entity
4658 4659 4660 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4658 def entity @entity end |
#event_type ⇒ String
The type of the event.
Corresponds to the JSON property eventType
4663 4664 4665 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4663 def event_type @event_type end |
#message ⇒ String
The log message.
Corresponds to the JSON property message
4668 4669 4670 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4668 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4675 4676 4677 4678 4679 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4675 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 |