Cloud Firestore V1 Client - Class DatabaseType (1.36.1)

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
NameDescription
value mixed

static::value

Parameter
NameDescription
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;