Get a document from a Google Cloud Firestore collection.
yaml
type: "io.kestra.plugin.gcp.firestore.Get"
Examples
Get a document from its path.
yaml
id: gcp_firestore_get
namespace: company.team
tasks:
- id: get
type: io.kestra.plugin.gcp.firestore.Get
collection: "persons"
childPath: "1"
Properties
childPath *Requiredstring
The Firestore document child path.
collection string
The Firestore collection
impersonatedServiceAccount string
The GCP service account to impersonate.
projectId string
The GCP project ID.
scopes array
SubType string
Default
["https://www.googleapis.com/auth/cloud-platform"]
The GCP scopes to be used.
serviceAccount string
The GCP service account.
Outputs
row object
Map containing the fetched document.