- Permintaan HTTP
- Parameter lokasi
- Isi Permintaan
- Isi respons
- Cakupan otorisasi
- OutputConfig
- BigQueryDestination
Mengekspor metrik.
Permintaan HTTP
POST https://discoveryengine.googleapis.com/v1alpha/{analytics=projects/*/locations/*/collections/*/engines/*/analytics}:exportMetrics
URL menggunakan sintaks gRPC Transcoding.
Parameter jalur
| Parameter | |
|---|---|
analytics |
Wajib. Nama resource Analytics di mesin telusur yang membuat metrik. Formatnya adalah |
Isi Permintaan
Isi permintaan memuat data dengan struktur berikut:
| Representasi JSON |
|---|
{
"outputConfig": {
object ( |
| Kolom | |
|---|---|
outputConfig |
Wajib. Lokasi output data. |
Isi respons
Jika berhasil, isi respons akan memuat instance Operation.
Cakupan otorisasi
Memerlukan salah satu cakupan OAuth berikut:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/discoveryengine.readwritehttps://www.googleapis.com/auth/discoveryengine.serving.readwrite
Untuk mengetahui informasi selengkapnya, lihat Authentication Overview.
OutputConfig
Setelan konfigurasi output.
| Representasi JSON |
|---|
{
// The following is a list of mutually exclusive fields. At most one of the
// fields will be set in a response:
"bigqueryDestination": {
object ( |
| Kolom | |
|---|---|
| Konfigurasi tujuan untuk menyimpan data output. Berikut adalah daftar kolom yang saling eksklusif. Paling banyak satu kolom akan ditetapkan dalam respons: | |
bigqueryDestination |
Lokasi BigQuery tempat output akan ditulis. |
| Akhir kolom yang saling eksklusif. | |
BigQueryDestination
Konfigurasi tujuan output BigQuery.
| Representasi JSON |
|---|
{ "datasetId": string, "tableId": string } |
| Kolom | |
|---|---|
datasetId |
Wajib. ID BigQuery Dataset. |
tableId |
Wajib. tableId tabel BigQuery yang diekspor. |