google_api_cloud_run v0.1.0 GoogleApi.CloudRun.V1alpha1.Model.TriggerSpec View Source
The desired state of the Trigger.
Attributes
- broker (String.t): Broker is the broker that this trigger receives events from. If not specified, will default to 'default'.
Not currently supported by Cloud Run. Defaults to nil
.
- filter (GoogleApi.CloudRun.V1alpha1.Model.TriggerFilter.t): Filter is the filter to apply against all events from the Broker. Only events that pass this filter will be sent to the Subscriber. If not specified, will default to allowing all events.
This must be specified in Cloud Run. Defaults to nil
.
- subscriber (GoogleApi.CloudRun.V1alpha1.Model.SubscriberSpec.t): 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. Defaults to nil
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.CloudRun.V1alpha1.Model.TriggerSpec{
broker: String.t(),
filter: GoogleApi.CloudRun.V1alpha1.Model.TriggerFilter.t(),
subscriber: GoogleApi.CloudRun.V1alpha1.Model.SubscriberSpec.t()
}
t() :: %GoogleApi.CloudRun.V1alpha1.Model.TriggerSpec{ broker: String.t(), filter: GoogleApi.CloudRun.V1alpha1.Model.TriggerFilter.t(), subscriber: GoogleApi.CloudRun.V1alpha1.Model.SubscriberSpec.t() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.