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.
467 468 469 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 467 def initialize(**args) update!(**args) end |
Instance Attribute Details
#database ⇒ String
Database name.
Corresponds to the JSON property database
455 456 457 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 455 def database @database end |
#instance_id ⇒ String
Cloud SQL instance ID in the format of project:location:instance.
Corresponds to the JSON property instanceId
460 461 462 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 460 def instance_id @instance_id end |
#type ⇒ String
Type of the Cloud SQL database.
Corresponds to the JSON property type
465 466 467 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 465 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
472 473 474 475 476 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 472 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 |