Method: projects.locations.insightsdata.export

将数据洞见数据导出到请求正文中定义的目标位置。

HTTP 请求

POST https://{endpoint}/v1alpha1/{parent=projects/*/locations/*}/insightsdata:export

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

网址使用 gRPC 转码语法。

路径参数

参数
parent

string

必需。要从中导出数据的父级资源。

请求正文

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

JSON 表示法
{
  "filter": string,
  "kmsKey": string,
  "writeDisposition": enum (WriteDisposition),
  "exportSchemaVersion": enum (ExportSchemaVersion),

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "bigQueryDestination": {
    object (BigQueryDestination)
  }
  // End of mutually exclusive fields.
}
字段
filter

string

用于将结果范围缩小至特定子集的过滤条件。适用于导出具有特定属性的对话。

kmsKey

string

受 CMEK 保护的 BigQuery 表的完全限定 KMS 密钥名称。格式:projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}

writeDisposition

enum (WriteDisposition)

目标表已存在时的处理选项。

exportSchemaVersion

enum (ExportSchemaVersion)

可选。导出架构的版本。

导出器目标位置。以下是互斥字段的列表。在响应中,最多只能设置其中一个字段:
bigQueryDestination

object (BigQueryDestination)

如果接收器是 BigQuery 表,则指定。

互斥字段结束。

响应正文

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

授权范围

需要以下 OAuth 范围:

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

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

IAM 权限

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

  • contactcenterinsights.datasetConversations.list
  • contactcenterinsights.conversations.list

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