Some or all of the information on this page might not apply to Trusted Cloud by S3NS.
Cloud Firestore V1 Client - Class DatabaseType (1.30.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 1.30.0keyboard_arrow_down
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
The default value. This value is used if the database type is omitted.
Generated from protobuf enum DATABASE_TYPE_UNSPECIFIED = 0;
FIRESTORE_NATIVE
Firestore Native Mode
Generated from protobuf enum FIRESTORE_NATIVE = 1;
DATASTORE_MODE
Firestore in Datastore Mode.
Generated from protobuf enum DATASTORE_MODE = 2;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-26 UTC."],[],[]]