Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1GovernanceEventEntity
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1GovernanceEventEntity
- 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
Information about Entity resource that the log event is associated with.
Instance Attribute Summary collapse
-
#entity ⇒ String
The Entity resource the log event is associated with.
-
#entity_type ⇒ String
Type of entity.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1GovernanceEventEntity
constructor
A new instance of GoogleCloudDataplexV1GovernanceEventEntity.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1GovernanceEventEntity
Returns a new instance of GoogleCloudDataplexV1GovernanceEventEntity.
5023 5024 5025 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5023 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entity ⇒ String
The Entity resource the log event is associated with. Format: projects/
project_number
/locations/location_id
/lakes/lake_id
/zones/zone_id
/
entities/entity_id
Corresponds to the JSON property entity
5016 5017 5018 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5016 def entity @entity end |
#entity_type ⇒ String
Type of entity.
Corresponds to the JSON property entityType
5021 5022 5023 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5021 def entity_type @entity_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5028 5029 5030 5031 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5028 def update!(**args) @entity = args[:entity] if args.key?(:entity) @entity_type = args[:entity_type] if args.key?(:entity_type) end |