Class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ListCatalogItemsResponse
- Inherits:
-
Object
- Object
- Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ListCatalogItemsResponse
- 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
-
#catalog_items ⇒ Array<Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1CatalogItem>
The catalog items.
-
#next_page_token ⇒ String
If empty, the list is complete.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecommendationengineV1beta1ListCatalogItemsResponse
constructor
A new instance of GoogleCloudRecommendationengineV1beta1ListCatalogItemsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_items ⇒ Array<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_token ⇒ String
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
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 |