
HttpFunction
Run a Google Cloud Run function.
HttpFunction
Run a Google Cloud Run function.
Run a Google Cloud Run function.
Use this task to trigger an Cloud Run Function and collect the result.
yaml
type: "io.kestra.plugin.gcp.function.HttpFunction"Examples
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
Properties
httpMethod*Requiredstring
HTTP method
url*Requiredstring
GCP Function URL
httpBodyobject
Default
{}HTTP body
JSON body of the Azure function
impersonatedServiceAccountstring
The GCP service account to impersonate.
maxDurationstring
Default
PT1HFormat
durationMax duration
The maximum duration the task should wait until the Azure Function completion.
projectIdstring
The GCP project ID.
scopesarray
SubTypestring
Default
["https://www.googleapis.com/auth/cloud-platform"]The GCP scopes to be used.
serviceAccountstring
The GCP service account.
Outputs
responseBodyobject
GCP Function response body