class Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaListProductsResponse
Response message for ProductService.ListProducts method.
Attributes
A token that can be sent as ListProductsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property `nextPageToken` @return [String]
The Products. Corresponds to the JSON property `products` @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProduct>]
The total count of matched Products irrespective of pagination. The total number of Products returned by pagination may be less than the total_size
that matches. This field is ignored if ListProductsRequest.require_total_size is not set or ListProductsRequest.page_token is not empty. Corresponds to the JSON property `totalSize` @return [Fixnum]
Public Class Methods
# File lib/google/apis/retail_v2alpha/classes.rb, line 1683 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/retail_v2alpha/classes.rb, line 1688 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @products = args[:products] if args.key?(:products) @total_size = args[:total_size] if args.key?(:total_size) end