Class BetaManagedAgentsMcpOAuthRefreshUpdateParams.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsMcpOAuthRefreshUpdateParams.BuilderA builder for BetaManagedAgentsMcpOAuthRefreshUpdateParams.
-
-
Method Summary
-
-
Method Detail
-
refreshToken
final BetaManagedAgentsMcpOAuthRefreshUpdateParams.Builder refreshToken(String refreshToken)
Updated OAuth refresh token.
-
refreshToken
final BetaManagedAgentsMcpOAuthRefreshUpdateParams.Builder refreshToken(Optional<String> refreshToken)
Alias for calling Builder.refreshToken with
refreshToken.orElse(null).
-
refreshToken
final BetaManagedAgentsMcpOAuthRefreshUpdateParams.Builder refreshToken(JsonField<String> refreshToken)
Sets Builder.refreshToken to an arbitrary JSON value.
You should usually call Builder.refreshToken with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
scope
final BetaManagedAgentsMcpOAuthRefreshUpdateParams.Builder scope(String scope)
Updated OAuth scope for the refresh request.
-
scope
final BetaManagedAgentsMcpOAuthRefreshUpdateParams.Builder scope(Optional<String> scope)
Alias for calling Builder.scope with
scope.orElse(null).
-
scope
final BetaManagedAgentsMcpOAuthRefreshUpdateParams.Builder scope(JsonField<String> scope)
Sets Builder.scope to an arbitrary JSON value.
You should usually call Builder.scope with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tokenEndpointAuth
final BetaManagedAgentsMcpOAuthRefreshUpdateParams.Builder tokenEndpointAuth(BetaManagedAgentsMcpOAuthRefreshUpdateParams.TokenEndpointAuth tokenEndpointAuth)
Updated HTTP Basic authentication parameters for the token endpoint.
-
tokenEndpointAuth
final BetaManagedAgentsMcpOAuthRefreshUpdateParams.Builder tokenEndpointAuth(JsonField<BetaManagedAgentsMcpOAuthRefreshUpdateParams.TokenEndpointAuth> tokenEndpointAuth)
Sets Builder.tokenEndpointAuth to an arbitrary JSON value.
You should usually call Builder.tokenEndpointAuth with a well-typed TokenEndpointAuth value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tokenEndpointAuth
final BetaManagedAgentsMcpOAuthRefreshUpdateParams.Builder tokenEndpointAuth(BetaManagedAgentsTokenEndpointAuthBasicUpdateParam clientSecretBasic)
Alias for calling tokenEndpointAuth with
TokenEndpointAuth.ofClientSecretBasic(clientSecretBasic).
-
tokenEndpointAuth
final BetaManagedAgentsMcpOAuthRefreshUpdateParams.Builder tokenEndpointAuth(BetaManagedAgentsTokenEndpointAuthPostUpdateParam clientSecretPost)
Alias for calling tokenEndpointAuth with
TokenEndpointAuth.ofClientSecretPost(clientSecretPost).
-
additionalProperties
final BetaManagedAgentsMcpOAuthRefreshUpdateParams.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsMcpOAuthRefreshUpdateParams.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsMcpOAuthRefreshUpdateParams.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsMcpOAuthRefreshUpdateParams.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsMcpOAuthRefreshUpdateParams.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsMcpOAuthRefreshUpdateParams build()
Returns an immutable instance of BetaManagedAgentsMcpOAuthRefreshUpdateParams.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-