Method: organizations.locations.notificationConfigs.create

创建通知配置。

HTTP 请求


网址使用 gRPC 转码语法。

路径参数

参数
parent

string

必需。新通知配置的父级资源名称。其格式为 organizations/[organization_id]/locations/[locationId]folders/[folder_id]/locations/[locationId]projects/[projectId]/locations/[locationId]

查询参数

参数
configId

string

必需。客户端在父级范围内提供的唯一标识符。长度必须介于 1 到 128 个字符之间,并且只能包含字母数字字符、下划线或连字符。

请求正文

请求正文包含一个 NotificationConfig 实例。

响应正文

如果成功,响应正文将包含一个新创建的 NotificationConfig 实例。

授权范围

需要以下 OAuth 范围:

  • https://www.googleapis.com/auth/cloud-platform

如需了解详情,请参阅 Authentication Overview