Reference documentation and code samples for the Cloud Firestore V1 Client class DatabaseType.
The type of the database.
See https://cloud.google.com/datastore/docs/firestore-or-datastore for information about how to choose. Mode changes are only allowed if the database is empty.
Protobuf type google.firestore.admin.v1.Database.DatabaseType
Methods
name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
DATABASE_TYPE_UNSPECIFIED
Value: 0
The default value. This value is used if the database type is omitted.
Generated from protobuf enum DATABASE_TYPE_UNSPECIFIED = 0;
FIRESTORE_NATIVE
Value: 1
Firestore Native Mode
Generated from protobuf enum FIRESTORE_NATIVE = 1;
DATASTORE_MODE
Value: 2
Firestore in Datastore Mode.
Generated from protobuf enum DATASTORE_MODE = 2;