Method: projects.locations.issueModels.export

将问题模型导出到提供的目标位置。

HTTP 请求

POST https://{endpoint}/v1/{name=projects/*/locations/*/issueModels/*}:export

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

网址使用 gRPC 转码语法。

路径参数

参数
name

string

必需。要导出的问题模型。

请求正文

请求正文中包含结构如下的数据:

JSON 表示法
{

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "gcsDestination": {
    object (GcsDestination)
  }
  // End of mutually exclusive fields.
}
字段
问题模型要导出到的目标位置。以下是互斥字段的列表。在响应中,最多只能设置其中一个字段:
gcsDestination

object (GcsDestination)

要将问题模型导出到的 Google Cloud Storage URI。

互斥字段结束。

响应正文

如果成功,则响应正文包含一个 Operation 实例。

授权范围

需要以下 OAuth 范围:

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

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

IAM 权限

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

  • contactcenterinsights.issueModels.export

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

GcsDestination

用于保存问题模型的 Google Cloud Storage 对象 URI。

JSON 表示法
{
  "objectUri": string
}
字段
objectUri

string

必需。格式:gs://<bucket-name>/<object-name>