GoogleApi.CloudRun.V1alpha1.Model.TriggerSpec (google_api_cloud_run v0.41.0) View Source

The desired state of the Trigger.

Attributes

  • broker (type: String.t, default: nil) - Broker is the broker that this trigger receives events from. If not specified, will default to 'default'. Not currently supported by Cloud Run.
  • filter (type: GoogleApi.CloudRun.V1alpha1.Model.TriggerFilter.t, default: nil) - Optional. Filter is the filter to apply against all events from the Broker. Only events that pass this filter will be sent to the Subscriber. Note that filter is optional in knative and is only required in fully managed due to different broker implementation.
  • subscriber (type: GoogleApi.CloudRun.V1alpha1.Model.Destination.t, default: nil) - Sink is the addressable that will receive events.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.CloudRun.V1alpha1.Model.TriggerSpec{
  broker: String.t(),
  filter: GoogleApi.CloudRun.V1alpha1.Model.TriggerFilter.t(),
  subscriber: GoogleApi.CloudRun.V1alpha1.Model.Destination.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.