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 documentation for the \u003ccode\u003eCreateDatabaseRequest\u003c/code\u003e class within the Google Cloud Firestore Admin v1 API, specifically version 3.7.0, for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateDatabaseRequest\u003c/code\u003e class is used to create a new database via the \u003ccode\u003eFirestoreAdmin.CreateDatabase\u003c/code\u003e method, and it inherits from the \u003ccode\u003eobject\u003c/code\u003e class, while implementing \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateDatabaseRequest\u003c/code\u003e class contains properties such as \u003ccode\u003eDatabase\u003c/code\u003e, \u003ccode\u003eDatabaseId\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, and \u003ccode\u003eParentAsProjectName\u003c/code\u003e, which are required for creating a new database and represent the database object, the ID of the database, the project's parent name, and a typed view over the parent's name respectively.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the \u003ccode\u003eCreateDatabaseRequest\u003c/code\u003e class, with the latest being 3.12.0, and they are listed from the most current to older versions, showing the evolution of this feature.\u003c/p\u003e\n"],["\u003cp\u003eThe document shows that there are two constructors for this class: a default constructor with no arguments, and one that takes another \u003ccode\u003eCreateDatabaseRequest\u003c/code\u003e object as an argument.\u003c/p\u003e\n"]]],[],null,[]]