GetTriggerResult class
Result data returned by getTrigger.
Constructors
-
GetTriggerResult({required String channel, required Map<
String, String> conditions, required String createTime, required DestinationResponse destination, required String etag, required String eventDataContentType, required List<EventFilterResponse> eventFilters, required Map<String, String> labels, required String name, required String serviceAccount, required TransportResponse transport, required String uid, required String updateTime}) -
Creates a new GetTriggerResult.
channelOptional. The name of the channel associated with the trigger inprojects/{project}/locations/{location}/channels/{channel}format. You must provide a channel to receive events from Eventarc SaaS partners.conditionsThe reason(s) why a trigger is in FAILED state.createTimeThe creation time.destinationDestination specifies where the events should be sent to.etagThis checksum is computed by the server based on the value of other fields, and might be sent only on create requests to ensure that the client has an up-to-date value before proceeding.eventDataContentTypeOptional. EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data field. This is set toapplication/jsonif the value is not defined.eventFiltersUnordered list. The list of filters that applies to event attributes. Only events that match all the provided filters are sent to the destination.labelsOptional. User labels attached to the triggers that can be used to group resources.nameThe resource name of the trigger. Must be unique within the location of the project and must be inprojects/{project}/locations/{location}/triggers/{trigger}format.serviceAccountOptional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. Theiam.serviceAccounts.actAspermission 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.transportOptional. 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.uidServer-assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.updateTimeThe last-modified time.const -
GetTriggerResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- channel → 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 -
conditions
→ Map<
String, String> -
The reason(s) why a trigger is in FAILED state.
final
- createTime → String
-
The creation time.
final
- destination → DestinationResponse
-
Destination specifies where the events should be sent to.
final
- etag → String
-
This checksum is computed by the server based on the value of other fields, and might be sent only on create requests to ensure that the client has an up-to-date value before proceeding.
final
- eventDataContentType → String
-
Optional. EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data field. This is set to
application/jsonif the value is not defined.final -
eventFilters
→ List<
EventFilterResponse> -
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
→ Map<
String, String> -
Optional. User labels attached to the triggers that can be used to group resources.
final
- name → 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 - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serviceAccount → String
-
Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The
iam.serviceAccounts.actAspermission 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 → TransportResponse
-
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
- uid → String
-
Server-assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
final
- updateTime → String
-
The last-modified time.
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