Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1BigQueryConnectionSpec
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1BigQueryConnectionSpec
- 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 for the BigQuery connection.
Instance Attribute Summary collapse
-
#cloud_sql ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec
Specification for the BigQuery connection to a Cloud SQL instance.
-
#connection_type ⇒ String
The type of the BigQuery connection.
-
#has_credential ⇒ Boolean
(also: #has_credential?)
True if there are credentials attached to the BigQuery connection; false otherwise.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1BigQueryConnectionSpec
constructor
A new instance of GoogleCloudDatacatalogV1BigQueryConnectionSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1BigQueryConnectionSpec
Returns a new instance of GoogleCloudDatacatalogV1BigQueryConnectionSpec.
239 240 241 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 239 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_sql ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec
Specification for the BigQuery connection to a Cloud SQL instance.
Corresponds to the JSON property cloudSql
225 226 227 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 225 def cloud_sql @cloud_sql end |
#connection_type ⇒ String
The type of the BigQuery connection.
Corresponds to the JSON property connectionType
230 231 232 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 230 def connection_type @connection_type end |
#has_credential ⇒ Boolean Also known as: has_credential?
True if there are credentials attached to the BigQuery connection; false
otherwise.
Corresponds to the JSON property hasCredential
236 237 238 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 236 def has_credential @has_credential end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
244 245 246 247 248 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 244 def update!(**args) @cloud_sql = args[:cloud_sql] if args.key?(:cloud_sql) @connection_type = args[:connection_type] if args.key?(:connection_type) @has_credential = args[:has_credential] if args.key?(:has_credential) end |