Cloud Firestore V1 Client - Class DatabaseType (1.47.0)

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 \ Database

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

DATABASE_TYPE_UNSPECIFIED

Value: 0

Not used.

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;