TriggerArgs class

The set of arguments for Trigger. The set of arguments for Trigger.

Constructors

TriggerArgs({Input<String>? channel, required Input<Destination> destination, Input<String>? eventDataContentType, required Input<List<EventFilter>> eventFilters, Input<Map<String, String>>? labels, Input<String>? location, Input<String>? name, Input<String>? project, Input<String>? serviceAccount, Input<Transport>? transport, required Input<String> triggerId})
Creates a new TriggerArgs. channel Optional. The name of the channel associated with the trigger in projects/{project}/locations/{location}/channels/{channel} format. You must provide a channel to receive events from Eventarc SaaS partners. destination Destination specifies where the events should be sent to. eventDataContentType Optional. EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data field. This is set to application/json if the value is not defined. eventFilters Unordered list. The list of filters that applies to event attributes. Only events that match all the provided filters are sent to the destination. labels Optional. User labels attached to the triggers that can be used to group resources. location Optional. name The resource name of the trigger. Must be unique within the location of the project and must be in projects/{project}/locations/{location}/triggers/{trigger} format. project Optional. serviceAccount Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The iam.serviceAccounts.actAs permission must be granted on the service account to allow a principal to impersonate the service account. For more information, see the Roles and permissions page specific to the trigger destination. transport Optional. To deliver messages, Eventarc might use other Google Cloud products as a transport intermediary. This field contains a reference to that transport intermediary. This information can be used for debugging purposes. triggerId Required. The user-provided ID to be assigned to the trigger.
const
TriggerArgs.fromMap(Map<String, dynamic> map)
factory

Properties

channel → Input<String>?
Optional. The name of the channel associated with the trigger in projects/{project}/locations/{location}/channels/{channel} format. You must provide a channel to receive events from Eventarc SaaS partners.
final
destination → Input<Destination>
Destination specifies where the events should be sent to.
final
eventDataContentType → Input<String>?
Optional. EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data field. This is set to application/json if the value is not defined.
final
eventFilters → Input<List<EventFilter>>
Unordered list. The list of filters that applies to event attributes. Only events that match all the provided filters are sent to the destination.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Input<Map<String, String>>?
Optional. User labels attached to the triggers that can be used to group resources.
final
location → Input<String>?
final
name → Input<String>?
The resource name of the trigger. Must be unique within the location of the project and must be in projects/{project}/locations/{location}/triggers/{trigger} format.
final
project → Input<String>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceAccount → Input<String>?
Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The iam.serviceAccounts.actAs permission must be granted on the service account to allow a principal to impersonate the service account. For more information, see the Roles and permissions page specific to the trigger destination.
final
transport → Input<Transport>?
Optional. To deliver messages, Eventarc might use other Google Cloud products as a transport intermediary. This field contains a reference to that transport intermediary. This information can be used for debugging purposes.
final
triggerId → Input<String>
Required. The user-provided ID to be assigned to the trigger.
final

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