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.



740
741
742
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 740

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



738
739
740
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 738

def bigquery_connection_spec
  @bigquery_connection_spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



745
746
747
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 745

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