Package com.google.genai.types
Class AuthConfigGoogleServiceAccountConfig
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.AuthConfigGoogleServiceAccountConfig
Config for Google Service Account Authentication.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for AuthConfigGoogleServiceAccountConfig. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Instantiates a builder for AuthConfigGoogleServiceAccountConfig.Deserializes a JSON string to a AuthConfigGoogleServiceAccountConfig object.Optional.Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
AuthConfigGoogleServiceAccountConfig
public AuthConfigGoogleServiceAccountConfig()
-
-
Method Details
-
serviceAccount
Optional. The service account that the extension execution service runs as. - If the service account is specified, the `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified service account. - If not specified, the Vertex AI Extension Service Agent will be used to execute the Extension. -
builder
Instantiates a builder for AuthConfigGoogleServiceAccountConfig. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a AuthConfigGoogleServiceAccountConfig object.
-