Class OAuth2UpdateConfig
java.lang.Object
com.google.genai.gaos.models.credentials.OAuth2UpdateConfig
- All Implemented Interfaces:
CredentialUpdate
OAuth2UpdateConfig
Configuration for updating OAuth2 credentials.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OAuth2UpdateConfig.Builderbuilder()clientId()Optional.Optional.booleaninthashCode()Optional.scopes()Optional.tokenUrl()Optional.toString()type()withClientId(String clientId) Optional.withClientSecret(String clientSecret) Optional.withRefreshToken(String refreshToken) Optional.withScopes(List<String> scopes) Optional.withTokenUrl(String tokenUrl) Optional.
-
Constructor Details
-
OAuth2UpdateConfig
-
OAuth2UpdateConfig
public OAuth2UpdateConfig()
-
-
Method Details
-
clientId
Optional. OAuth2 client ID. -
clientSecret
Optional. Input only. OAuth2 client secret.Write-only; never returned in responses.
-
refreshToken
Optional. Input only. OAuth2 refresh token.Write-only; never returned in responses.
-
scopes
Optional. List of OAuth2 scopes. -
tokenUrl
Optional. OAuth2 token endpoint URL for refreshing access tokens. -
type
- Specified by:
typein interfaceCredentialUpdate
-
builder
-
withClientId
Optional. OAuth2 client ID. -
withClientSecret
Optional. Input only. OAuth2 client secret.Write-only; never returned in responses.
-
withRefreshToken
Optional. Input only. OAuth2 refresh token.Write-only; never returned in responses.
-
withScopes
Optional. List of OAuth2 scopes. -
withTokenUrl
Optional. OAuth2 token endpoint URL for refreshing access tokens. -
equals
-
hashCode
public int hashCode() -
toString
-