BigQuery Connection V1 API - Class Google::Cloud::Bigquery::Connection::V1::CloudSqlProperties (v0.14.0)

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

#credential=

def credential=(value) -> ::Google::Cloud::Bigquery::Connection::V1::CloudSqlCredential
Parameter
Returns

#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

#type=

def type=(value) -> ::Google::Cloud::Bigquery::Connection::V1::CloudSqlProperties::DatabaseType
Parameter