FunctionEventTriggerArgs

data class FunctionEventTriggerArgs(val eventFilters: Output<List<FunctionEventTriggerEventFilterArgs>>? = null, val eventType: Output<String>? = null, val pubsubTopic: Output<String>? = null, val retryPolicy: Output<String>? = null, val serviceAccountEmail: Output<String>? = null, val trigger: Output<String>? = null, val triggerRegion: Output<String>? = null) : ConvertibleToJava<FunctionEventTriggerArgs>

Constructors

Link copied to clipboard
constructor(eventFilters: Output<List<FunctionEventTriggerEventFilterArgs>>? = null, eventType: Output<String>? = null, pubsubTopic: Output<String>? = null, retryPolicy: Output<String>? = null, serviceAccountEmail: Output<String>? = null, trigger: Output<String>? = null, triggerRegion: Output<String>? = null)

Properties

Link copied to clipboard

Criteria used to filter events. Structure is documented below.

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

Required. The type of event to observe.

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

The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery.

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

Describes the retry policy in case of function's execution failure. Retried execution is charged as any other execution. Possible values are: RETRY_POLICY_UNSPECIFIED, RETRY_POLICY_DO_NOT_RETRY, RETRY_POLICY_RETRY.

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

The email of the service account for this function.

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

(Output) Output only. The resource name of the Eventarc trigger.

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

The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.

Functions

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