Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::ListProductsResponse.
Response message for ProductService.ListProducts method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#next_page_token
def next_page_token() -> ::String
Returns
- (::String) — 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.
#next_page_token=
def next_page_token=(value) -> ::String
Parameter
- value (::String) — 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.
Returns
- (::String) — 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.
#products
def products() -> ::Array<::Google::Cloud::Retail::V2::Product>
Returns
- (::Array<::Google::Cloud::Retail::V2::Product>) — The {::Google::Cloud::Retail::V2::Product Product}s.
#products=
def products=(value) -> ::Array<::Google::Cloud::Retail::V2::Product>
Parameter
- value (::Array<::Google::Cloud::Retail::V2::Product>) — The {::Google::Cloud::Retail::V2::Product Product}s.
Returns
- (::Array<::Google::Cloud::Retail::V2::Product>) — The {::Google::Cloud::Retail::V2::Product Product}s.