finding = $finding; } /** * @return GoogleCloudSecuritycenterV2Finding */ public function getFinding() { return $this->finding; } /** * Name of the notification config that generated current notification. * * @param string $notificationConfigName */ public function setNotificationConfigName($notificationConfigName) { $this->notificationConfigName = $notificationConfigName; } /** * @return string */ public function getNotificationConfigName() { return $this->notificationConfigName; } /** * The Cloud resource tied to this notification's Finding. * * @param GoogleCloudSecuritycenterV2Resource $resource */ public function setResource(GoogleCloudSecuritycenterV2Resource $resource) { $this->resource = $resource; } /** * @return GoogleCloudSecuritycenterV2Resource */ public function getResource() { return $this->resource; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudSecuritycenterV2NotificationMessage::class, 'Google_Service_SecurityCommandCenter_GoogleCloudSecuritycenterV2NotificationMessage');