TriggerDestination

data class TriggerDestination(val cloudFunction: String? = null, val cloudRunService: TriggerDestinationCloudRunService? = null, val gke: TriggerDestinationGke? = null, val workflow: String? = null)

Constructors

Link copied to clipboard
constructor(cloudFunction: String? = null, cloudRunService: TriggerDestinationCloudRunService? = null, gke: TriggerDestinationGke? = null, workflow: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val cloudFunction: String? = null

WARNING Configuring a Cloud Function in Trigger is not supported as of today. The Cloud Function resource name. Format: projects/{project}/locations/{location}/functions/{function}

Link copied to clipboard

Cloud Run fully-managed service that receives the events. The service should be running in the same project of 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
val workflow: String? = null

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}