Class BetaManagedAgentsMcpOAuthRefreshUpdateParams
-
- All Implemented Interfaces:
public final class BetaManagedAgentsMcpOAuthRefreshUpdateParamsParameters for updating OAuth refresh token configuration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsMcpOAuthRefreshUpdateParams.BuilderA builder for BetaManagedAgentsMcpOAuthRefreshUpdateParams.
public final classBetaManagedAgentsMcpOAuthRefreshUpdateParams.TokenEndpointAuth
-
Method Summary
-
-
Method Detail
-
refreshToken
final Optional<String> refreshToken()
The new OAuth refresh token to replace the stored one.
-
scope
final Optional<String> scope()
The new OAuth scope for refresh requests. Send an empty string to clear the stored scope.
-
tokenEndpointAuth
final Optional<BetaManagedAgentsMcpOAuthRefreshUpdateParams.TokenEndpointAuth> tokenEndpointAuth()
-
_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.
-
_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.
-
_tokenEndpointAuth
final JsonField<BetaManagedAgentsMcpOAuthRefreshUpdateParams.TokenEndpointAuth> _tokenEndpointAuth()
Returns the raw JSON value of tokenEndpointAuth.
Unlike tokenEndpointAuth, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsMcpOAuthRefreshUpdateParams.Builder toBuilder()
-
validate
final BetaManagedAgentsMcpOAuthRefreshUpdateParams 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 BetaManagedAgentsMcpOAuthRefreshUpdateParams.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsMcpOAuthRefreshUpdateParams.
-
-
-
-