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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/recommendationengine_v1beta1/classes.rb,
generated/google/apis/recommendationengine_v1beta1/representations.rb,
generated/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.



878
879
880
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 878

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

Instance Attribute Details

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

The catalog items. Corresponds to the JSON property catalogItems



870
871
872
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 870

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)


876
877
878
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 876

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



883
884
885
886
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 883

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