Update an agent pool
Updates pool metadata or spec atomically using a field mask. Membership is replaced as a whole. Validates the merged pool; an empty description or membership is invalid. State is output only; use lifecycle actions.
Authorizations
Path Parameters
Body
Update agent pool request
Fields to update. Only metadata and spec are mutable; top-level state and info paths are invalid. spec.assignments replaces the entire membership list. A spec mask replaces the full spec; * replaces all mutable fields. Without a mask, infer paths from non-empty fields. Empty or omitted membership then leaves the existing list unchanged. Element/index paths are invalid. Validate the merged pool atomically: an empty description or membership (including an explicitly masked empty list) is invalid.
Response
OK
A workspace-scoped group of agents. When assigned to a variation, the pool exposes one callable target that routes a request to a member agent. Pool membership references agents; variation assignments reference the pool.
Output only. Pools are created INACTIVE. Use :activate, :deactivate, :archive, and :unarchive to transition states. Unarchive returns INACTIVE.
AGENT_POOL_STATE_UNSPECIFIED, AGENT_POOL_STATE_ACTIVE, AGENT_POOL_STATE_INACTIVE, AGENT_POOL_STATE_ARCHIVED