Class: Google::Apis::ClouddeployV1::DeliveryPipelineNotificationEvent
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::DeliveryPipelineNotificationEvent
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/clouddeploy_v1/classes.rb,
lib/google/apis/clouddeploy_v1/representations.rb,
lib/google/apis/clouddeploy_v1/representations.rb
Overview
Payload proto for "clouddeploy.googleapis.com/deliverypipeline_notification" Platform Log event that describes the failure to send delivery pipeline status change Pub/Sub notification.
Instance Attribute Summary collapse
-
#delivery_pipeline ⇒ String
The name of the
Delivery Pipeline. -
#message ⇒ String
Debug message for when a notification fails to send.
-
#type ⇒ String
Type of this notification, e.g.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeliveryPipelineNotificationEvent
constructor
A new instance of DeliveryPipelineNotificationEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeliveryPipelineNotificationEvent
Returns a new instance of DeliveryPipelineNotificationEvent.
470 471 472 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 470 def initialize(**args) update!(**args) end |
Instance Attribute Details
#delivery_pipeline ⇒ String
The name of the Delivery Pipeline.
Corresponds to the JSON property deliveryPipeline
458 459 460 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 458 def delivery_pipeline @delivery_pipeline end |
#message ⇒ String
Debug message for when a notification fails to send.
Corresponds to the JSON property message
463 464 465 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 463 def @message end |
#type ⇒ String
Type of this notification, e.g. for a Pub/Sub failure.
Corresponds to the JSON property type
468 469 470 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 468 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
475 476 477 478 479 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 475 def update!(**args) @delivery_pipeline = args[:delivery_pipeline] if args.key?(:delivery_pipeline) @message = args[:message] if args.key?(:message) @type = args[:type] if args.key?(:type) end |