Class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1DataSource
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1DataSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datacatalog_v1/classes.rb,
lib/google/apis/datacatalog_v1/representations.rb,
lib/google/apis/datacatalog_v1/representations.rb
Overview
Physical location of an entry.
Instance Attribute Summary collapse
-
#resource ⇒ String
Full name of a resource as defined by the service.
-
#service ⇒ String
Service that physically stores the data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1DataSource
constructor
A new instance of GoogleCloudDatacatalogV1DataSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1DataSource
Returns a new instance of GoogleCloudDatacatalogV1DataSource.
383 384 385 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 383 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource ⇒ String
Full name of a resource as defined by the service. For example: //bigquery.
googleapis.com/projects/PROJECT_ID/locations/LOCATION/datasets/DATASET_ID
/tables/TABLE_ID`
Corresponds to the JSON propertyresource`
376 377 378 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 376 def resource @resource end |
#service ⇒ String
Service that physically stores the data.
Corresponds to the JSON property service
381 382 383 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 381 def service @service end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
388 389 390 391 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 388 def update!(**args) @resource = args[:resource] if args.key?(:resource) @service = args[:service] if args.key?(:service) end |