Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventEntityDetails

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 entity.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1DiscoveryEventEntityDetails

Returns a new instance of GoogleCloudDataplexV1DiscoveryEventEntityDetails.



3745
3746
3747
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3745

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

Instance Attribute Details

#entityString

The name of the entity resource. The name is the fully-qualified resource name. Corresponds to the JSON property entity

Returns:

  • (String)


3738
3739
3740
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3738

def entity
  @entity
end

#typeString

The type of the entity resource. Corresponds to the JSON property type

Returns:

  • (String)


3743
3744
3745
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3743

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3750
3751
3752
3753
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3750

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