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 for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateDatabaseRequest\u003c/code\u003e class is used to define the request structure when creating a new database in Firestore, as part of the \u003ccode\u003eFirestoreAdmin.CreateDatabase\u003c/code\u003e operation.\u003c/p\u003e\n"],["\u003cp\u003eIt outlines the class's inheritance, implemented interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and provides a detailed list of available versions, including the latest version \u003ccode\u003e3.12.0\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), and \u003ccode\u003eParent\u003c/code\u003e (the parent project for the database).\u003c/p\u003e\n"],["\u003cp\u003eThe class has 2 constructors available, one default and one that accepts another \u003ccode\u003eCreateDatabaseRequest\u003c/code\u003e as a parameter.\u003c/p\u003e\n"]]],[],null,[]]