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:



180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
# File 'proto_docs/google/cloud/bigquery/connection/v1/connection.rb', line 180

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.



180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
# File 'proto_docs/google/cloud/bigquery/connection/v1/connection.rb', line 180

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.



180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
# File 'proto_docs/google/cloud/bigquery/connection/v1/connection.rb', line 180

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.



180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
# File 'proto_docs/google/cloud/bigquery/connection/v1/connection.rb', line 180

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.



180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
# File 'proto_docs/google/cloud/bigquery/connection/v1/connection.rb', line 180

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