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
Namespace
Google \ Cloud \ Firestore \ Admin \ V1 \ DatabaseMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
DATABASE_TYPE_UNSPECIFIED
Value: 0Not used.
Generated from protobuf enum DATABASE_TYPE_UNSPECIFIED = 0;
FIRESTORE_NATIVE
Value: 1Firestore Native Mode
Generated from protobuf enum FIRESTORE_NATIVE = 1;
DATASTORE_MODE
Value: 2Firestore in Datastore Mode.
Generated from protobuf enum DATASTORE_MODE = 2;