Class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ListCatalogItemsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/recommendationengine_v1beta1/classes.rb,
lib/google/apis/recommendationengine_v1beta1/representations.rb,
lib/google/apis/recommendationengine_v1beta1/representations.rb

Overview

Response message for ListCatalogItems method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecommendationengineV1beta1ListCatalogItemsResponse

Returns a new instance of GoogleCloudRecommendationengineV1beta1ListCatalogItemsResponse.



879
880
881
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 879

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#catalog_itemsArray<Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1CatalogItem>

The catalog items. Corresponds to the JSON property catalogItems



871
872
873
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 871

def catalog_items
  @catalog_items
end

#next_page_tokenString

If empty, the list is complete. If nonempty, the token to pass to the next request's ListCatalogItemRequest.page_token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


877
878
879
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 877

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



884
885
886
887
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 884

def update!(**args)
  @catalog_items = args[:catalog_items] if args.key?(:catalog_items)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end