Reference documentation and code samples for the BigQuery Connection V1 API class Google::Cloud::Bigquery::Connection::V1::CloudSqlProperties.
Connection properties specific to the Cloud SQL.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#credential
def credential() -> ::Google::Cloud::Bigquery::Connection::V1::CloudSqlCredential
Returns
- (::Google::Cloud::Bigquery::Connection::V1::CloudSqlCredential) — Input only. Cloud SQL credential.
#credential=
def credential=(value) -> ::Google::Cloud::Bigquery::Connection::V1::CloudSqlCredential
Parameter
- value (::Google::Cloud::Bigquery::Connection::V1::CloudSqlCredential) — Input only. Cloud SQL credential.
Returns
- (::Google::Cloud::Bigquery::Connection::V1::CloudSqlCredential) — Input only. Cloud SQL credential.
#database
def database() -> ::String
Returns
- (::String) — Database name.
#database=
def database=(value) -> ::String
Parameter
- value (::String) — Database name.
Returns
- (::String) — Database name.
#instance_id
def instance_id() -> ::String
Returns
-
(::String) — Cloud SQL instance ID in the form
project:location:instance
.
#instance_id=
def instance_id=(value) -> ::String
Parameter
-
value (::String) — Cloud SQL instance ID in the form
project:location:instance
.
Returns
-
(::String) — Cloud SQL instance ID in the form
project:location:instance
.
#service_account_id
def service_account_id() -> ::String
Returns
-
(::String) — Output only. The account ID of the service used for the purpose of this
connection.
When the connection is used in the context of an operation in BigQuery, this service account will serve as the identity being used for connecting to the CloudSQL instance specified in this connection.
#type
def type() -> ::Google::Cloud::Bigquery::Connection::V1::CloudSqlProperties::DatabaseType
Returns
- (::Google::Cloud::Bigquery::Connection::V1::CloudSqlProperties::DatabaseType) — Type of the Cloud SQL database.
#type=
def type=(value) -> ::Google::Cloud::Bigquery::Connection::V1::CloudSqlProperties::DatabaseType
Parameter
- value (::Google::Cloud::Bigquery::Connection::V1::CloudSqlProperties::DatabaseType) — Type of the Cloud SQL database.
Returns
- (::Google::Cloud::Bigquery::Connection::V1::CloudSqlProperties::DatabaseType) — Type of the Cloud SQL database.