Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class NotificationMessage.
Cloud SCC's Notification
Generated from protobuf message google.cloud.securitycenter.v1.NotificationMessage
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ notification_config_name
string
Name of the notification config that generated current notification.
↳ finding
Google\Cloud\SecurityCenter\V1\Finding
If it's a Finding based notification config, this field will be populated.
↳ resource
getNotificationConfigName
Name of the notification config that generated current notification.
string
setNotificationConfigName
Name of the notification config that generated current notification.
var
string
$this
getFinding
If it's a Finding based notification config, this field will be populated.
hasFinding
setFinding
If it's a Finding based notification config, this field will be populated.
$this
getResource
The Cloud resource tied to this notification's Finding.
hasResource
clearResource
setResource
The Cloud resource tied to this notification's Finding.
$this
getEvent
string