Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataSource

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

The data source for DataScan.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1DataSource

Returns a new instance of GoogleCloudDataplexV1DataSource.



2329
2330
2331
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2329

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

Instance Attribute Details

#entityString

Immutable. The Dataplex entity that represents the data source (e.g. BigQuery table) for DataScan, of the form: projects/project_number/locations/ location_id/lakes/lake_id/zones/zone_id/entities/entity_id. Corresponds to the JSON property entity

Returns:

  • (String)


2327
2328
2329
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2327

def entity
  @entity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2334
2335
2336
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2334

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