Class Database (2.1.0)

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

A Cloud Spanner database.

Attributes

NameDescription
name str
Required. The name of the database. Values are of the form ``projects/
state `.spanner_database_admin.Database.State`
Output only. The current database state.
create_time `.timestamp.Timestamp`
Output only. If exists, the time at which the database creation started.
restore_info `.spanner_database_admin.RestoreInfo`
Output only. Applicable only for restored databases. Contains information about the restore source.

Inheritance

builtins.object > proto.message.Message > Database

Classes

State

State(value)

Indicates the current state of the database.