Class BetaManagedAgentsAgentAutoEvaluatedPermissionAsk
-
- All Implemented Interfaces:
public final class BetaManagedAgentsAgentAutoEvaluatedPermissionAskThe server reached no judgement; the invocation is held for client approval.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsAgentAutoEvaluatedPermissionAsk.BuilderA builder for BetaManagedAgentsAgentAutoEvaluatedPermissionAsk.
-
Method Summary
Modifier and Type Method Description final StringreasonCode()The judgement's grounds in registry-bound terms, for client branching and audit rather than end-user display. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("ask")final JsonField<String>_reasonCode()Returns the raw JSON value of reasonCode. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsAgentAutoEvaluatedPermissionAsk.BuildertoBuilder()final BetaManagedAgentsAgentAutoEvaluatedPermissionAskvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsAgentAutoEvaluatedPermissionAsk.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsAgentAutoEvaluatedPermissionAsk. final static BetaManagedAgentsAgentAutoEvaluatedPermissionAskof(String reasonCode)Returns an immutable instance of BetaManagedAgentsAgentAutoEvaluatedPermissionAsk with the required reasonCode set to the given value. -
-
Method Detail
-
reasonCode
final String reasonCode()
The judgement's grounds in registry-bound terms, for client branching and audit rather than end-user display. Open registry; currently "indeterminate" (no judgement was reached). Clients must tolerate values outside this set.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("ask")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_reasonCode
final JsonField<String> _reasonCode()
Returns the raw JSON value of reasonCode.
Unlike reasonCode, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsAgentAutoEvaluatedPermissionAsk.Builder toBuilder()
-
validate
final BetaManagedAgentsAgentAutoEvaluatedPermissionAsk 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 BetaManagedAgentsAgentAutoEvaluatedPermissionAsk.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsAgentAutoEvaluatedPermissionAsk.
The following fields are required:
.reasonCode()
-
of
final static BetaManagedAgentsAgentAutoEvaluatedPermissionAsk of(String reasonCode)
Returns an immutable instance of BetaManagedAgentsAgentAutoEvaluatedPermissionAsk with the required reasonCode set to the given value.
-
-
-
-