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:



153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
# File 'proto_docs/google/cloud/bigquery/connection/v1/connection.rb', line 153

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.



153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
# File 'proto_docs/google/cloud/bigquery/connection/v1/connection.rb', line 153

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.



153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
# File 'proto_docs/google/cloud/bigquery/connection/v1/connection.rb', line 153

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.



153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
# File 'proto_docs/google/cloud/bigquery/connection/v1/connection.rb', line 153

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