# Google Cloud Deploy V1 API - Class Google::Cloud::Deploy::V1::TargetNotificationEvent (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::TargetNotificationEvent.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #message

    def message() -> ::String

**Returns**

- (::String) --- Debug message for when a notification fails to send.

### #message=

    def message=(value) -> ::String

**Parameter**

- **value** (::String) --- Debug message for when a notification fails to send.
**Returns**

- (::String) --- Debug message for when a notification fails to send.

### #target

    def target() -> ::String

**Returns**

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

### #target=

    def target=(value) -> ::String

**Parameter**

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

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

### #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.