1.2.0 (latest) 1.1.0 1.0.0

    public sealed class ListVersionsResponse : IPageResponse<Version>, IEnumerable<Version>, IEnumerable, IMessage<ListVersionsResponse>, IEquatable<ListVersionsResponse>, IDeepCloneable<ListVersionsResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the API hub v1 API class ListVersionsResponse.

The \[ListVersions\]\[google.cloud.apihub.v1.ApiHub.ListVersions\] method's
response.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.ApiHub.V1.dll

## Constructors

### ListVersionsResponse()

    public ListVersionsResponse()

### ListVersionsResponse(ListVersionsResponse)

    public ListVersionsResponse(ListVersionsResponse other)

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

## Properties

### NextPageToken

    public string NextPageToken { get; set; }

A token, which can be sent as `page_token` to retrieve the next page.
If this field is omitted, there are no subsequent pages.

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

### Versions

    public RepeatedField<Version> Versions { get; }

The versions corresponding to an API.

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

## Methods

### GetEnumerator()

    public IEnumerator<Version> GetEnumerator()

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IEnumeratorVersion` |   |