Artifact Registry v1 API - Class ListPackagesResponse (2.2.0)

public sealed class ListPackagesResponse : IPageResponse<Package>, IEnumerable<Package>, IEnumerable, IMessage<ListPackagesResponse>, IEquatable<ListPackagesResponse>, IDeepCloneable<ListPackagesResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the Artifact Registry v1 API class ListPackagesResponse.

The response from listing packages.

Inheritance

object > ListPackagesResponse

Namespace

GoogleCloudGoogle.Cloud.ArtifactRegistryV1

Assembly

Google.Cloud.ArtifactRegistry.V1.dll

Constructors

ListPackagesResponse()

public ListPackagesResponse()

ListPackagesResponse(ListPackagesResponse)

public ListPackagesResponse(ListPackagesResponse other)
Parameter
NameDescription
otherListPackagesResponse

Properties

NextPageToken

public string NextPageToken { get; set; }

The token to retrieve the next page of packages, or empty if there are no more packages to return.

Property Value
TypeDescription
string

Packages

public RepeatedField<Package> Packages { get; }

The packages returned.

Property Value
TypeDescription
RepeatedFieldPackage

Methods

GetEnumerator()

public IEnumerator<Package> GetEnumerator()

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

Returns
TypeDescription
IEnumeratorPackage

Explicit Interface Implementations

IEnumerable.GetEnumerator()

IEnumerator IEnumerable.GetEnumerator()
Returns
TypeDescription
IEnumerator