1.0.0 (latest) 1.0.0-beta01

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

Reference documentation and code samples for the Config Delivery v1 API class Variant.

Variant represents the content of a `ResourceBundle` variant.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Variant](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfigDelivery.V1/latest/Google.Cloud.ConfigDelivery.V1.Variant.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Variant](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfigDelivery.V1/latest/Google.Cloud.ConfigDelivery.V1.Variant.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Variant](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfigDelivery.V1/latest/Google.Cloud.ConfigDelivery.V1.Variant.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.ConfigDelivery.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfigDelivery.V1/latest/Google.Cloud.ConfigDelivery.V1.md.txt)

## Assembly

Google.Cloud.ConfigDelivery.V1.dll

## Constructors

### Variant()

    public Variant()

### Variant(Variant)

    public Variant(Variant other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `Variant` |

## Properties

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. \[Output only\] Create time stamp

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### Labels

    public MapField<string, string> Labels { get; }

Optional. labels to represent any metadata associated with the variant.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `MapFieldstringstring` |   |

### Name

    public string Name { get; set; }

Identifier. Name follows format of
projects/{project}/locations/{location}/resourceBundles/{resource_bundle}/releases/{release}/variants/{variant}

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Resources

    public RepeatedField<string> Resources { get; }

Required. Input only. Unordered list. resources contain the kubernetes
manifests (YAMLs) for this variant.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldstring` |   |

### UpdateTime

    public Timestamp UpdateTime { get; set; }

Output only. \[Output only\] Update time stamp

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### VariantName

    public VariantName VariantName { get; set; }

[VariantName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfigDelivery.V1/latest/Google.Cloud.ConfigDelivery.V1.VariantName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfigDelivery.V1/latest/Google.Cloud.ConfigDelivery.V1.Variant.md.txt#Google_Cloud_ConfigDelivery_V1_Variant_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `VariantName` |   |