Class BetaManagedAgentsMcpOAuthUpdateParams
-
- All Implemented Interfaces:
public final class BetaManagedAgentsMcpOAuthUpdateParamsParameters for updating an MCP OAuth credential. The
mcp_server_urlis immutable.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsMcpOAuthUpdateParams.BuilderA builder for BetaManagedAgentsMcpOAuthUpdateParams.
public final classBetaManagedAgentsMcpOAuthUpdateParams.Type
-
Method Summary
-
-
Method Detail
-
type
final BetaManagedAgentsMcpOAuthUpdateParams.Type type()
-
accessToken
final Optional<String> accessToken()
Updated OAuth access token.
-
expiresAt
final Optional<OffsetDateTime> expiresAt()
A timestamp in RFC 3339 format
-
refresh
final Optional<BetaManagedAgentsMcpOAuthRefreshUpdateParams> refresh()
Parameters for updating OAuth refresh token configuration.
-
_type
final JsonField<BetaManagedAgentsMcpOAuthUpdateParams.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_accessToken
final JsonField<String> _accessToken()
Returns the raw JSON value of accessToken.
Unlike accessToken, this method doesn't throw if the JSON field has an unexpected type.
-
_expiresAt
final JsonField<OffsetDateTime> _expiresAt()
Returns the raw JSON value of expiresAt.
Unlike expiresAt, this method doesn't throw if the JSON field has an unexpected type.
-
_refresh
final JsonField<BetaManagedAgentsMcpOAuthRefreshUpdateParams> _refresh()
Returns the raw JSON value of refresh.
Unlike refresh, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsMcpOAuthUpdateParams.Builder toBuilder()
-
validate
final BetaManagedAgentsMcpOAuthUpdateParams 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 BetaManagedAgentsMcpOAuthUpdateParams.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsMcpOAuthUpdateParams.
The following fields are required:
.type()
-
-
-
-