GetFunctionEventTrigger

data class GetFunctionEventTrigger(val eventFilters: List<GetFunctionEventTriggerEventFilter>, val eventType: String, val pubsubTopic: String, val retryPolicy: String, val serviceAccountEmail: String, val trigger: String, val triggerRegion: String)

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Criteria used to filter events.

Link copied to clipboard

Required. The type of event to observe.

Link copied to clipboard

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

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

Link copied to clipboard

Optional. The email of the trigger's service account. The service account must have permission to invoke Cloud Run services. If empty, defaults to the Compute Engine default service account: {project_number}-compute@developer.gserviceaccount.com.

Link copied to clipboard

Output only. The resource name of the Eventarc trigger.

Link copied to clipboard

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.