Reference documentation and code samples for the Google Cloud Advisory Notifications V1 Client class Notification.
A notification object for notifying customers about security and privacy issues.
Generated from protobuf message google.cloud.advisorynotifications.v1.Notification
Namespace
Google \ Cloud \ AdvisoryNotifications \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The resource name of the notification. Format: organizations/{organization}/locations/{location}/notifications/{notification}.
↳ subject
↳ messages
↳ create_time
↳ notification_type
int
Type of notification
getName
The resource name of the notification.
Format: organizations/{organization}/locations/{location}/notifications/{notification}.
string
setName
The resource name of the notification.
Format: organizations/{organization}/locations/{location}/notifications/{notification}.
var
string
$this
getSubject
The subject line of the notification.
hasSubject
clearSubject
setSubject
The subject line of the notification.
$this
getMessages
A list of messages in the notification.
setMessages
A list of messages in the notification.
$this
getCreateTime
Output only. Time the notification was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Time the notification was created.
$this
getNotificationType
Type of notification
int
setNotificationType
Type of notification
var
int
$this