Package com.google.adk.web.dto
Class AgentRunRequest
java.lang.Object
com.google.adk.web.dto.AgentRunRequest
Data Transfer Object (DTO) for POST /run and POST /run-sse requests. Contains information needed
to execute an agent run.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.genai.types.Contentboolean
-
Field Details
-
appName
-
userId
-
sessionId
-
newMessage
-
streaming
public boolean streaming -
stateDelta
Optional state delta to merge into the session state before running the agent. This allows updating session state dynamically per request, useful for injecting configuration (e.g., replay mode settings) without modifying the stored session.
-
-
Constructor Details
-
AgentRunRequest
public AgentRunRequest()
-
-
Method Details
-
getAppName
-
getUserId
-
getSessionId
-
getNewMessage
public com.google.genai.types.Content getNewMessage() -
getStreaming
public boolean getStreaming() -
getStateDelta
-