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.



297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb', line 297

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

#database_table_references::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::DatabaseTableReference>

Returns Optional. References to tables within the database. Each reference specifies a table and can optionally include the table's schema to provide context for the query.

Returns:



297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb', line 297

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:



297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb', line 297

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.



297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb', line 297

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.



297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb', line 297

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.



297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb', line 297

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.



297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb', line 297

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