Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec
- 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 to a Cloud SQL instance.
Instance Attribute Summary collapse
-
#database ⇒ String
Database name.
-
#instance_id ⇒ String
Cloud SQL instance ID in the format of
project:location:instance. -
#type ⇒ String
Type of the Cloud SQL database.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec
constructor
A new instance of GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec
Returns a new instance of GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec.
389 390 391 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 389 def initialize(**args) update!(**args) end |
Instance Attribute Details
#database ⇒ String
Database name.
Corresponds to the JSON property database
377 378 379 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 377 def database @database end |
#instance_id ⇒ String
Cloud SQL instance ID in the format of project:location:instance.
Corresponds to the JSON property instanceId
382 383 384 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 382 def instance_id @instance_id end |
#type ⇒ String
Type of the Cloud SQL database.
Corresponds to the JSON property type
387 388 389 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 387 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
394 395 396 397 398 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 394 def update!(**args) @database = args[:database] if args.key?(:database) @instance_id = args[:instance_id] if args.key?(:instance_id) @type = args[:type] if args.key?(:type) end |