Class BetaManagedAgentsMcpOAuthRefreshResponse
-
- All Implemented Interfaces:
public final class BetaManagedAgentsMcpOAuthRefreshResponseOAuth refresh token configuration returned in credential responses.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsMcpOAuthRefreshResponse.BuilderA builder for BetaManagedAgentsMcpOAuthRefreshResponse.
public final classBetaManagedAgentsMcpOAuthRefreshResponse.TokenEndpointAuthToken endpoint requires no client authentication.
-
Method Summary
Modifier and Type Method Description final StringclientId()OAuth client ID. final StringtokenEndpoint()Token endpoint URL used to refresh the access token. final BetaManagedAgentsMcpOAuthRefreshResponse.TokenEndpointAuthtokenEndpointAuth()Token endpoint requires no client authentication. final Optional<String>resource()OAuth resource indicator. final Optional<String>scope()OAuth scope for the refresh request. final JsonField<String>_clientId()Returns the raw JSON value of clientId. final JsonField<String>_tokenEndpoint()Returns the raw JSON value of tokenEndpoint. final JsonField<BetaManagedAgentsMcpOAuthRefreshResponse.TokenEndpointAuth>_tokenEndpointAuth()Returns the raw JSON value of tokenEndpointAuth. final JsonField<String>_resource()Returns the raw JSON value of resource. final JsonField<String>_scope()Returns the raw JSON value of scope. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsMcpOAuthRefreshResponse.BuildertoBuilder()final BetaManagedAgentsMcpOAuthRefreshResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsMcpOAuthRefreshResponse.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsMcpOAuthRefreshResponse. -
-
Method Detail
-
tokenEndpoint
final String tokenEndpoint()
Token endpoint URL used to refresh the access token.
-
tokenEndpointAuth
final BetaManagedAgentsMcpOAuthRefreshResponse.TokenEndpointAuth tokenEndpointAuth()
Token endpoint requires no client authentication.
-
_clientId
final JsonField<String> _clientId()
Returns the raw JSON value of clientId.
Unlike clientId, this method doesn't throw if the JSON field has an unexpected type.
-
_tokenEndpoint
final JsonField<String> _tokenEndpoint()
Returns the raw JSON value of tokenEndpoint.
Unlike tokenEndpoint, this method doesn't throw if the JSON field has an unexpected type.
-
_tokenEndpointAuth
final JsonField<BetaManagedAgentsMcpOAuthRefreshResponse.TokenEndpointAuth> _tokenEndpointAuth()
Returns the raw JSON value of tokenEndpointAuth.
Unlike tokenEndpointAuth, this method doesn't throw if the JSON field has an unexpected type.
-
_resource
final JsonField<String> _resource()
Returns the raw JSON value of resource.
Unlike resource, this method doesn't throw if the JSON field has an unexpected type.
-
_scope
final JsonField<String> _scope()
Returns the raw JSON value of scope.
Unlike scope, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsMcpOAuthRefreshResponse.Builder toBuilder()
-
validate
final BetaManagedAgentsMcpOAuthRefreshResponse 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 BetaManagedAgentsMcpOAuthRefreshResponse.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsMcpOAuthRefreshResponse.
The following fields are required:
.clientId() .tokenEndpoint() .tokenEndpointAuth()
-
-
-
-