Class BetaManagedAgentsMcpOAuthRefreshParams
-
- All Implemented Interfaces:
public final class BetaManagedAgentsMcpOAuthRefreshParamsOAuth refresh token parameters for creating a credential with refresh support.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsMcpOAuthRefreshParams.BuilderA builder for BetaManagedAgentsMcpOAuthRefreshParams.
public final classBetaManagedAgentsMcpOAuthRefreshParams.TokenEndpointAuthToken endpoint requires no client authentication.
-
Method Summary
Modifier and Type Method Description final StringclientId()OAuth client ID. final StringrefreshToken()OAuth refresh token. final StringtokenEndpoint()Token endpoint URL used to refresh the access token. final BetaManagedAgentsMcpOAuthRefreshParams.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>_refreshToken()Returns the raw JSON value of refreshToken. final JsonField<String>_tokenEndpoint()Returns the raw JSON value of tokenEndpoint. final JsonField<BetaManagedAgentsMcpOAuthRefreshParams.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 BetaManagedAgentsMcpOAuthRefreshParams.BuildertoBuilder()final BetaManagedAgentsMcpOAuthRefreshParamsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsMcpOAuthRefreshParams.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsMcpOAuthRefreshParams. -
-
Method Detail
-
refreshToken
final String refreshToken()
OAuth refresh token.
-
tokenEndpoint
final String tokenEndpoint()
Token endpoint URL used to refresh the access token.
-
tokenEndpointAuth
final BetaManagedAgentsMcpOAuthRefreshParams.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.
-
_refreshToken
final JsonField<String> _refreshToken()
Returns the raw JSON value of refreshToken.
Unlike refreshToken, 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<BetaManagedAgentsMcpOAuthRefreshParams.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 BetaManagedAgentsMcpOAuthRefreshParams.Builder toBuilder()
-
validate
final BetaManagedAgentsMcpOAuthRefreshParams 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 BetaManagedAgentsMcpOAuthRefreshParams.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsMcpOAuthRefreshParams.
The following fields are required:
.clientId() .refreshToken() .tokenEndpoint() .tokenEndpointAuth()
-
-
-
-