Reference documentation and code samples for the Data Analytics API with Gemini V1BETA API class Google::Cloud::GeminiDataAnalytics::V1beta::SpannerDatabaseReference.
Message representing a reference to a single Spanner database.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#database_id
def database_id() -> ::String
Returns
- (::String) — Required. The database id.
#database_id=
def database_id=(value) -> ::String
Parameter
- value (::String) — Required. The database id.
Returns
- (::String) — Required. The database id.
#database_table_references
def database_table_references() -> ::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::DatabaseTableReference>
Returns
- (::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::DatabaseTableReference>) — 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.
#database_table_references=
def database_table_references=(value) -> ::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::DatabaseTableReference>
Parameter
- value (::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::DatabaseTableReference>) — 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
- (::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::DatabaseTableReference>) — 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.
#engine
def engine() -> ::Google::Cloud::GeminiDataAnalytics::V1beta::SpannerDatabaseReference::Engine
Returns
- (::Google::Cloud::GeminiDataAnalytics::V1beta::SpannerDatabaseReference::Engine) — Required. The engine of the Spanner instance.
#engine=
def engine=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1beta::SpannerDatabaseReference::Engine
Parameter
- value (::Google::Cloud::GeminiDataAnalytics::V1beta::SpannerDatabaseReference::Engine) — Required. The engine of the Spanner instance.
Returns
- (::Google::Cloud::GeminiDataAnalytics::V1beta::SpannerDatabaseReference::Engine) — Required. The engine of the Spanner instance.
#instance_id
def instance_id() -> ::String
Returns
- (::String) — Required. The instance id.
#instance_id=
def instance_id=(value) -> ::String
Parameter
- value (::String) — Required. The instance id.
Returns
- (::String) — Required. The instance id.
#priority
def priority() -> ::String
Returns
- (::String) — Optional. Priority for the queries to Spanner. Should be a value supported by Cloud Spanner e.g.: LOW, MEDIUM, HIGH. Unsupported values will be ignored. See https://docs.cloud.google.com/spanner/docs/reference/rest/v1/RequestOptions#Priority for complete list.
#priority=
def priority=(value) -> ::String
Parameter
- value (::String) — Optional. Priority for the queries to Spanner. Should be a value supported by Cloud Spanner e.g.: LOW, MEDIUM, HIGH. Unsupported values will be ignored. See https://docs.cloud.google.com/spanner/docs/reference/rest/v1/RequestOptions#Priority for complete list.
Returns
- (::String) — Optional. Priority for the queries to Spanner. Should be a value supported by Cloud Spanner e.g.: LOW, MEDIUM, HIGH. Unsupported values will be ignored. See https://docs.cloud.google.com/spanner/docs/reference/rest/v1/RequestOptions#Priority for complete list.
#project_id
def project_id() -> ::String
Returns
- (::String) — Required. The project the instance belongs to.
#project_id=
def project_id=(value) -> ::String
Parameter
- value (::String) — Required. The project the instance belongs to.
Returns
- (::String) — Required. The project the instance belongs to.
#request_tag
def request_tag() -> ::String
Returns
- (::String) — Tag to be attached to all queries to Spanner. Allows to identify and monitor queries sent to Spanner by the GDA service.
#request_tag=
def request_tag=(value) -> ::String
Parameter
- value (::String) — Tag to be attached to all queries to Spanner. Allows to identify and monitor queries sent to Spanner by the GDA service.
Returns
- (::String) — Tag to be attached to all queries to Spanner. Allows to identify and monitor queries sent to Spanner by the GDA service.
#table_ids
def table_ids() -> ::Array<::String>
Returns
- (::Array<::String>) — Optional. The table ids. Denotes all tables if unset.
#table_ids=
def table_ids=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Optional. The table ids. Denotes all tables if unset.
Returns
- (::Array<::String>) — Optional. The table ids. Denotes all tables if unset.