Google Cloud Deploy V1 Client - Class TargetNotificationEvent (2.0.0) Stay organized with collections Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Deploy V1 Client class TargetNotificationEvent.
Payload proto for "clouddeploy.googleapis.com/target_notification"Platform Log event that describes the failure to send target status changePub/Sub notification.
Generated from protobuf messagegoogle.cloud.deploy.v1.TargetNotificationEvent
Namespace
Google \ Cloud \ Deploy \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data | arrayOptional. Data for populating the Message object. |
↳ message | stringDebug message for when a notification fails to send. |
↳ target | stringThe name of the |
↳ type | intType of this notification, e.g. for a Pub/Sub failure. |
getMessage
Debug message for when a notification fails to send.
| Returns | |
|---|---|
| Type | Description |
string | |
setMessage
Debug message for when a notification fails to send.
| Parameter | |
|---|---|
| Name | Description |
var | string |
| Returns | |
|---|---|
| Type | Description |
$this | |
getTarget
The name of theTarget.
| Returns | |
|---|---|
| Type | Description |
string | |
setTarget
The name of theTarget.
| Parameter | |
|---|---|
| Name | Description |
var | string |
| Returns | |
|---|---|
| Type | Description |
$this | |
getType
Type of this notification, e.g. for a Pub/Sub failure.
| Returns | |
|---|---|
| Type | Description |
int | |
setType
Type of this notification, e.g. for a Pub/Sub failure.
| Parameter | |
|---|---|
| Name | Description |
var | int |
| Returns | |
|---|---|
| Type | Description |
$this | |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-10 UTC.