1.0.0-beta87 (latest) 1.0.0-beta86

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

Reference documentation and code samples for the Vertex AI v1beta1 API class SecretEnvVar.

Represents an environment variable where the value is a secret in Cloud
Secret Manager.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> SecretEnvVar

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SecretEnvVar](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.SecretEnvVar), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SecretEnvVar](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.SecretEnvVar), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SecretEnvVar](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.SecretEnvVar), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.AIPlatform.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)

## Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

## Constructors

### SecretEnvVar()

    public SecretEnvVar()

### SecretEnvVar(SecretEnvVar)

    public SecretEnvVar(SecretEnvVar other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.SecretEnvVar` |

## Properties

### Name

    public string Name { get; set; }

Required. Name of the secret environment variable.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### SecretRef

    public SecretRef SecretRef { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.SecretRef` |   |