Interface BetaManagedAgentsAgentToolEvaluation.Visitor
-
- All Implemented Interfaces:
public interface BetaManagedAgentsAgentToolEvaluation.Visitor<T extends Object>An interface that defines how to map each variant of BetaManagedAgentsAgentToolEvaluation to a value of type T.
-
-
Method Summary
Modifier and Type Method Description abstract TvisitAlwaysAllow(BetaManagedAgentsAgentToolEvaluationAlwaysAllow alwaysAllow)The resolved permission_policy was always_allow; accompanies evaluated_permission "allow". abstract TvisitAlwaysAsk(BetaManagedAgentsAgentToolEvaluationAlwaysAsk alwaysAsk)The resolved permission_policy was always_ask; accompanies evaluated_permission "ask". abstract TvisitAuto(BetaManagedAgentsAgentToolEvaluationAuto auto)The resolved permission_policy was auto: the server judged this invocation individually. Tunknown(JsonValue json)Maps an unknown variant of BetaManagedAgentsAgentToolEvaluation to a value of type T. -
-
Method Detail
-
visitAlwaysAllow
abstract T visitAlwaysAllow(BetaManagedAgentsAgentToolEvaluationAlwaysAllow alwaysAllow)
The resolved permission_policy was always_allow; accompanies evaluated_permission "allow".
-
visitAlwaysAsk
abstract T visitAlwaysAsk(BetaManagedAgentsAgentToolEvaluationAlwaysAsk alwaysAsk)
The resolved permission_policy was always_ask; accompanies evaluated_permission "ask".
-
visitAuto
abstract T visitAuto(BetaManagedAgentsAgentToolEvaluationAuto auto)
The resolved permission_policy was auto: the server judged this invocation individually.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of BetaManagedAgentsAgentToolEvaluation to a value of type T.
An instance of BetaManagedAgentsAgentToolEvaluation can contain an unknown variant if it was deserialized from data that doesn't match any known variant. For example, if the SDK is on an older version than the API, then the API may respond with new variants that the SDK is unaware of.
-
-
-
-