Class: Google::Cloud::Bigquery::Connection::V1::CloudSqlProperties

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/bigquery/connection/v1/connection.rb

Overview

Connection properties specific to the Cloud SQL.

Defined Under Namespace

Modules: DatabaseType

Instance Attribute Summary collapse

Instance Attribute Details

#credential::Google::Cloud::Bigquery::Connection::V1::CloudSqlCredential

Returns Input only. Cloud SQL credential.

Returns:



194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
# File 'proto_docs/google/cloud/bigquery/connection/v1/connection.rb', line 194

class CloudSqlProperties
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Supported Cloud SQL database types.
  module DatabaseType
    # Unspecified database type.
    DATABASE_TYPE_UNSPECIFIED = 0

    # Cloud SQL for PostgreSQL.
    POSTGRES = 1

    # Cloud SQL for MySQL.
    MYSQL = 2
  end
end

#database::String

Returns Database name.

Returns:

  • (::String)

    Database name.



194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
# File 'proto_docs/google/cloud/bigquery/connection/v1/connection.rb', line 194

class CloudSqlProperties
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Supported Cloud SQL database types.
  module DatabaseType
    # Unspecified database type.
    DATABASE_TYPE_UNSPECIFIED = 0

    # Cloud SQL for PostgreSQL.
    POSTGRES = 1

    # Cloud SQL for MySQL.
    MYSQL = 2
  end
end

#instance_id::String

Returns Cloud SQL instance ID in the form project:location:instance.

Returns:

  • (::String)

    Cloud SQL instance ID in the form project:location:instance.



194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
# File 'proto_docs/google/cloud/bigquery/connection/v1/connection.rb', line 194

class CloudSqlProperties
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Supported Cloud SQL database types.
  module DatabaseType
    # Unspecified database type.
    DATABASE_TYPE_UNSPECIFIED = 0

    # Cloud SQL for PostgreSQL.
    POSTGRES = 1

    # Cloud SQL for MySQL.
    MYSQL = 2
  end
end

#service_account_id::String (readonly)

Returns 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.

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.



194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
# File 'proto_docs/google/cloud/bigquery/connection/v1/connection.rb', line 194

class CloudSqlProperties
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Supported Cloud SQL database types.
  module DatabaseType
    # Unspecified database type.
    DATABASE_TYPE_UNSPECIFIED = 0

    # Cloud SQL for PostgreSQL.
    POSTGRES = 1

    # Cloud SQL for MySQL.
    MYSQL = 2
  end
end

#type::Google::Cloud::Bigquery::Connection::V1::CloudSqlProperties::DatabaseType

Returns Type of the Cloud SQL database.



194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
# File 'proto_docs/google/cloud/bigquery/connection/v1/connection.rb', line 194

class CloudSqlProperties
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Supported Cloud SQL database types.
  module DatabaseType
    # Unspecified database type.
    DATABASE_TYPE_UNSPECIFIED = 0

    # Cloud SQL for PostgreSQL.
    POSTGRES = 1

    # Cloud SQL for MySQL.
    MYSQL = 2
  end
end