google_api_cloud_run v0.22.0 GoogleApi.CloudRun.V1alpha1.Model.TriggerSpec 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) - Filter is the filter to apply against all events from the Broker. Only events that pass this filter will be sent to the Subscriber.

  • importers (type: list(GoogleApi.CloudRun.V1alpha1.Model.TriggerImporterSpec.t), default: nil) - Deprecated, importer specification will be replaced by information stored in GcpImporterDao.

  • sink (type: GoogleApi.CloudRun.V1alpha1.Model.Destination.t, default: nil) - Sink is the addressable that will receive events.

  • subscriber (type: GoogleApi.CloudRun.V1alpha1.Model.SubscriberSpec.t, default: nil) - Deprecated, sink will be represented by Destination. Subscriber is the addressable that receives events from the Broker that pass the Filter. It is required.

    E.g. https://us-central1-myproject.cloudfunctions.net/myfunction or /namespaces/my-project/services/my-service.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.