public sealed class CreateDatabaseRequest : IMessage<CreateDatabaseRequest>, IEquatable<CreateDatabaseRequest>, IDeepCloneable<CreateDatabaseRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Firestore Admin v1 API class CreateDatabaseRequest.
The request for
[FirestoreAdmin.CreateDatabase][google.firestore.admin.v1.FirestoreAdmin.CreateDatabase].
Required. The ID to use for the database, which will become the final
component of the database's resource name.
This value should be 4-63 characters. Valid characters are /[a-z][0-9]-/
with first character a letter and the last a letter or a number. Must not
be UUID-like /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/.
[[["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-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eCreateDatabaseRequest\u003c/code\u003e class within the Google Cloud Firestore Admin v1 API, specifically version 3.10.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateDatabaseRequest\u003c/code\u003e class is used to request the creation of a new database via the \u003ccode\u003eFirestoreAdmin.CreateDatabase\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, as well as inheriting from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eCreateDatabaseRequest\u003c/code\u003e class include \u003ccode\u003eDatabase\u003c/code\u003e (the database to create), \u003ccode\u003eDatabaseId\u003c/code\u003e (the ID for the new database), \u003ccode\u003eParent\u003c/code\u003e (the parent project name), and \u003ccode\u003eParentAsProjectName\u003c/code\u003e (a \u003ccode\u003eProjectName\u003c/code\u003e-typed view of the \u003ccode\u003eParent\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe page also lists several previous versions of this resource, spanning from 3.12.0 down to version 2.2.0.\u003c/p\u003e\n"]]],[],null,[]]