FirestoreSource
Stay organized with collections
Save and categorize content based on your preferences.
Firestore source import data from.
JSON representation |
{
"projectId": string,
"databaseId": string,
"collectionId": string,
"gcsStagingDir": string
} |
Fields |
projectId |
string
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-03 UTC.
[[["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-03-03 UTC."],[[["This document details the JSON representation for importing data from a Firestore source."],["The JSON configuration requires `projectId`, `databaseId`, `collectionId`, and `gcsStagingDir` fields."],["`databaseId` and `collectionId` are required fields specifying the source Firestore database and collection."],["`gcsStagingDir` is used as an intermediate Cloud Storage directory and requires appropriate Firestore service account permissions."],["Field lengths have limits, including 128 characters for `projectId`, 256 for `databaseId`, 1,500 for `collectionId`, and 2,000 for `gcsStagingDir`."]]],[]]