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"
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

HTTP method

GCP Function URL

Default {}

HTTP body

JSON body of the Azure function

The GCP service account to impersonate.

Default PT1H
Format duration

Max duration

The maximum duration the task should wait until the Azure Function completion.

The GCP project ID.

SubType string
Default ["https://www.googleapis.com/auth/cloud-platform"]

The GCP scopes to be used.

The GCP service account.

GCP Function response body