Method: projects.locations.collections.engines.analytics.exportMetrics

导出指标。

HTTP 请求

POST https://discoveryengine.googleapis.com/v1alpha/{analytics=projects/*/locations/*/collections/*/engines/*/analytics}:exportMetrics

网址采用 gRPC 转码语法。

路径参数

参数
analytics

string

必需。创建指标的引擎下的 Google Analytics 资源名称。格式为 projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/analytics

请求正文

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

JSON 表示法
{
  "outputConfig": {
    object (OutputConfig)
  }
}
字段
outputConfig

object (OutputConfig)

必需。数据的输出位置。

响应正文

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

授权范围

需要以下 OAuth 范围之一:

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

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

OutputConfig

输出配置设置。

JSON 表示法
{

  // Union field destination can be only one of the following:
  "bigqueryDestination": {
    object (BigQueryDestination)
  }
  // End of list of possible types for union field destination.
}
字段
联合字段 destination。用于保存输出数据的目标位置的配置。destination 只能是下列其中一项:
bigqueryDestination

object (BigQueryDestination)

要写入输出的 BigQuery 位置。

BigQueryDestination

BigQuery 输出目标位置配置。

JSON 表示法
{
  "datasetId": string,
  "tableId": string
}
字段
datasetId

string

必需。BigQuery 数据集的 ID。

tableId

string

必需。导出的 BigQuery 表的 tableId。