# Google Cloud Deploy V1 API - Class Google::Cloud::Deploy::V1::DeployPolicyNotificationEvent (v2.5.0)

2.5.0 (latest) 2.4.1 2.3.0 2.2.0 2.1.1 2.0.2 1.6.0 1.5.0 1.4.0 1.3.0 1.2.2 1.1.0 1.0.0 0.20.0 0.19.1 0.18.0 0.17.2 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.3 Reference documentation and code samples for the Google Cloud Deploy V1 API class Google::Cloud::Deploy::V1::DeployPolicyNotificationEvent.

Payload proto for "clouddeploy.googleapis.com/deploypolicy_notification".
Platform Log event that describes the failure to send a pub/sub notification
when there is a DeployPolicy status change.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #deploy_policy

    def deploy_policy() -> ::String

**Returns**

- (::String) --- The name of the `DeployPolicy`.

### #deploy_policy=

    def deploy_policy=(value) -> ::String

**Parameter**

- **value** (::String) --- The name of the `DeployPolicy`.
**Returns**

- (::String) --- The name of the `DeployPolicy`.

### #deploy_policy_uid

    def deploy_policy_uid() -> ::String

**Returns**

- (::String) --- Unique identifier of the deploy policy.

### #deploy_policy_uid=

    def deploy_policy_uid=(value) -> ::String

**Parameter**

- **value** (::String) --- Unique identifier of the deploy policy.
**Returns**

- (::String) --- Unique identifier of the deploy policy.

### #message

    def message() -> ::String

**Returns**

- (::String) --- Debug message for when a deploy policy fails to send a pub/sub notification.

### #message=

    def message=(value) -> ::String

**Parameter**

- **value** (::String) --- Debug message for when a deploy policy fails to send a pub/sub notification.
**Returns**

- (::String) --- Debug message for when a deploy policy fails to send a pub/sub notification.

### #type

    def type() -> ::Google::Cloud::Deploy::V1::Type

**Returns**

- ([::Google::Cloud::Deploy::V1::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-deploy-v1/latest/Google-Cloud-Deploy-V1-Type)) --- Type of this notification, e.g. for a Pub/Sub failure.

### #type=

    def type=(value) -> ::Google::Cloud::Deploy::V1::Type

**Parameter**

- **value** ([::Google::Cloud::Deploy::V1::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-deploy-v1/latest/Google-Cloud-Deploy-V1-Type)) --- Type of this notification, e.g. for a Pub/Sub failure.
**Returns**

- ([::Google::Cloud::Deploy::V1::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-deploy-v1/latest/Google-Cloud-Deploy-V1-Type)) --- Type of this notification, e.g. for a Pub/Sub failure.