Class: Google::Apis::ClouddeployV1::DeliveryPipelineNotificationEvent

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeliveryPipelineNotificationEvent

Returns a new instance of DeliveryPipelineNotificationEvent.



1771
1772
1773
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1771

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#delivery_pipelineString

The name of the Delivery Pipeline. Corresponds to the JSON property deliveryPipeline

Returns:

  • (String)


1754
1755
1756
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1754

def delivery_pipeline
  @delivery_pipeline
end

#messageString

Debug message for when a notification fails to send. Corresponds to the JSON property message

Returns:

  • (String)


1759
1760
1761
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1759

def message
  @message
end

#pipeline_uidString

Unique identifier of the DeliveryPipeline. Corresponds to the JSON property pipelineUid

Returns:

  • (String)


1764
1765
1766
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1764

def pipeline_uid
  @pipeline_uid
end

#typeString

Type of this notification, e.g. for a Pub/Sub failure. Corresponds to the JSON property type

Returns:

  • (String)


1769
1770
1771
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1769

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1776
1777
1778
1779
1780
1781
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1776

def update!(**args)
  @delivery_pipeline = args[:delivery_pipeline] if args.key?(:delivery_pipeline)
  @message = args[:message] if args.key?(:message)
  @pipeline_uid = args[:pipeline_uid] if args.key?(:pipeline_uid)
  @type = args[:type] if args.key?(:type)
end