Class: Google::Cloud::DataCatalog::V1::CloudSqlBigQueryConnectionSpec

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

Overview

Specification for the BigQuery connection to a Cloud SQL instance.

Defined Under Namespace

Modules: DatabaseType

Instance Attribute Summary collapse

Instance Attribute Details

#database::String

Returns Database name.

Returns:

  • (::String)

    Database name.



59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# File 'proto_docs/google/cloud/datacatalog/v1/bigquery.rb', line 59

class CloudSqlBigQueryConnectionSpec
  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 format of project:location:instance.

Returns:

  • (::String)

    Cloud SQL instance ID in the format of project:location:instance.



59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# File 'proto_docs/google/cloud/datacatalog/v1/bigquery.rb', line 59

class CloudSqlBigQueryConnectionSpec
  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::DataCatalog::V1::CloudSqlBigQueryConnectionSpec::DatabaseType

Returns Type of the Cloud SQL database.



59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# File 'proto_docs/google/cloud/datacatalog/v1/bigquery.rb', line 59

class CloudSqlBigQueryConnectionSpec
  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