REST Resource: organizations.locations.notificationConfigs

资源:NotificationConfig

Cloud Security Command Center (Cloud SCC) 通知配置。

通知配置是 Cloud SCC 资源,包含用于针对发现结果、资产等的创建/更新事件发送通知的配置。

JSON 表示法
{
  "name": string,
  "description": string,
  "pubsubTopic": string,
  "serviceAccount": string,
  "updateTime": string,

  // Union field notify_config can be only one of the following:
  "streamingConfig": {
    object (StreamingConfig)
  }
  // End of list of possible types for union field notify_config.
}
字段
name

string

标识符。此通知配置的相对资源名称。请参阅:https://cloud.google.com/apis/design/resource_names#relative_resource_name。以下列表显示了一些示例:+ organizations/{organization_id}/locations/{locationId}/notificationConfigs/notify_public_bucket + folders/{folder_id}/locations/{locationId}/notificationConfigs/notify_public_bucket + projects/{projectId}/locations/{locationId}/notificationConfigs/notify_public_bucket

description

string

通知配置的说明(最多 1024 个字符)。

pubsubTopic

string

要向其发送通知的 Pub/Sub 主题。其格式为“projects/[projectId]/topics/[topic]”。

serviceAccount

string

仅限输出。需要“pubsub.topics.publish”权限才能向 Pub/Sub 主题发布消息的服务账号。

updateTime

string (Timestamp format)

仅限输出。上次更新通知配置时的时间戳。

采用 RFC 3339 标准,生成的输出将始终在末尾带 Z,并使用 0、3、6 或 9 个小数位。不带“Z”的偏差时间也是可以接受的。示例:"2014-10-02T15:01:23Z""2014-10-02T15:01:23.045123456Z""2014-10-02T15:01:23+05:30"

联合字段 notify_config。用于触发通知的配置。notify_config 只能是下列其中一项:
streamingConfig

object (StreamingConfig)

用于触发基于流式传输的通知的配置。

方法

create

创建通知配置。

delete

删除通知配置。

get

获取通知配置。

list

列出通知配置。

patch

更新通知配置。