API hub v1 API - Class ListVersionsResponse (1.0.0-beta01)

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 > ListVersionsResponse

Namespace

Google.Cloud.ApiHub.V1

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