Class HttpBearerUpdateConfig
java.lang.Object
com.google.genai.gaos.models.credentials.HttpBearerUpdateConfig
- All Implemented Interfaces:
CredentialUpdate
HttpBearerUpdateConfig
Configuration for updating HTTP Bearer token credentials.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleaninthashCode()Optional.prefix()Optional.token()Optional.toString()type()withHeaderName(String headerName) Optional.withPrefix(String prefix) Optional.Optional.
-
Constructor Details
-
HttpBearerUpdateConfig
-
HttpBearerUpdateConfig
public HttpBearerUpdateConfig()
-
-
Method Details
-
headerName
Optional. Header name to inject the token into. Defaults to 'Authorization'. -
prefix
Optional. Prefix to prepend to the token. Defaults to 'Bearer'.Set to '' for no prefix.
-
token
Optional. Input only. The static bearer token.Write-only; never returned in responses.
-
type
- Specified by:
typein interfaceCredentialUpdate
-
builder
-
withHeaderName
Optional. Header name to inject the token into. Defaults to 'Authorization'. -
withPrefix
Optional. Prefix to prepend to the token. Defaults to 'Bearer'.Set to '' for no prefix.
-
withToken
Optional. Input only. The static bearer token.Write-only; never returned in responses.
-
equals
-
hashCode
public int hashCode() -
toString
-