Package com.google.genai.types
Class AuthConfigOidcConfig
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.AuthConfigOidcConfig
Config for user OIDC auth.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for AuthConfigOidcConfig. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthConfigOidcConfig.Builder
builder()
Instantiates a builder for AuthConfigOidcConfig.static AuthConfigOidcConfig
Deserializes a JSON string to a AuthConfigOidcConfig object.idToken()
OpenID Connect formatted ID token for extension endpoint.The service account used to generate an OpenID Connect (OIDC)-compatible JWT token signed by the Google OIDC Provider (accounts.google.com) for extension endpoint (https://cloud.google.com/iam/docs/create-short-lived-credentials-direct#sa-credentials-oidc).abstract AuthConfigOidcConfig.Builder
Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
fromJsonString, toJson
-
Constructor Details
-
AuthConfigOidcConfig
public AuthConfigOidcConfig()
-
-
Method Details
-
idToken
OpenID Connect formatted ID token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time. -
serviceAccount
The service account used to generate an OpenID Connect (OIDC)-compatible JWT token signed by the Google OIDC Provider (accounts.google.com) for extension endpoint (https://cloud.google.com/iam/docs/create-short-lived-credentials-direct#sa-credentials-oidc). - The audience for the token will be set to the URL in the server url defined in the OpenApi spec. - If the service account is provided, the service account should grant `iam.serviceAccounts.getOpenIdToken` permission to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents). -
builder
Instantiates a builder for AuthConfigOidcConfig. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a AuthConfigOidcConfig object.
-