FunctionEventTrigger class
Constructors
-
FunctionEventTrigger({required Input<
String> eventType, Input<FunctionEventTriggerFailurePolicy?> ? failurePolicy, required Input<String> resource}) -
Creates a new FunctionEventTrigger.
eventTypeThe type of event to observe. For example:"google.storage.object.finalize".failurePolicySpecifies policy for failed executions. Structure is documented below.resourceRequired. The name or partial URI of the resource fromconst -
FunctionEventTrigger.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
eventType
→ Input<
String> -
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.final -
failurePolicy
→ Input<
FunctionEventTriggerFailurePolicy?> ? -
Specifies policy for failed executions. Structure is documented below.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
resource
→ Input<
String> -
Required. The name or partial URI of the resource from
which to observe events. For example,
"myBucket"or"projects/my-project/topics/my-topic"final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited