Class AgentUpdate
java.lang.Object
com.google.genai.gaos.models.agents.AgentUpdate
AgentUpdate
Represents the fields of an Agent that can be updated.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionAgentUpdate(AgentConfig agentConfig, String baseAgent, BaseEnvironment baseEnvironment, String description, String systemInstruction, String template, List<AgentTool> tools) -
Method Summary
Modifier and TypeMethodDescriptionConfiguration parameters for the agent.The base agent to extend.The environment configuration for the agent.static AgentUpdate.Builderbuilder()Agent description for developers to quickly read and understand.booleaninthashCode()System instruction for the agent.template()Optional template version the agent is instantiated from (e.g.tools()The tools available to the agent.toString()withAgentConfig(AgentConfig agentConfig) Configuration parameters for the agent.withBaseAgent(String baseAgent) The base agent to extend.withBaseEnvironment(BaseEnvironment baseEnvironment) The environment configuration for the agent.withDescription(String description) Agent description for developers to quickly read and understand.withSystemInstruction(String systemInstruction) System instruction for the agent.withTemplate(String template) Optional template version the agent is instantiated from (e.g.The tools available to the agent.
-
Constructor Details
-
AgentUpdate
public AgentUpdate(@Nullable AgentConfig agentConfig, @Nullable String baseAgent, @Nullable BaseEnvironment baseEnvironment, @Nullable String description, @Nullable String systemInstruction, @Nullable String template, @Nullable List<AgentTool> tools) -
AgentUpdate
public AgentUpdate()
-
-
Method Details
-
agentConfig
Configuration parameters for the agent. -
baseAgent
The base agent to extend. -
baseEnvironment
The environment configuration for the agent. -
description
Agent description for developers to quickly read and understand. -
systemInstruction
System instruction for the agent. -
template
Optional template version the agent is instantiated from (e.g. "video-agent@v1" or "video-agent@latest"). -
tools
The tools available to the agent. -
builder
-
withAgentConfig
Configuration parameters for the agent. -
withBaseAgent
The base agent to extend. -
withBaseEnvironment
The environment configuration for the agent. -
withDescription
Agent description for developers to quickly read and understand. -
withSystemInstruction
System instruction for the agent. -
withTemplate
Optional template version the agent is instantiated from (e.g. "video-agent@v1" or "video-agent@latest"). -
withTools
The tools available to the agent. -
equals
-
hashCode
public int hashCode() -
toString
-