AgentEngineSandboxLifecycleClient class abstract

Optional lifecycle extension for AgentEngineSandboxClient supporting auto-creating Agent Engines and querying sandbox state.

Implemented types

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

createAgentEngine({required String projectId, required String location}) → Future<String>
Creates a new Agent Engine in projectId and location and returns its resource name.
createSandbox({required String agentEngineResourceName}) → Future<String>
Creates a sandbox resource for agentEngineResourceName.
inherited
executeCode({required String sandboxResourceName, required Map<String, Object?> inputData}) → Future<AgentEngineSandboxExecutionResponse>
Executes code inside a sandbox and returns outputs.
inherited
getSandboxState({required String sandboxResourceName}) → Future<String?>
Returns the state string (e.g. 'STATE_RUNNING') for sandboxResourceName, or null if unavailable.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited