public sealed class NotificationConfig : IMessage<NotificationConfig>, IEquatable<NotificationConfig>, IDeepCloneable<NotificationConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Security Command Center v1p1beta1 API class NotificationConfig.
Security Command Center notification configs.
A notification config is a Security Command Center resource that contains the
configuration to send notifications for create/update events of findings,
assets and etc.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation is for the \u003ccode\u003eNotificationConfig\u003c/code\u003e class within the Google Cloud Security Command Center v1p1beta1 API, which is a resource used to manage configurations for sending notifications about findings and assets.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNotificationConfig\u003c/code\u003e class allows for the configuration of various properties such as \u003ccode\u003eDescription\u003c/code\u003e, \u003ccode\u003eEventType\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003ePubsubTopic\u003c/code\u003e, enabling customization of notification settings.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the API documented, including versions 3.0.0-beta05, 3.0.0-beta04, and 2.0.0-beta07, with 3.0.0-beta05 being the latest version.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNotificationConfig\u003c/code\u003e objects can be constructed with a default constructor or by passing another \u003ccode\u003eNotificationConfig\u003c/code\u003e object as a parameter, and it implements several interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe configuration supports sending notifications to a specified Pub/Sub topic, as identified by the \u003ccode\u003ePubsubTopic\u003c/code\u003e property, with the necessary permissions provided by a designated \u003ccode\u003eServiceAccount\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Security Command Center v1p1beta1 API - Class NotificationConfig (3.0.0-beta05)\n\nVersion latestkeyboard_arrow_down\n\n- [3.0.0-beta05 (latest)](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1P1Beta1/latest/Google.Cloud.SecurityCenter.V1P1Beta1.NotificationConfig)\n- [3.0.0-beta04](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1P1Beta1/3.0.0-beta04/Google.Cloud.SecurityCenter.V1P1Beta1.NotificationConfig)\n- [2.0.0-beta07](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1P1Beta1/2.0.0-beta07/Google.Cloud.SecurityCenter.V1P1Beta1.NotificationConfig) \n\n public sealed class NotificationConfig : IMessage\u003cNotificationConfig\u003e, IEquatable\u003cNotificationConfig\u003e, IDeepCloneable\u003cNotificationConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Security Command Center v1p1beta1 API class NotificationConfig.\n\nSecurity Command Center notification configs.\n\nA notification config is a Security Command Center resource that contains the\nconfiguration to send notifications for create/update events of findings,\nassets and etc. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e NotificationConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[NotificationConfig](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1P1Beta1/latest/Google.Cloud.SecurityCenter.V1P1Beta1.NotificationConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[NotificationConfig](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1P1Beta1/latest/Google.Cloud.SecurityCenter.V1P1Beta1.NotificationConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[NotificationConfig](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1P1Beta1/latest/Google.Cloud.SecurityCenter.V1P1Beta1.NotificationConfig), [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.V1P1Beta1](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1P1Beta1/latest/Google.Cloud.SecurityCenter.V1P1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.SecurityCenter.V1P1Beta1.dll\n\nConstructors\n------------\n\n### NotificationConfig()\n\n public NotificationConfig()\n\n### NotificationConfig(NotificationConfig)\n\n public NotificationConfig(NotificationConfig other)\n\nProperties\n----------\n\n### Description\n\n public string Description { get; set; }\n\nThe description of the notification config (max of 1024 characters).\n\n### EventType\n\n public NotificationConfig.Types.EventType EventType { get; set; }\n\nThe type of events the config is for, e.g. FINDING.\n\n### Name\n\n public string Name { get; set; }\n\nThe relative resource name of this notification config. See:\n\u003chttps://cloud.google.com/apis/design/resource_names#relative_resource_name\u003e\nExample:\n\"organizations/{organization_id}/notificationConfigs/notify_public_bucket\".\n\n### NotificationConfigName\n\n public NotificationConfigName NotificationConfigName { get; set; }\n\n[NotificationConfigName](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1P1Beta1/latest/Google.Cloud.SecurityCenter.V1P1Beta1.NotificationConfigName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1P1Beta1/latest/Google.Cloud.SecurityCenter.V1P1Beta1.NotificationConfig#Google_Cloud_SecurityCenter_V1P1Beta1_NotificationConfig_Name) resource name property.\n\n### NotifyConfigCase\n\n public NotificationConfig.NotifyConfigOneofCase NotifyConfigCase { get; }\n\n### PubsubTopic\n\n public string PubsubTopic { get; set; }\n\nThe Pub/Sub topic to send notifications to. Its format is\n\"projects/\\[project_id\\]/topics/\\[topic\\]\".\n\n### PubsubTopicAsTopicName\n\n public TopicName PubsubTopicAsTopicName { get; set; }\n\n[TopicName](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1P1Beta1/latest/Google.Cloud.SecurityCenter.V1P1Beta1.TopicName)-typed view over the [PubsubTopic](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1P1Beta1/latest/Google.Cloud.SecurityCenter.V1P1Beta1.NotificationConfig#Google_Cloud_SecurityCenter_V1P1Beta1_NotificationConfig_PubsubTopic) resource name property.\n\n### ServiceAccount\n\n public string ServiceAccount { get; set; }\n\nOutput only. The service account that needs \"pubsub.topics.publish\"\npermission to publish to the Pub/Sub topic.\n\n### StreamingConfig\n\n public NotificationConfig.Types.StreamingConfig StreamingConfig { get; set; }\n\nThe config for triggering streaming-based notifications."]]