Retail v2 API - Class ListProductsResponse (2.9.0)

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

Reference documentation and code samples for the Retail v2 API class ListProductsResponse.

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
Name Description
other ListProductsResponse

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
Type Description
string

Products

public RepeatedField<Product> Products { get; }

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

Property Value
Type Description
RepeatedFieldProduct

Methods

GetEnumerator()

public IEnumerator<Product> GetEnumerator()

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

Returns
Type Description
IEnumeratorProduct