FunctionEventTrigger

data class FunctionEventTrigger(val eventType: String, val failurePolicy: FunctionEventTriggerFailurePolicy? = null, val resource: String)

Constructors

Link copied to clipboard
constructor(eventType: String, failurePolicy: FunctionEventTriggerFailurePolicy? = null, resource: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

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