Package com.google.genai.types
Class AuthConfigGoogleServiceAccountConfig.Builder
-
- All Implemented Interfaces:
public abstract class AuthConfigGoogleServiceAccountConfig.BuilderBuilder for AuthConfigGoogleServiceAccountConfig.
-
-
Constructor Summary
Constructors Constructor Description AuthConfigGoogleServiceAccountConfig.Builder()
-
Method Summary
Modifier and Type Method Description abstract AuthConfigGoogleServiceAccountConfig.BuilderserviceAccount(String serviceAccount)Setter for serviceAccount. AuthConfigGoogleServiceAccountConfig.BuilderclearServiceAccount()Clears the value of serviceAccount field. abstract AuthConfigGoogleServiceAccountConfigbuild()-
-
Method Detail
-
serviceAccount
abstract AuthConfigGoogleServiceAccountConfig.Builder serviceAccount(String 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.
-
clearServiceAccount
@CanIgnoreReturnValue() AuthConfigGoogleServiceAccountConfig.Builder clearServiceAccount()
Clears the value of serviceAccount field.
-
build
abstract AuthConfigGoogleServiceAccountConfig build()
-
-
-
-