Google Cloud Deploy V1 Client - Class DeliveryPipelineNotificationEvent (0.4.1)

Reference documentation and code samples for the Google Cloud Deploy V1 Client class DeliveryPipelineNotificationEvent.

Payload proto for "clouddeploy.googleapis.com/deliverypipeline_notification" Platform Log event that describes the failure to send delivery pipeline status change Pub/Sub notification.

Generated from protobuf message google.cloud.deploy.v1.DeliveryPipelineNotificationEvent

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ message string

Debug message for when a notification fails to send.

↳ delivery_pipeline string

The name of the Delivery Pipeline.

↳ type int

Type of this notification, e.g. for a Pub/Sub failure.

getMessage

Debug message for when a notification fails to send.

Returns
TypeDescription
string

setMessage

Debug message for when a notification fails to send.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDeliveryPipeline

The name of the Delivery Pipeline.

Returns
TypeDescription
string

setDeliveryPipeline

The name of the Delivery Pipeline.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getType

Type of this notification, e.g. for a Pub/Sub failure.

Returns
TypeDescription
int

setType

Type of this notification, e.g. for a Pub/Sub failure.

Parameter
NameDescription
var int
Returns
TypeDescription
$this