Method: projects.locations.userStores.create

새 사용자 스토어를 만듭니다.

HTTP 요청

POST https://discoveryengine.googleapis.com/v1/{parent=projects/*/locations/*}/userStores

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

경로 매개변수

매개변수
parent

string

필수 항목. 상위 컬렉션 리소스 이름입니다(예: projects/{project}/locations/{location}).

쿼리 매개변수

매개변수
userStoreId

string

필수 항목. 만들려는 사용자 스토어의 ID입니다.

ID에는 문자(a~z, A~Z), 숫자(0~9), 밑줄(_), 하이픈(-)만 포함되어야 합니다. 최대 길이는 63자(영문 기준)입니다.

요청 본문

요청 본문에 UserStore의 인스턴스가 포함됩니다.

응답 본문

성공한 경우 응답 본문에 새로 생성된 UserStore의 인스턴스가 포함됩니다.

승인 범위

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

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

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