This property defaults to None, meaning that the environment variable is
ignored.
ProjectId
public string ProjectId { get; set; }
The ID of the Google Cloud Platform project that contains the database. May be null, in which case
the project will be automatically detected if possible.
[[["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 page details the \u003ccode\u003eFirestoreDbBuilder\u003c/code\u003e class, which is used to configure credentials, endpoints, and project IDs for \u003ccode\u003eFirestoreDb\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFirestoreDbBuilder\u003c/code\u003e inherits from \u003ccode\u003eClientBuilderBase<FirestoreDb>\u003c/code\u003e and includes properties like \u003ccode\u003eConverterRegistry\u003c/code\u003e, \u003ccode\u003eEmulatorDetection\u003c/code\u003e, \u003ccode\u003eProjectId\u003c/code\u003e, and \u003ccode\u003eSettings\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt provides methods to build a \u003ccode\u003eFirestoreDb\u003c/code\u003e instance synchronously with \u003ccode\u003eBuild()\u003c/code\u003e and asynchronously with \u003ccode\u003eBuildAsync()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere is a list of links to previous versions of the documentation, with version 3.10.0 being the latest.\u003c/p\u003e\n"],["\u003cp\u003eInherited members from \u003ccode\u003eClientBuilderBase<FirestoreDb>\u003c/code\u003e are available for use with \u003ccode\u003eFirestoreDbBuilder\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]