Set a document in a collection.
yaml
type: "io.kestra.plugin.gcp.firestore.Set"
Set a document from a map.
yaml
id: gcp_firestore_set
namespace: company.team
tasks:
- id: set
type: io.kestra.plugin.gcp.firestore.Set
collection: "persons"
document:
firstname: "John"
lastname: "Doe"
Set a document from a JSON string.
yaml
id: gcp_firestore_set
namespace: company.team
inputs:
- id: json_string
type: STRING
default: "{"firstname": "John", "lastname": "Doe"}"
tasks:
- id: set
type: io.kestra.plugin.gcp.firestore.Set
collection: "persons"
document: "{{ inputs.json_string }}"
Dynamic YES
The Firestore document child path.
Dynamic YES
The Firestore collection
Dynamic YES
The Firestore document.
Can be a JSON string, or a map.
Dynamic YES
The GCP service account to impersonate.
Dynamic YES
The GCP project ID.
SubType string
Dynamic YES
Default ["https://www.googleapis.com/auth/cloud-platform"]
The GCP scopes to be used.
Dynamic YES
The GCP service account.
Format date-time
The document updated time