- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- OutputConfig
- BigQueryDestination
Exports metrics.
HTTP request
POST https://discoveryengine.googleapis.com/v1alpha/{analytics=projects/*/locations/*/collections/*/engines/*/analytics}:exportMetrics
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| analytics | 
 Required. The analytics resource name under the engine where the metrics are created. The format is  | 
Request body
The request body contains data with the following structure:
| JSON representation | 
|---|
| {
  "outputConfig": {
    object ( | 
| Fields | |
|---|---|
| outputConfig | 
 Required. The output location of the data. | 
Response body
If successful, the response body contains an instance of Operation.
Authorization scopes
Requires one of the following OAuth scopes:
- https://www.googleapis.com/auth/cloud-platform
- https://www.googleapis.com/auth/discoveryengine.readwrite
For more information, see the Authentication Overview.
OutputConfig
The output configuration setting.
| JSON representation | 
|---|
| { // Union field | 
| Fields | |
|---|---|
| Union field destination. The configuration of destination for holding output data.destinationcan be only one of the following: | |
| bigqueryDestination | 
 The BigQuery location where the output is to be written to. | 
BigQueryDestination
The BigQuery output destination configuration.
| JSON representation | 
|---|
| { "datasetId": string, "tableId": string } | 
| Fields | |
|---|---|
| datasetId | 
 Required. The ID of a BigQuery Dataset. | 
| tableId | 
 Required. The tableId of exported BigQuery table. |