# Config Delivery v1beta API - Class ListVariantsResponse (1.0.0-beta01)

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

Reference documentation and code samples for the Config Delivery v1beta API class ListVariantsResponse.

Message for response to listing Variants

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ListVariantsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfigDelivery.V1Beta/latest/Google.Cloud.ConfigDelivery.V1Beta.ListVariantsResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListVariantsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfigDelivery.V1Beta/latest/Google.Cloud.ConfigDelivery.V1Beta.ListVariantsResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ListVariantsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfigDelivery.V1Beta/latest/Google.Cloud.ConfigDelivery.V1Beta.ListVariantsResponse), [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), [IPageResponse](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.IPageResponse-1.html)[Variant](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfigDelivery.V1Beta/latest/Google.Cloud.ConfigDelivery.V1Beta.Variant), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)[Variant](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfigDelivery.V1Beta/latest/Google.Cloud.ConfigDelivery.V1Beta.Variant), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.ienumerable)

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

## Assembly

Google.Cloud.ConfigDelivery.V1Beta.dll

## Constructors

### ListVariantsResponse()

    public ListVariantsResponse()

### ListVariantsResponse(ListVariantsResponse)

    public ListVariantsResponse(ListVariantsResponse other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfigDelivery.V1Beta/latest/Google.Cloud.ConfigDelivery.V1Beta.ListVariantsResponse` |

## Properties

### NextPageToken

    public string NextPageToken { get; set; }

A token identifying a page of results the server should return.

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

### Unreachable

    public RepeatedField<string> Unreachable { get; }

Unordered list. Locations that could not be reached.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### Variants

    public RepeatedField<Variant> Variants { get; }

The list of Variants

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfigDelivery.V1Beta/latest/Google.Cloud.ConfigDelivery.V1Beta.Variant` |   |

## Methods

### GetEnumerator()

    public IEnumerator<Variant> GetEnumerator()

Returns an enumerator that iterates through the resources in this response.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerator-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfigDelivery.V1Beta/latest/Google.Cloud.ConfigDelivery.V1Beta.Variant` |   |