DestinationArgs

data class DestinationArgs(val cloudFunction: Output<String>? = null, val cloudRun: Output<CloudRunArgs>? = null, val gke: Output<GKEArgs>? = null, val workflow: Output<String>? = null) : ConvertibleToJava<DestinationArgs>

Represents a target of an invocation over HTTP.

Constructors

Link copied to clipboard
fun DestinationArgs(cloudFunction: Output<String>? = null, cloudRun: Output<CloudRunArgs>? = null, gke: Output<GKEArgs>? = null, workflow: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): DestinationArgs

Properties

Link copied to clipboard
val cloudFunction: Output<String>? = null

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
val cloudRun: Output<CloudRunArgs>? = null

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

Link copied to clipboard
val gke: Output<GKEArgs>? = null

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: Output<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}