Google Cloud HttpFunction

Google Cloud HttpFunction

Certified

Invoke an authenticated Cloud Run function

Calls an HTTP-triggered Cloud Run service using an ID token from the provided service account and returns the response body.

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

Rendered verb used for the request (e.g., GET, POST)

Cloud Run URL

Fully qualified HTTPS URL of the Cloud Run service

Default{}

HTTP body

JSON request payload sent to the function; empty by default

The GCP service account to impersonate

DefaultPT1H

Max duration

Maximum wait time for the HTTP call; defaults to 60 minutes

Reference (ref) of the pluginDefaults to apply to this task.

The GCP project ID

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

The GCP scopes to be used

The GCP service account

GCP Function response body