Class AgentUpdate

java.lang.Object
com.google.genai.gaos.models.agents.AgentUpdate

public class AgentUpdate extends Object
AgentUpdate

Represents the fields of an Agent that can be updated.

  • Constructor Details

  • Method Details

    • agentConfig

      public Optional<AgentConfig> agentConfig()
      Configuration parameters for the agent.
    • baseAgent

      public Optional<String> baseAgent()
      The base agent to extend.
    • baseEnvironment

      public Optional<BaseEnvironment> baseEnvironment()
      The environment configuration for the agent.
    • description

      public Optional<String> description()
      Agent description for developers to quickly read and understand.
    • systemInstruction

      public Optional<String> systemInstruction()
      System instruction for the agent.
    • template

      public Optional<String> template()
      Optional template version the agent is instantiated from (e.g. "video-agent@v1" or "video-agent@latest").
    • tools

      public Optional<List<AgentTool>> tools()
      The tools available to the agent.
    • builder

      public static AgentUpdate.Builder builder()
    • withAgentConfig

      public AgentUpdate withAgentConfig(@Nullable AgentConfig agentConfig)
      Configuration parameters for the agent.
    • withBaseAgent

      public AgentUpdate withBaseAgent(@Nullable String baseAgent)
      The base agent to extend.
    • withBaseEnvironment

      public AgentUpdate withBaseEnvironment(@Nullable BaseEnvironment baseEnvironment)
      The environment configuration for the agent.
    • withDescription

      public AgentUpdate withDescription(@Nullable String description)
      Agent description for developers to quickly read and understand.
    • withSystemInstruction

      public AgentUpdate withSystemInstruction(@Nullable String systemInstruction)
      System instruction for the agent.
    • withTemplate

      public AgentUpdate withTemplate(@Nullable String template)
      Optional template version the agent is instantiated from (e.g. "video-agent@v1" or "video-agent@latest").
    • withTools

      public AgentUpdate withTools(@Nullable List<AgentTool> tools)
      The tools available to the agent.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object