Class AgentAbortRequest

java.lang.Object
com.google.genkit.ai.agent.AgentAbortRequest

public class AgentAbortRequest extends Object
AgentAbortRequest is the request body for aborting an agent execution.
  • Constructor Details

    • AgentAbortRequest

      public AgentAbortRequest()
      Default constructor.
  • Method Details

    • builder

      public static AgentAbortRequest.Builder builder()
      Creates a builder for AgentAbortRequest.
      Returns:
      a new builder
    • getSnapshotId

      public String getSnapshotId()
      Returns the snapshot ID to abort.
      Returns:
      the snapshot ID
    • setSnapshotId

      public void setSnapshotId(String snapshotId)
      Sets the snapshot ID to abort.
      Parameters:
      snapshotId - the snapshot ID