YAML examples for Google Functions
Invoke Google Cloud Function
yaml
- action: "Invoke Cloud Function"
type: "GOOGLE_FUNCTION_INVOKE"
integration: "my_integration"
application_id: "my-gcp-project"
region: "us-central1"
function_name: "my-function"
payload: "{\"key\": \"value\", \"revision\": \"$BUDDY_RUN_COMMIT\"}"
Simple function invocation
yaml
- action: "Invoke function"
type: "GOOGLE_FUNCTION_INVOKE"
integration: "gcp_integration"
function_name: "process-data"
application_id: "my-project"
region: "us-central1"