Class: Google::Cloud::GeminiDataAnalytics::V1beta::SpannerDatabaseReference

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 Spanner 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.



181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb', line 181

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

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

    # Google SQL
    GOOGLE_SQL = 1

    # PostgreSQL
    POSTGRESQL = 2
  end
end

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

Returns Required. The engine of the Spanner instance.

Returns:



181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb', line 181

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

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

    # Google SQL
    GOOGLE_SQL = 1

    # PostgreSQL
    POSTGRESQL = 2
  end
end

#instance_id::String

Returns Required. The instance id.

Returns:

  • (::String)

    Required. The instance id.



181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb', line 181

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

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

    # Google SQL
    GOOGLE_SQL = 1

    # PostgreSQL
    POSTGRESQL = 2
  end
end

#project_id::String

Returns Required. The project the instance belongs to.

Returns:

  • (::String)

    Required. The project the instance belongs to.



181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb', line 181

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

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

    # Google SQL
    GOOGLE_SQL = 1

    # PostgreSQL
    POSTGRESQL = 2
  end
end

#region::String

Returns Required. The region of the instance.

Returns:

  • (::String)

    Required. The region of the instance.



181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb', line 181

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

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

    # Google SQL
    GOOGLE_SQL = 1

    # PostgreSQL
    POSTGRESQL = 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.



181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb', line 181

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

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

    # Google SQL
    GOOGLE_SQL = 1

    # PostgreSQL
    POSTGRESQL = 2
  end
end