public sealed class NotificationConfig : IMessage<NotificationConfig>, IEquatable<NotificationConfig>, IDeepCloneable<NotificationConfig>, IBufferMessage, IMessageReference 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.
Implements
IMessageNotificationConfig, IEquatableNotificationConfig, IDeepCloneableNotificationConfig, IBufferMessage, IMessageNamespace
Google.Cloud.SecurityCenter.V1P1Beta1Assembly
Google.Cloud.SecurityCenter.V1P1Beta1.dll
Constructors
NotificationConfig()
public NotificationConfig()NotificationConfig(NotificationConfig)
public NotificationConfig(NotificationConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
NotificationConfig |
Properties
Description
public string Description { get; set; }The description of the notification config (max of 1024 characters).
| Property Value | |
|---|---|
| Type | Description |
string |
|
EventType
public NotificationConfig.Types.EventType EventType { get; set; }The type of events the config is for, e.g. FINDING.
| Property Value | |
|---|---|
| Type | Description |
NotificationConfigTypesEventType |
|
Name
public string Name { get; set; }The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/notificationConfigs/notify_public_bucket".
| Property Value | |
|---|---|
| Type | Description |
string |
|
NotificationConfigName
public NotificationConfigName NotificationConfigName { get; set; }NotificationConfigName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
NotificationConfigName |
|
NotifyConfigCase
public NotificationConfig.NotifyConfigOneofCase NotifyConfigCase { get; }| Property Value | |
|---|---|
| Type | Description |
NotificationConfigNotifyConfigOneofCase |
|
PubsubTopic
public string PubsubTopic { get; set; }The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
| Property Value | |
|---|---|
| Type | Description |
string |
|
PubsubTopicAsTopicName
public TopicName PubsubTopicAsTopicName { get; set; }TopicName-typed view over the PubsubTopic resource name property.
| Property Value | |
|---|---|
| Type | Description |
TopicName |
|
ServiceAccount
public string ServiceAccount { get; set; }Output only. The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
| Property Value | |
|---|---|
| Type | Description |
string |
|
StreamingConfig
public NotificationConfig.Types.StreamingConfig StreamingConfig { get; set; }The config for triggering streaming-based notifications.
| Property Value | |
|---|---|
| Type | Description |
NotificationConfigTypesStreamingConfig |
|