FunctionEventTriggerArgs

data class FunctionEventTriggerArgs(val eventType: Output<String>, val failurePolicy: Output<FunctionEventTriggerFailurePolicyArgs>? = null, val resource: Output<String>) : ConvertibleToJava<FunctionEventTriggerArgs>

Constructors

Link copied to clipboard
constructor(eventType: Output<String>, failurePolicy: Output<FunctionEventTriggerFailurePolicyArgs>? = null, resource: Output<String>)

Properties

Link copied to clipboard
val eventType: Output<String>

The type of event to observe. For example: "google.storage.object.finalize". See the documentation on calling Cloud Functions for a full reference of accepted triggers.

Link copied to clipboard

Specifies policy for failed executions. Structure is documented below.

Link copied to clipboard
val resource: Output<String>

Required. The name or partial URI of the resource from which to observe events. For example, "myBucket" or "projects/my-project/topics/my-topic"

Functions

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