class Google::Apis::CloudbuildV1beta1::Notification
Notification
is the container which holds the data that is relevant to this particular notification.
Attributes
The filter string to use for notification filtering. Currently, this is assumed to be a CEL program. See opensource.google/projects/cel for more. Corresponds to the JSON property `filter` @return [String]
HTTPDelivery is the delivery configuration for an HTTP notification. Corresponds to the JSON property `httpDelivery` @return [Google::Apis::CloudbuildV1beta1::HttpDelivery]
SlackDelivery
is the delivery configuration for delivering Slack messages via webhooks. See Slack webhook documentation at: api.slack.com/messaging/ webhooks. Corresponds to the JSON property `slackDelivery` @return [Google::Apis::CloudbuildV1beta1::SlackDelivery]
SMTPDelivery is the delivery configuration for an SMTP (email) notification. Corresponds to the JSON property `smtpDelivery` @return [Google::Apis::CloudbuildV1beta1::SmtpDelivery]
Escape hatch for users to supply custom delivery configs. Corresponds to the JSON property `structDelivery` @return [Hash<String,Object>]
Public Class Methods
# File lib/google/apis/cloudbuild_v1beta1/classes.rb, line 1172 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/cloudbuild_v1beta1/classes.rb, line 1177 def update!(**args) @filter = args[:filter] if args.key?(:filter) @http_delivery = args[:http_delivery] if args.key?(:http_delivery) @slack_delivery = args[:slack_delivery] if args.key?(:slack_delivery) @smtp_delivery = args[:smtp_delivery] if args.key?(:smtp_delivery) @struct_delivery = args[:struct_delivery] if args.key?(:struct_delivery) end