Package com.google.genai.types
Class AuthConfigGoogleServiceAccountConfig.Builder
java.lang.Object
com.google.genai.types.AuthConfigGoogleServiceAccountConfig.Builder
- Enclosing class:
- AuthConfigGoogleServiceAccountConfig
Builder for AuthConfigGoogleServiceAccountConfig.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract AuthConfigGoogleServiceAccountConfig
build()
serviceAccount
(String serviceAccount) Setter for serviceAccount.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
serviceAccount
Setter for serviceAccount.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.
-
build
-