Get Get

type: "io.kestra.plugin.gcp.firestore.Get"

Get a document from a collection.

# Examples

Get a document from its path.

id: "get"
type: "io.kestra.plugin.gcp.firestore.Get"
collection: "persons"
childPath: "1"

# Properties

# childPath

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️

The Firestore document child path.

# collection

  • Type: string
  • Dynamic: ✔️
  • Required:

The Firestore collection

# projectId

  • Type: string
  • Dynamic:
  • Required:

The GCP project id

# scopes

  • Type: array
  • SubType: string
  • Dynamic:
  • Required:
  • Default: [https://www.googleapis.com/auth/cloud-platform]

The GCP scopes to used

# serviceAccount

  • Type: string
  • Dynamic:
  • Required:

The GCP service account key

# Outputs

# row

  • Type: object

Map containing the fetched document.