Method: projects.locations.insightsdata.export

Mengekspor data insight ke tujuan yang ditentukan dalam isi permintaan.

Permintaan HTTP

POST https://{endpoint}/v1alpha1/{parent=projects/*/locations/*}/insightsdata:export

Dengan {endpoint} adalah salah satu endpoint layanan yang didukung.

URL ini menggunakan sintaksis gRPC Transcoding.

Parameter jalur

Parameter
parent

string

Wajib. Resource induk yang digunakan untuk mengekspor data.

Isi permintaan

Isi permintaan memuat data dengan struktur berikut:

Representasi JSON
{
  "filter": string,
  "kmsKey": string,
  "writeDisposition": enum (WriteDisposition),
  "exportSchemaVersion": enum (ExportSchemaVersion),

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "bigQueryDestination": {
    object (BigQueryDestination)
  }
  // End of mutually exclusive fields.
}
Kolom
filter

string

Filter untuk mengurangi hasil ke subset tertentu. Berguna untuk mengekspor percakapan dengan properti tertentu.

kmsKey

string

Nama kunci KMS yang sepenuhnya memenuhi syarat untuk tabel BigQuery yang dilindungi oleh CMEK. Format: projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}

writeDisposition

enum (WriteDisposition)

Opsi untuk tindakan yang harus dilakukan jika tabel tujuan sudah ada.

exportSchemaVersion

enum (ExportSchemaVersion)

Opsional. Versi skema ekspor.

Tujuan pengekspor. Berikut adalah daftar kolom yang saling eksklusif. Maksimal satu kolom akan ditetapkan dalam respons:
bigQueryDestination

object (BigQueryDestination)

Ditentukan jika sink adalah tabel BigQuery.

Akhir kolom yang saling eksklusif.

Isi respons

Jika berhasil, isi respons akan memuat instance Operation.

Cakupan otorisasi

Memerlukan cakupan OAuth berikut:

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

Untuk mengetahui informasi selengkapnya, lihat Authentication Overview.

Izin IAM

Memerlukan izin IAM berikut pada resource parent:

  • contactcenterinsights.datasetConversations.list
  • contactcenterinsights.conversations.list

Untuk mengetahui informasi selengkapnya, baca dokumentasi IAM.