HttpFunction
Trigger Google Cloud Run Function.
Use this task to trigger an Cloud Run Function and collect the result if any
yaml
type: "io.kestra.plugin.gcp.function.HttpFunction"
yaml
id: test_gcp_function
namespace: com.company.test.gcp
tasks:
- id: get_hello_json
type: io.kestra.plugin.gcp.function.HttpFunction
httpMethod: GET
url: https://my-function.europe-west9.run.app
Dynamic
YES
HTTP method
Dynamic
YES
GCP Function URL
Dynamic
YES
Default
{}
HTTP body
JSON body of the Azure function
Dynamic
YES
The GCP service account to impersonate.
Dynamic
YES
Default
PT1H
Format
duration
Max duration
The maximum duration the task should wait until the Azure Function completion.
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.
GCP Function response body