FunctionEventTrigger

data class FunctionEventTrigger(val eventFilters: List<FunctionEventTriggerEventFilter>? = null, val eventType: String? = null, val pubsubTopic: String? = null, val retryPolicy: String? = null, val serviceAccountEmail: String? = null, val trigger: String? = null, val triggerRegion: String? = null)

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Criteria used to filter events. Structure is documented below.

Link copied to clipboard
val eventType: String? = null

Required. The type of event to observe.

Link copied to clipboard
val pubsubTopic: 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: 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

The email of the service account for this function.

Link copied to clipboard
val trigger: String? = null

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

Link copied to clipboard
val triggerRegion: 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.