Method: projects.locations.dataStores.schemas.patch

Schema을 업데이트합니다.

HTTP 요청

PATCH https://discoveryengine.googleapis.com/v1/{schema.name=projects/*/locations/*/dataStores/*/schemas/*}

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

경로 매개변수

매개변수
schema.name

string

변경할 수 없습니다. projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}/schemas/{schema} 형식의 스키마 전체 리소스 이름입니다.

이 필드는 UTF-8로 인코딩된 문자열이어야 하며 길이 제한은 1,024자(영문 기준)입니다.

쿼리 매개변수

매개변수
allowMissing

boolean

true로 설정되어 있고 Schema을 찾을 수 없는 경우 새 Schema이 생성됩니다. 이 경우 updateMask는 무시됩니다.

요청 본문

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

응답 본문

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

승인 범위

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

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

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

IAM 권한

name 리소스에 대해서는 다음 IAM 권한이 필요합니다.

  • discoveryengine.schemas.update

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