Class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1DataSourceConnectionSpec
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1DataSourceConnectionSpec
- 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
Specification that applies to a data source connection. Valid only for entries
with the DATA_SOURCE_CONNECTION
type. Only one of internal specs can be set
at the time, and cannot be changed later.
Instance Attribute Summary collapse
-
#bigquery_connection_spec ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1BigQueryConnectionSpec
Specification for the BigQuery connection.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1DataSourceConnectionSpec
constructor
A new instance of GoogleCloudDatacatalogV1DataSourceConnectionSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1DataSourceConnectionSpec
Returns a new instance of GoogleCloudDatacatalogV1DataSourceConnectionSpec.
760 761 762 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 760 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bigquery_connection_spec ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1BigQueryConnectionSpec
Specification for the BigQuery connection.
Corresponds to the JSON property bigqueryConnectionSpec
758 759 760 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 758 def bigquery_connection_spec @bigquery_connection_spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
765 766 767 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 765 def update!(**args) @bigquery_connection_spec = args[:bigquery_connection_spec] if args.key?(:bigquery_connection_spec) end |