Class: Google::Cloud::GeminiDataAnalytics::V1beta::CloudSqlDatabaseReference

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb

Overview

Message representing a reference to a single CloudSQL database.

Defined Under Namespace

Modules: Engine

Instance Attribute Summary collapse

Instance Attribute Details

#database_id::String

Returns Required. The database id.

Returns:

  • (::String)

    Required. The database id.



231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb', line 231

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

  # The database engine.
  module Engine
    # Engine is not specified.
    ENGINE_UNSPECIFIED = 0

    # PostgreSQL
    POSTGRESQL = 1

    # MySQL
    MYSQL = 2
  end
end

#engine::Google::Cloud::GeminiDataAnalytics::V1beta::CloudSqlDatabaseReference::Engine

Returns Required. The engine of the Cloud SQL instance.

Returns:



231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb', line 231

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

  # The database engine.
  module Engine
    # Engine is not specified.
    ENGINE_UNSPECIFIED = 0

    # PostgreSQL
    POSTGRESQL = 1

    # MySQL
    MYSQL = 2
  end
end

#instance_id::String

Returns Required. The instance id.

Returns:

  • (::String)

    Required. The instance id.



231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb', line 231

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

  # The database engine.
  module Engine
    # Engine is not specified.
    ENGINE_UNSPECIFIED = 0

    # PostgreSQL
    POSTGRESQL = 1

    # MySQL
    MYSQL = 2
  end
end

#project_id::String

Returns Required. The project the instance belongs to.

Returns:

  • (::String)

    Required. The project the instance belongs to.



231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb', line 231

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

  # The database engine.
  module Engine
    # Engine is not specified.
    ENGINE_UNSPECIFIED = 0

    # PostgreSQL
    POSTGRESQL = 1

    # MySQL
    MYSQL = 2
  end
end

#region::String

Returns Required. The region of the instance.

Returns:

  • (::String)

    Required. The region of the instance.



231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb', line 231

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

  # The database engine.
  module Engine
    # Engine is not specified.
    ENGINE_UNSPECIFIED = 0

    # PostgreSQL
    POSTGRESQL = 1

    # MySQL
    MYSQL = 2
  end
end

#table_ids::Array<::String>

Returns Optional. The table ids. Denotes all tables if unset.

Returns:

  • (::Array<::String>)

    Optional. The table ids. Denotes all tables if unset.



231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb', line 231

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

  # The database engine.
  module Engine
    # Engine is not specified.
    ENGINE_UNSPECIFIED = 0

    # PostgreSQL
    POSTGRESQL = 1

    # MySQL
    MYSQL = 2
  end
end