FunctionEventTrigger class
Constructors
-
FunctionEventTrigger({Input<List<FunctionEventTriggerEventFilter>?>? eventFilters, required Input<String> eventType, Input<String?>? pubsubTopic, Input<String?>? retryPolicy, Input<String?>? serviceAccountEmail, Input<String?>? trigger, Input<String?>? triggerRegion})
-
Creates a new FunctionEventTrigger.
eventFilters Criteria used to filter events.
eventType Required. The type of event to observe.
pubsubTopic The name of a Pub/Sub topic in the same project that will be used
retryPolicy Describes the retry policy in case of function's execution failure.
serviceAccountEmail Optional. The email of the trigger's service account. The service account
trigger (Output)
triggerRegion The region that the trigger will be in. The trigger will only receive
const
-
FunctionEventTrigger.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
eventFilters
→ Input<List<FunctionEventTriggerEventFilter>?>?
-
Criteria used to filter events.
Structure is documented below.
final
-
eventType
→ Input<String>
-
Required. The type of event to observe.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
pubsubTopic
→ Input<String?>?
-
The name of a Pub/Sub topic in the same project that will be used
as the transport topic for the event delivery.
final
-
retryPolicy
→ Input<String?>?
-
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.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
serviceAccountEmail
→ Input<String?>?
-
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.
final
-
trigger
→ Input<String?>?
-
(Output)
Output only. The resource name of the Eventarc trigger.
final
-
triggerRegion
→ Input<String?>?
-
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.
final