Class Security
java.lang.Object
com.google.genai.gaos.models.shared.Security
- All Implemented Interfaces:
HasSecurity
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOAuth access token sent as a bearer Authorization header.apiKey()Gemini API key sent as x-goog-api-key.static Security.Builderbuilder()Additional default headers to apply before request-specific headers and auth.booleaninthashCode()toString()withAccessToken(String accessToken) OAuth access token sent as a bearer Authorization header.withApiKey(String apiKey) Gemini API key sent as x-goog-api-key.withDefaultHeaders(Map<String, String> defaultHeaders) Additional default headers to apply before request-specific headers and auth.
-
Constructor Details
-
Security
-
Security
public Security()
-
-
Method Details
-
accessToken
OAuth access token sent as a bearer Authorization header. -
apiKey
Gemini API key sent as x-goog-api-key. -
defaultHeaders
Additional default headers to apply before request-specific headers and auth. -
builder
-
withAccessToken
OAuth access token sent as a bearer Authorization header. -
withApiKey
Gemini API key sent as x-goog-api-key. -
withDefaultHeaders
Additional default headers to apply before request-specific headers and auth. -
equals
-
hashCode
public int hashCode() -
toString
-