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\u003eThe \u003ccode\u003eCreateDatabaseRequest\u003c/code\u003e class is used to create a request for the \u003ccode\u003eFirestoreAdmin.CreateDatabase\u003c/code\u003e operation within the Firestore Admin v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities for message handling, comparison, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties for \u003ccode\u003eDatabase\u003c/code\u003e, \u003ccode\u003eDatabaseId\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, and \u003ccode\u003eParentAsProjectName\u003c/code\u003e, which are required to specify the details of the database to be created.\u003c/p\u003e\n"],["\u003cp\u003eVersion 3.12.0 is the most recent release, and versions are available down to 2.2.0 for the Firestore Admin v1 API's \u003ccode\u003eCreateDatabaseRequest\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe database ID must adhere to specific rules, including a length of 4-63 characters and the use of valid characters such as lowercase letters and numbers.\u003c/p\u003e\n"]]],[],null,[]]