Method: projects.locations.collections.dataStores.completionSuggestions.import

DataStore의 CompletionSuggestion를 가져옵니다.

HTTP 요청

POST https://discoveryengine.googleapis.com/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/completionSuggestions:import

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

경로 매개변수

매개변수
parent

string

필수 항목입니다. 고객 자동 완성 추천을 가져올 상위 데이터 스토어 리소스 이름입니다.

projects/*/locations/*/collections/*/dataStores/* 패턴 사용

요청 본문

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

JSON 표현
{
  "errorConfig": {
    object (ImportErrorConfig)
  },

  // Union field source can be only one of the following:
  "inlineSource": {
    object (InlineSource)
  },
  "gcsSource": {
    object (GcsSource)
  },
  "bigquerySource": {
    object (BigQuerySource)
  }
  // End of list of possible types for union field source.
}
필드
errorConfig

object (ImportErrorConfig)

가져오기 중에 발생하는 오류의 원하는 위치입니다.

통합 필드 source. 자동 완성 추천의 소스입니다. source은 다음 중 하나여야 합니다.
inlineSource

object (InlineSource)

추천 항목의 인라인 소스입니다.

gcsSource

object (GcsSource)

입력 콘텐츠의 Cloud Storage 위치입니다.

bigquerySource

object (BigQuerySource)

BigQuery 입력 소스입니다.

응답 본문

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

승인 범위

다음 OAuth 범위 중 하나가 필요합니다.

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

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