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.
492 493 494 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 492 def initialize(**args) update!(**args) end |
Instance Attribute Details
#database ⇒ String
Database name.
Corresponds to the JSON property database
480 481 482 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 480 def database @database end |
#instance_id ⇒ String
Cloud SQL instance ID in the format of project:location:instance
.
Corresponds to the JSON property instanceId
485 486 487 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 485 def instance_id @instance_id end |
#type ⇒ String
Type of the Cloud SQL database.
Corresponds to the JSON property type
490 491 492 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 490 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
497 498 499 500 501 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 497 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 |