Class ListProductsResponse (1.5.0)

public sealed class ListProductsResponse : IMessage<ListProductsResponse>, IEquatable<ListProductsResponse>, IDeepCloneable<ListProductsResponse>, IBufferMessage, IMessage, IPageResponse<Product>, IEnumerable<Product>, IEnumerable

Response message for [ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts] method.

Inheritance

Object > ListProductsResponse

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

ListProductsResponse()

public ListProductsResponse()

ListProductsResponse(ListProductsResponse)

public ListProductsResponse(ListProductsResponse other)
Parameter
NameDescription
otherListProductsResponse

Properties

NextPageToken

public string NextPageToken { get; set; }

A token that can be sent as [ListProductsRequest.page_token][google.cloud.retail.v2.ListProductsRequest.page_token] to retrieve the next page. If this field is omitted, there are no subsequent pages.

Property Value
TypeDescription
String

Products

public RepeatedField<Product> Products { get; }

The [Product][google.cloud.retail.v2.Product]s.

Property Value
TypeDescription
RepeatedField<Product>

Methods

GetEnumerator()

public IEnumerator<Product> GetEnumerator()

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

Returns
TypeDescription
IEnumerator<Product>

Explicit Interface Implementations

IEnumerable.GetEnumerator()

IEnumerator IEnumerable.GetEnumerator()
Returns
TypeDescription
IEnumerator