Class BetaManagedAgentsAgentToolEvaluationAuto
-
- All Implemented Interfaces:
public final class BetaManagedAgentsAgentToolEvaluationAutoThe resolved permission_policy was auto: the server judged this invocation individually.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsAgentToolEvaluationAuto.BuilderA builder for BetaManagedAgentsAgentToolEvaluationAuto.
-
Method Summary
Modifier and Type Method Description final BetaManagedAgentsAgentAutoEvaluatedPermissionevaluatedPermission()The server's judgement for this invocation. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("auto")final JsonField<BetaManagedAgentsAgentAutoEvaluatedPermission>_evaluatedPermission()Returns the raw JSON value of evaluatedPermission. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsAgentToolEvaluationAuto.BuildertoBuilder()final BetaManagedAgentsAgentToolEvaluationAutovalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsAgentToolEvaluationAuto.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsAgentToolEvaluationAuto. final static BetaManagedAgentsAgentToolEvaluationAutoof(BetaManagedAgentsAgentAutoEvaluatedPermission evaluatedPermission)Returns an immutable instance of BetaManagedAgentsAgentToolEvaluationAuto with the required evaluatedPermission set to the given value. final static BetaManagedAgentsAgentToolEvaluationAutoof(BetaManagedAgentsAgentAutoEvaluatedPermissionAllow allow)Alias for calling of with BetaManagedAgentsAgentAutoEvaluatedPermission.ofAllow(allow).final static BetaManagedAgentsAgentToolEvaluationAutoof(BetaManagedAgentsAgentAutoEvaluatedPermissionAsk ask)Alias for calling of with BetaManagedAgentsAgentAutoEvaluatedPermission.ofAsk(ask).final static BetaManagedAgentsAgentToolEvaluationAutoof(BetaManagedAgentsAgentAutoEvaluatedPermissionDeny deny)Alias for calling of with BetaManagedAgentsAgentAutoEvaluatedPermission.ofDeny(deny).-
-
Method Detail
-
evaluatedPermission
final BetaManagedAgentsAgentAutoEvaluatedPermission evaluatedPermission()
The server's judgement for this invocation.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("auto")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_evaluatedPermission
final JsonField<BetaManagedAgentsAgentAutoEvaluatedPermission> _evaluatedPermission()
Returns the raw JSON value of evaluatedPermission.
Unlike evaluatedPermission, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsAgentToolEvaluationAuto.Builder toBuilder()
-
validate
final BetaManagedAgentsAgentToolEvaluationAuto validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaManagedAgentsAgentToolEvaluationAuto.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsAgentToolEvaluationAuto.
The following fields are required:
.evaluatedPermission()
-
of
final static BetaManagedAgentsAgentToolEvaluationAuto of(BetaManagedAgentsAgentAutoEvaluatedPermission evaluatedPermission)
Returns an immutable instance of BetaManagedAgentsAgentToolEvaluationAuto with the required evaluatedPermission set to the given value.
-
of
final static BetaManagedAgentsAgentToolEvaluationAuto of(BetaManagedAgentsAgentAutoEvaluatedPermissionAllow allow)
Alias for calling of with
BetaManagedAgentsAgentAutoEvaluatedPermission.ofAllow(allow).
-
of
final static BetaManagedAgentsAgentToolEvaluationAuto of(BetaManagedAgentsAgentAutoEvaluatedPermissionAsk ask)
Alias for calling of with
BetaManagedAgentsAgentAutoEvaluatedPermission.ofAsk(ask).
-
of
final static BetaManagedAgentsAgentToolEvaluationAuto of(BetaManagedAgentsAgentAutoEvaluatedPermissionDeny deny)
Alias for calling of with
BetaManagedAgentsAgentAutoEvaluatedPermission.ofDeny(deny).
-
-
-
-