DestinationResponse

data class DestinationResponse(val cloudFunction: String, val cloudRun: CloudRunResponse, val gke: GKEResponse, val workflow: String)

Represents a target of an invocation over HTTP.

Constructors

Link copied to clipboard
constructor(cloudFunction: String, cloudRun: CloudRunResponse, gke: GKEResponse, workflow: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The Cloud Function resource name. Only Cloud Functions V2 is supported. Format: projects/{project}/locations/{location}/functions/{function} This is a read-only field. Creating Cloud Functions V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.

Link copied to clipboard

Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.

Link copied to clipboard

A GKE service capable of receiving events. The service should be running in the same project as the trigger.

Link copied to clipboard

The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: projects/{project}/locations/{location}/workflows/{workflow}