Vertex AI v1 API - Class SecretRef (3.25.0)

public sealed class SecretRef : IMessage<SecretRef>, IEquatable<SecretRef>, IDeepCloneable<SecretRef>, IBufferMessage, IMessage

Reference documentation and code samples for the Vertex AI v1 API class SecretRef.

Reference to a secret stored in the Cloud Secret Manager that will provide the value for this environment variable.

Inheritance

object > SecretRef

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

SecretRef()

public SecretRef()

SecretRef(SecretRef)

public SecretRef(SecretRef other)
Parameter
Name Description
other SecretRef

Properties

Secret

public string Secret { get; set; }

Required. The name of the secret in Cloud Secret Manager. Format: {secret_name}.

Property Value
Type Description
string

Version

public string Version { get; set; }

The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias.

Property Value
Type Description
string