Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1DataSourceConnectionSpec

Inherits:
Object
  • Object
show all
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

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogV1DataSourceConnectionSpec

Returns a new instance of GoogleCloudDatacatalogV1DataSourceConnectionSpec.



612
613
614
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 612

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

Instance Attribute Details

#bigquery_connection_specGoogle::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1BigQueryConnectionSpec

Specification for the BigQuery connection. Corresponds to the JSON property bigqueryConnectionSpec



610
611
612
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 610

def bigquery_connection_spec
  @bigquery_connection_spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



617
618
619
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 617

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