GetTriggerResult

data class GetTriggerResult(val channel: String, val conditions: Map<String, String>, val createTime: String, val destination: DestinationResponse, val etag: String, val eventDataContentType: String, val eventFilters: List<EventFilterResponse>, val labels: Map<String, String>, val name: String, val serviceAccount: String, val transport: TransportResponse, val uid: String, val updateTime: String)

Constructors

Link copied to clipboard
fun GetTriggerResult(channel: String, conditions: Map<String, String>, createTime: String, destination: DestinationResponse, etag: String, eventDataContentType: String, eventFilters: List<EventFilterResponse>, labels: Map<String, String>, name: String, serviceAccount: String, transport: TransportResponse, uid: String, updateTime: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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.

Link copied to clipboard

The reason(s) why a trigger is in FAILED state.

Link copied to clipboard

The creation time.

Link copied to clipboard

Destination specifies where the events should be sent to.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

Unordered list. The list of filters that applies to event attributes. Only events that match all the provided filters are sent to the destination.

Link copied to clipboard

Optional. User labels attached to the triggers that can be used to group resources.

Link copied to clipboard

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.

Link copied to clipboard

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 /eventarc/docs/all-roles-permissions page specific to the trigger destination.

Link copied to clipboard

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.

Link copied to clipboard
val 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.

Link copied to clipboard

The last-modified time.