Method: projects.locations.insightsdata.export

요청 본문에 정의된 대상으로 인사이트 데이터를 내보냅니다.

HTTP 요청

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

여기서 {endpoint}는 지원되는 서비스 엔드포인트 중 하나입니다.

URL은 gRPC 트랜스코딩 구문을 사용합니다.

경로 매개변수

매개변수
parent

string

필수 항목입니다. 데이터를 내보낼 상위 리소스입니다.

요청 본문

요청 본문에는 다음과 같은 구조의 데이터가 포함됩니다.

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.
}
필드
filter

string

결과를 특정 하위 집합으로 줄이는 필터입니다. 특정 속성이 있는 대화를 내보내는 데 유용합니다.

kmsKey

string

CMEK로 보호되는 BigQuery 테이블의 정규화된 KMS 키 이름입니다. 형식: projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}

writeDisposition

enum (WriteDisposition)

대상 테이블이 이미 있는 경우 수행할 작업에 대한 옵션입니다.

exportSchemaVersion

enum (ExportSchemaVersion)

선택사항입니다. 내보내기 스키마의 버전입니다.

내보내기 도구 대상입니다. 다음은 상호 배타적인 필드 목록입니다. 응답에서 최대 하나의 필드가 설정됩니다.
bigQueryDestination

object (BigQueryDestination)

싱크가 BigQuery 테이블인 경우 지정됩니다.

상호 배타적 필드의 끝입니다.

응답 본문

성공한 경우 응답 본문에 Operation의 인스턴스가 포함됩니다.

승인 범위

다음 OAuth 범위가 필요합니다.

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

자세한 내용은 Authentication Overview를 참조하세요.

IAM 권한

parent 리소스에 대한 다음 IAM 권한이 필요합니다.

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

자세한 내용은 IAM 문서를 참조하세요.