TriggerEventarcV1beta1Args class
The set of arguments for Trigger. The set of arguments for Trigger.
Constructors
-
TriggerEventarcV1beta1Args({required Input<
DestinationEventarcV1beta1> destination, Input<Map< ? labels, Input<String, String> >String> ? location, required Input<List< matchingCriteria, Input<MatchingCriteria> >String> ? name, Input<String> ? project, Input<String> ? serviceAccount, required Input<String> triggerId}) -
Creates a new TriggerEventarcV1beta1Args.
destinationDestination specifies where the events should be sent to.labelsOptional. User labels attached to the triggers that can be used to group resources.locationOptional.matchingCriteriaUnordered list. The criteria by which events are filtered. Only events that match with this criteria will be sent to the destination.nameThe resource name of the trigger. Must be unique within the location on the project and must inprojects/{project}/locations/{location}/triggers/{trigger}format.projectOptional.serviceAccountOptional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The principal who calls this API must haveiam.serviceAccounts.actAspermission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts?hl=en#sa_common for more information. For Cloud Run destinations, this service account is used to generate identity tokens when invoking the service. See https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke authenticated Cloud Run services. In order to create Audit Log triggers, the service account should also have 'eventarc.events.receiveAuditLogV1Written' permission.triggerIdRequired. The user-provided ID to be assigned to the trigger.const -
TriggerEventarcV1beta1Args.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
destination
→ Input<
DestinationEventarcV1beta1> -
Destination specifies where the events should be sent to.
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
-
matchingCriteria
→ Input<
List< MatchingCriteria> > -
Unordered list. The criteria by which events are filtered. Only events that match with this criteria will be sent to the destination.
final
-
name
→ Input<
String> ? -
The resource name of the trigger. Must be unique within the location on the project and must 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 principal who calls this API must have
iam.serviceAccounts.actAspermission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts?hl=en#sa_common for more information. For Cloud Run destinations, this service account is used to generate identity tokens when invoking the service. See https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke authenticated Cloud Run services. In order to create Audit Log triggers, the service account should also have 'eventarc.events.receiveAuditLogV1Written' permission.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