Class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1DataSourceConnectionSpec

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogV1DataSourceConnectionSpec

Returns a new instance of GoogleCloudDatacatalogV1DataSourceConnectionSpec.



710
711
712
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 710

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

Instance Attribute Details

#bigquery_connection_specGoogle::Apis::DatacatalogV1::GoogleCloudDatacatalogV1BigQueryConnectionSpec

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



708
709
710
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 708

def bigquery_connection_spec
  @bigquery_connection_spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



715
716
717
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 715

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