public static interface AuthConfig.HttpBasicAuthConfigOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCredentialSecret()
public abstract String getCredentialSecret() 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.accesspermission 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.
string credential_secret = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The credentialSecret. |
getCredentialSecretBytes()
public abstract ByteString getCredentialSecretBytes() 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.accesspermission 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.
string credential_secret = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for credentialSecret. |