Enum BetaManagedAgentsCredentialValidationStatus.Value
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum BetaManagedAgentsCredentialValidationStatus.Value extends Enum<BetaManagedAgentsCredentialValidationStatus.Value>
An enum containing BetaManagedAgentsCredentialValidationStatus's known values, as well as an _UNKNOWN member.
An instance of BetaManagedAgentsCredentialValidationStatus can contain an unknown value in a couple of cases:
It was deserialized from data that doesn't match any known member. For example, if the SDK is on an older version than the API, then the API may respond with new members that the SDK is unaware of.
It was constructed with an arbitrary value using the of method.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final Integerordinalprivate final EnumEntries<BetaManagedAgentsCredentialValidationStatus.Value>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description VALIDThe credential successfully authenticated against its MCP server.
INVALIDThe probe reached the MCP server and the server rejected the credential, or no access token is stored. A refresh, if one was tried, didn't recover it. Usually the end user needs to authorize again.
UNKNOWNThe probe couldn't tell whether the credential works, for example because of a network error or because a refresh succeeded but the new access token wasn't tested. Validate the credential again to find out.
_UNKNOWNAn enum member indicating that BetaManagedAgentsCredentialValidationStatus was instantiated with an unknown value.
-
Method Summary
Modifier and Type Method Description final Array<BetaManagedAgentsCredentialValidationStatus.Value>values()Returns an array containing the constants of this enum type, in the order they're declared. final BetaManagedAgentsCredentialValidationStatus.ValuevalueOf(String value)Returns the enum constant of this type with the specified name. final EnumEntries<BetaManagedAgentsCredentialValidationStatus.Value>getEntries()-
-
Method Detail
-
values
final Array<BetaManagedAgentsCredentialValidationStatus.Value> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
valueOf
final BetaManagedAgentsCredentialValidationStatus.Value valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
getEntries
final EnumEntries<BetaManagedAgentsCredentialValidationStatus.Value> getEntries()
-
-
-
-