GoogleApi.Eventarc.V1.Model.Trigger (google_api_eventarc v0.18.0)
View SourceA representation of the trigger resource.
Attributes
-
channel
(type:String.t
, default:nil
) - Optional. 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. -
conditions
(type:%{optional(String.t) => GoogleApi.Eventarc.V1.Model.StateCondition.t}
, default:nil
) - Output only. The reason(s) why a trigger is in FAILED state. -
createTime
(type:DateTime.t
, default:nil
) - Output only. The creation time. -
destination
(type:GoogleApi.Eventarc.V1.Model.Destination.t
, default:nil
) - Required. Destination specifies where the events should be sent to. -
etag
(type:String.t
, default:nil
) - Output only. 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. -
eventDataContentType
(type:String.t
, default:nil
) - Optional. EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data field. This is set toapplication/json
if the value is not defined. -
eventFilters
(type:list(GoogleApi.Eventarc.V1.Model.EventFilter.t)
, default:nil
) - Required. 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
(type:map()
, default:nil
) - Optional. User labels attached to the triggers that can be used to group resources. -
name
(type:String.t
, default:nil
) - Required. The resource name of the trigger. Must be unique within the location of the project and must be inprojects/{project}/locations/{location}/triggers/{trigger}
format. -
satisfiesPzs
(type:boolean()
, default:nil
) - Output only. Whether or not this Trigger satisfies the requirements of physical zone separation -
serviceAccount
(type:String.t
, default:nil
) - Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. Theiam.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
(type:GoogleApi.Eventarc.V1.Model.Transport.t
, default:nil
) - 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. -
uid
(type:String.t
, default:nil
) - Output only. Server-assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted. -
updateTime
(type:DateTime.t
, default:nil
) - Output only. The last-modified time.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Eventarc.V1.Model.Trigger{ channel: String.t() | nil, conditions: %{optional(String.t()) => GoogleApi.Eventarc.V1.Model.StateCondition.t()} | nil, createTime: DateTime.t() | nil, destination: GoogleApi.Eventarc.V1.Model.Destination.t() | nil, etag: String.t() | nil, eventDataContentType: String.t() | nil, eventFilters: [GoogleApi.Eventarc.V1.Model.EventFilter.t()] | nil, labels: map() | nil, name: String.t() | nil, satisfiesPzs: boolean() | nil, serviceAccount: String.t() | nil, transport: GoogleApi.Eventarc.V1.Model.Transport.t() | nil, uid: String.t() | nil, updateTime: DateTime.t() | nil }