Class BetaManagedAgentsCredentialValidation
-
- All Implemented Interfaces:
public final class BetaManagedAgentsCredentialValidationResult of live-probing a credential against its configured MCP server.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsCredentialValidation.BuilderA builder for BetaManagedAgentsCredentialValidation.
public final classBetaManagedAgentsCredentialValidation.Type
-
Method Summary
Modifier and Type Method Description final StringcredentialId()Unique identifier of the credential that was validated. final BooleanhasRefreshToken()Whether the credential has a refresh token configured. final Optional<BetaManagedAgentsMcpProbe>mcpProbe()The failing step of an MCP validation probe. final Optional<BetaManagedAgentsRefreshObject>refresh()Outcome of a refresh-token exchange attempted during credential validation. final BetaManagedAgentsCredentialValidationStatusstatus()Overall verdict of a credential validation probe. final BetaManagedAgentsCredentialValidation.Typetype()final OffsetDateTimevalidatedAt()A timestamp in RFC 3339 format final StringvaultId()Identifier of the vault containing the credential. final JsonField<String>_credentialId()Returns the raw JSON value of credentialId. final JsonField<Boolean>_hasRefreshToken()Returns the raw JSON value of hasRefreshToken. final JsonField<BetaManagedAgentsMcpProbe>_mcpProbe()Returns the raw JSON value of mcpProbe. final JsonField<BetaManagedAgentsRefreshObject>_refresh()Returns the raw JSON value of refresh. final JsonField<BetaManagedAgentsCredentialValidationStatus>_status()Returns the raw JSON value of status. final JsonField<BetaManagedAgentsCredentialValidation.Type>_type()Returns the raw JSON value of type. final JsonField<OffsetDateTime>_validatedAt()Returns the raw JSON value of validatedAt. final JsonField<String>_vaultId()Returns the raw JSON value of vaultId. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsCredentialValidation.BuildertoBuilder()final BetaManagedAgentsCredentialValidationvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsCredentialValidation.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsCredentialValidation. -
-
Method Detail
-
credentialId
final String credentialId()
Unique identifier of the credential that was validated.
-
hasRefreshToken
final Boolean hasRefreshToken()
Whether the credential has a refresh token configured.
-
mcpProbe
final Optional<BetaManagedAgentsMcpProbe> mcpProbe()
The failing step of an MCP validation probe.
-
refresh
final Optional<BetaManagedAgentsRefreshObject> refresh()
Outcome of a refresh-token exchange attempted during credential validation.
-
status
final BetaManagedAgentsCredentialValidationStatus status()
Overall verdict of a credential validation probe.
-
type
final BetaManagedAgentsCredentialValidation.Type type()
-
validatedAt
final OffsetDateTime validatedAt()
A timestamp in RFC 3339 format
-
_credentialId
final JsonField<String> _credentialId()
Returns the raw JSON value of credentialId.
Unlike credentialId, this method doesn't throw if the JSON field has an unexpected type.
-
_hasRefreshToken
final JsonField<Boolean> _hasRefreshToken()
Returns the raw JSON value of hasRefreshToken.
Unlike hasRefreshToken, this method doesn't throw if the JSON field has an unexpected type.
-
_mcpProbe
final JsonField<BetaManagedAgentsMcpProbe> _mcpProbe()
Returns the raw JSON value of mcpProbe.
Unlike mcpProbe, this method doesn't throw if the JSON field has an unexpected type.
-
_refresh
final JsonField<BetaManagedAgentsRefreshObject> _refresh()
Returns the raw JSON value of refresh.
Unlike refresh, this method doesn't throw if the JSON field has an unexpected type.
-
_status
final JsonField<BetaManagedAgentsCredentialValidationStatus> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<BetaManagedAgentsCredentialValidation.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_validatedAt
final JsonField<OffsetDateTime> _validatedAt()
Returns the raw JSON value of validatedAt.
Unlike validatedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_vaultId
final JsonField<String> _vaultId()
Returns the raw JSON value of vaultId.
Unlike vaultId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsCredentialValidation.Builder toBuilder()
-
validate
final BetaManagedAgentsCredentialValidation 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 BetaManagedAgentsCredentialValidation.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsCredentialValidation.
The following fields are required:
.credentialId() .hasRefreshToken() .mcpProbe() .refresh() .status() .type() .validatedAt() .vaultId()
-
-
-
-