class Google::Apis::RetailV2beta::GoogleCloudRetailV2betaListProductsResponse
Response message for ProductService.ListProducts method.
Attributes
next_page_token[RW]
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]
products[RW]
The Products. Corresponds to the JSON property `products` @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProduct>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/retail_v2beta/classes.rb, line 2109 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/retail_v2beta/classes.rb, line 2114 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @products = args[:products] if args.key?(:products) end