Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1GovernanceEventEntity

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

Information about Entity resource that the log event is associated with.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1GovernanceEventEntity

Returns a new instance of GoogleCloudDataplexV1GovernanceEventEntity.



4698
4699
4700
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4698

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

Instance Attribute Details

#entityString

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

Returns:

  • (String)


4691
4692
4693
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4691

def entity
  @entity
end

#entity_typeString

Type of entity. Corresponds to the JSON property entityType

Returns:

  • (String)


4696
4697
4698
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4696

def entity_type
  @entity_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4703
4704
4705
4706
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4703

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