Method: projects.locations.collections.engines.agents.patch

Agent 업데이트

HTTP 요청

PATCH https://discoveryengine.googleapis.com/v1alpha/{agent.name=projects/*/locations/*/collections/*/engines/*/agents/*}

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

경로 매개변수

매개변수
agent.name

string

식별자. 에이전트의 리소스 이름입니다. 형식: projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent} 또는 projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/agents/{agent}

쿼리 매개변수

매개변수
updateMask

string (FieldMask format)

(선택사항) 업데이트할 필드 목록입니다.

정규화된 필드 이름의 쉼표로 구분된 목록입니다. 예: "user.displayName,photo"

요청 본문

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

응답 본문

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

승인 범위

다음 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를 참조하세요.

IAM 권한

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

  • discoveryengine.agents.update

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