Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1DataSource
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1DataSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datacatalog_v1beta1/classes.rb,
lib/google/apis/datacatalog_v1beta1/representations.rb,
lib/google/apis/datacatalog_v1beta1/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.
-
#source_entry ⇒ String
Output only.
-
#storage_properties ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1StorageProperties
Details the properties of the underlying storage.
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.
666 667 668 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 666 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`
649 650 651 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 649 def resource @resource end |
#service ⇒ String
Service that physically stores the data.
Corresponds to the JSON property service
654 655 656 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 654 def service @service end |
#source_entry ⇒ String
Output only. Data Catalog entry name, if applicable.
Corresponds to the JSON property sourceEntry
659 660 661 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 659 def source_entry @source_entry end |
#storage_properties ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1StorageProperties
Details the properties of the underlying storage.
Corresponds to the JSON property storageProperties
664 665 666 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 664 def storage_properties @storage_properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
671 672 673 674 675 676 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 671 def update!(**args) @resource = args[:resource] if args.key?(:resource) @service = args[:service] if args.key?(:service) @source_entry = args[:source_entry] if args.key?(:source_entry) @storage_properties = args[:storage_properties] if args.key?(:storage_properties) end |