Class AgentTemplateUpdate
java.lang.Object
com.google.genai.gaos.models.agents.AgentTemplateUpdate
AgentTemplateUpdate
Represents the fields of an AgentTemplate that can be updated.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionAgentTemplateUpdate(AgentConfig agentConfig, String baseAgent, String description, Environment environment, String systemInstruction, List<AgentTool> tools) -
Method Summary
Modifier and TypeMethodDescriptionConfiguration parameters for the agent.The base agent to extend.static AgentTemplateUpdate.Builderbuilder()Template description for developers.Configuration for a custom environment.booleaninthashCode()System instruction for the agent template.tools()The tools available to agents created from this template.toString()withAgentConfig(AgentConfig agentConfig) Configuration parameters for the agent.withBaseAgent(String baseAgent) The base agent to extend.withDescription(String description) Template description for developers.withEnvironment(Environment environment) Configuration for a custom environment.withSystemInstruction(String systemInstruction) System instruction for the agent template.The tools available to agents created from this template.
-
Constructor Details
-
AgentTemplateUpdate
public AgentTemplateUpdate(@Nullable AgentConfig agentConfig, @Nullable String baseAgent, @Nullable String description, @Nullable Environment environment, @Nullable String systemInstruction, @Nullable List<AgentTool> tools) -
AgentTemplateUpdate
public AgentTemplateUpdate()
-
-
Method Details
-
agentConfig
Configuration parameters for the agent. -
baseAgent
The base agent to extend. -
description
Template description for developers. -
environment
Configuration for a custom environment. -
systemInstruction
System instruction for the agent template. -
tools
The tools available to agents created from this template. -
builder
-
withAgentConfig
Configuration parameters for the agent. -
withBaseAgent
The base agent to extend. -
withDescription
Template description for developers. -
withEnvironment
Configuration for a custom environment. -
withSystemInstruction
System instruction for the agent template. -
withTools
The tools available to agents created from this template. -
equals
-
hashCode
public int hashCode() -
toString
-