Package com.google.genai.types
Class AuthConfigHttpBasicAuthConfig
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.AuthConfigHttpBasicAuthConfig
Config for HTTP Basic Authentication.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for AuthConfigHttpBasicAuthConfig. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Instantiates a builder for AuthConfigHttpBasicAuthConfig.Required.Deserializes a JSON string to a AuthConfigHttpBasicAuthConfig object.Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
AuthConfigHttpBasicAuthConfig
public AuthConfigHttpBasicAuthConfig()
-
-
Method Details
-
credentialSecret
Required. The name of the SecretManager secret version resource storing the base64 encoded credentials. Format: `projects/{project}/secrets/{secrete}/versions/{version}` - If specified, the `secretmanager.versions.access` 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 resource. -
builder
Instantiates a builder for AuthConfigHttpBasicAuthConfig. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a AuthConfigHttpBasicAuthConfig object.
-