Database class

A Cloud Spanner database.

Constructors

Database()
Database.fromJson(Map _json)

Properties

createTime String
Output only. If exists, the time at which the database creation started.
read / write
name String
Required. The name of the database. Values are of the form projects/<project>/instances/<instance>/databases/<database>, where <database> is as specified in the CREATE DATABASE statement. This name can be passed to other API methods to identify the database.
read / write
restoreInfo RestoreInfo
Output only. Applicable only for restored databases. Contains information about the restore source.
read / write
state String
Output only. The current database state. Possible string values are: [...]
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited