The project ID that the Cloud SQL source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
databaseId
string
Required. The Firestore database to copy the data from with a length limit of 256 characters.
collectionId
string
Required. The Firestore collection (or entity) to copy the data from with a length limit of 1,500 characters.
gcsStagingDir
string
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the Firestore export to a specific Cloud Storage directory.
Ensure that the Firestore service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[[["\u003cp\u003eThis document details the JSON representation for importing data from a Firestore source.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON configuration requires \u003ccode\u003eprojectId\u003c/code\u003e, \u003ccode\u003edatabaseId\u003c/code\u003e, \u003ccode\u003ecollectionId\u003c/code\u003e, and \u003ccode\u003egcsStagingDir\u003c/code\u003e fields.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003edatabaseId\u003c/code\u003e and \u003ccode\u003ecollectionId\u003c/code\u003e are required fields specifying the source Firestore database and collection.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003egcsStagingDir\u003c/code\u003e is used as an intermediate Cloud Storage directory and requires appropriate Firestore service account permissions.\u003c/p\u003e\n"],["\u003cp\u003eField lengths have limits, including 128 characters for \u003ccode\u003eprojectId\u003c/code\u003e, 256 for \u003ccode\u003edatabaseId\u003c/code\u003e, 1,500 for \u003ccode\u003ecollectionId\u003c/code\u003e, and 2,000 for \u003ccode\u003egcsStagingDir\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]