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

指標をエクスポートします。

HTTP リクエスト

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

この URL では gRPC Transcoding 構文を使用します。

パスパラメータ

パラメータ
analytics

string

必須。指標が作成されるエンジンの分析リソース名。形式は 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.
}
Fields
共用体フィールド destination。出力データを保持する宛先の構成。destination は次のいずれかになります。
bigqueryDestination

object (BigQueryDestination)

出力の書き込み先となる BigQuery のロケーション。

BigQueryDestination

BigQuery 出力先の構成。

JSON 表現
{
  "datasetId": string,
  "tableId": string
}
フィールド
datasetId

string

必須。BigQuery データセットの ID。

tableId

string

必須。エクスポートされた BigQuery テーブルの tableId。