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.
Implements
IMessage<ListProductsResponse>, IEquatable<ListProductsResponse>, IDeepCloneable<ListProductsResponse>, IBufferMessage, IMessage, IPageResponse<Product>, IEnumerable<Product>, IEnumerableNamespace
Google.Cloud.Retail.V2Assembly
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 |
RepeatedField<Product> |
Methods
GetEnumerator()
public IEnumerator<Product> GetEnumerator()
Returns an enumerator that iterates through the resources in this response.
Returns | |
---|---|
Type | Description |
IEnumerator<Product> |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
IEnumerator IEnumerable.GetEnumerator()
Returns | |
---|---|
Type | Description |
IEnumerator |