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.



2541
2542
2543
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2541

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)


2534
2535
2536
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2534

def entity
  @entity
end

#typeString

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

Returns:

  • (String)


2539
2540
2541
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2539

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2546
2547
2548
2549
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2546

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