View Source GoogleApi.SecurityCenter.V1.Model.NotificationConfig (google_api_security_center v0.29.0)

Cloud Security Command Center (Cloud SCC) notification configs. A notification config is a Cloud SCC resource that contains the configuration to send notifications for create/update events of findings, assets and etc.

Attributes

  • description (type: String.t, default: nil) - The description of the notification config (max of 1024 characters).
  • name (type: String.t, default: nil) - 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", "folders/{folder_id}/notificationConfigs/notify_public_bucket", or "projects/{project_id}/notificationConfigs/notify_public_bucket".
  • pubsubTopic (type: String.t, default: nil) - The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
  • serviceAccount (type: String.t, default: nil) - Output only. The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
  • streamingConfig (type: GoogleApi.SecurityCenter.V1.Model.StreamingConfig.t, default: nil) - The config for triggering streaming-based notifications.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.SecurityCenter.V1.Model.NotificationConfig{
  description: String.t() | nil,
  name: String.t() | nil,
  pubsubTopic: String.t() | nil,
  serviceAccount: String.t() | nil,
  streamingConfig: GoogleApi.SecurityCenter.V1.Model.StreamingConfig.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.