public sealed class NotificationMessage : IMessage<NotificationMessage>, IEquatable<NotificationMessage>, IDeepCloneable<NotificationMessage>, IBufferMessage, IMessage
Reference documentation and code samples for the Security Command Center v2 API class NotificationMessage.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eNotificationMessage\u003c/code\u003e class in the Google Cloud Security Center v2 API provides a representation of a notification, and it is the latest version at 1.1.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing it to be used with various .NET functionalities, while inheriting from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNotificationMessage\u003c/code\u003e class offers two constructors, a default constructor and one that takes another \u003ccode\u003eNotificationMessage\u003c/code\u003e object for copying.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains properties such as \u003ccode\u003eEventCase\u003c/code\u003e, \u003ccode\u003eFinding\u003c/code\u003e, \u003ccode\u003eNotificationConfigName\u003c/code\u003e, and \u003ccode\u003eResource\u003c/code\u003e, providing details about the notification event, associated finding, notification configuration, and relevant cloud resource.\u003c/p\u003e\n"],["\u003cp\u003eThis class is located within the \u003ccode\u003eGoogle.Cloud.SecurityCenter.V2\u003c/code\u003e namespace and is part of the \u003ccode\u003eGoogle.Cloud.SecurityCenter.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# Security Command Center v2 API - Class NotificationMessage (1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.NotificationMessage)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.1.0/Google.Cloud.SecurityCenter.V2.NotificationMessage)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.0.0/Google.Cloud.SecurityCenter.V2.NotificationMessage) \n\n public sealed class NotificationMessage : IMessage\u003cNotificationMessage\u003e, IEquatable\u003cNotificationMessage\u003e, IDeepCloneable\u003cNotificationMessage\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Security Command Center v2 API class NotificationMessage.\n\nCloud SCC's Notification \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e NotificationMessage \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[NotificationMessage](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.NotificationMessage), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[NotificationMessage](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.NotificationMessage), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[NotificationMessage](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.NotificationMessage), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.SecurityCenter.V2](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.SecurityCenter.V2.dll\n\nConstructors\n------------\n\n### NotificationMessage()\n\n public NotificationMessage()\n\n### NotificationMessage(NotificationMessage)\n\n public NotificationMessage(NotificationMessage other)\n\nProperties\n----------\n\n### EventCase\n\n public NotificationMessage.EventOneofCase EventCase { get; }\n\n### Finding\n\n public Finding Finding { get; set; }\n\nIf it's a Finding based notification config, this field will be\npopulated.\n\n### NotificationConfigName\n\n public string NotificationConfigName { get; set; }\n\nName of the notification config that generated current notification.\n\n### Resource\n\n public Resource Resource { get; set; }\n\nThe Cloud resource tied to this notification's Finding."]]