# Class SpannerDatabaseReference (0.13.1)

0.13.1 (latest) 0.13.0 0.12.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    SpannerDatabaseReference(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message representing a reference to a single Spanner
database.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `engine` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-geminidataanalytics/latest/google.cloud.geminidataanalytics_v1beta.types.SpannerDatabaseReference.Engine` Required. The engine of the Spanner instance. |
| `project_id` | `str` Required. The project the instance belongs to. |
| `instance_id` | `str` Required. The instance id. |
| `database_id` | `str` Required. The database id. |
| `table_ids` | `MutableSequence[str]` Optional. The table ids. Denotes all tables if unset. |
| `database_table_references` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/google-cloud-geminidataanalytics/latest/google.cloud.geminidataanalytics_v1beta.types.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. |
| `priority` | `str` 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. |
| `request_tag` | `str` Tag to be attached to all queries to Spanner. Allows to identify and monitor queries sent to Spanner by the GDA service. |

## Classes

### Engine

    Engine(value)

The database engine.