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.
264 265 266 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 264 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
250 251 252 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 250 def cloud_sql @cloud_sql end |
#connection_type ⇒ String
The type of the BigQuery connection.
Corresponds to the JSON property connectionType
255 256 257 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 255 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
261 262 263 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 261 def has_credential @has_credential end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
269 270 271 272 273 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 269 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 |