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.



4172
4173
4174
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4172

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)


4165
4166
4167
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4165

def entity
  @entity
end

#typeString

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

Returns:

  • (String)


4170
4171
4172
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4170

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4177
4178
4179
4180
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4177

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