Method: projects.locations.authorizedViewSets.authorizedViews.create

创建 AuthorizedView

HTTP 请求

POST https://{endpoint}/v1alpha1/{parent=projects/*/locations/*/authorizedViewSets/*}/authorizedViews

其中 {endpoint} 是受支持的服务端点之一。

网址使用 gRPC 转码语法。

路径参数

参数
parent

string

必需。AuthorizedView 的父级资源。

查询参数

参数
authorizedViewId

string

可选。新 AuthorizedView 的唯一 ID。此 ID 将成为 AuthorizedView 资源名称的最后一个组成部分。如果未指定 ID,系统会使用服务器生成的 ID。

此值应为 4-64 个字符,并且必须与正则表达式 ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$ 匹配。请参阅 https://google.aip.dev/122#resource-id-segments

请求正文

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

响应正文

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

授权范围

需要以下 OAuth 范围:

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

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

IAM 权限

需要拥有 parent 资源的以下 IAM 权限:

  • contactcenterinsights.authorizedViews.create

如需了解详情,请参阅 IAM 文档。