FirestoreSource

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 theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-06-27 UTC.