匯出指標。
HTTP 要求
POST https://discoveryengine.googleapis.com/v1alpha/{analytics=projects/*/locations/*/collections/*/engines/*/analytics}:exportMetrics
這個網址使用 gRPC 轉碼語法。
路徑參數
| 參數 | |
|---|---|
| analytics | 
 這是必要旗標,指標所屬引擎的 Analytics 資源名稱。格式為  | 
要求主體
要求主體包含下列結構的資料:
| JSON 表示法 | 
|---|
| {
  "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。用來保存輸出資料的目的地設定。destination只能是下列其中一項: | |
| bigqueryDestination | 
 要寫入輸出內容的 BigQuery 位置。 | 
BigQueryDestination
BigQuery 輸出目的地設定。
| JSON 表示法 | 
|---|
| { "datasetId": string, "tableId": string } | 
| 欄位 | |
|---|---|
| datasetId | 
 這是必要旗標,BigQuery 資料集的 ID。 | 
| tableId | 
 這是必要旗標,匯出的 BigQuery 資料表 tableId。 |