Class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ListCatalogsResponse

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 for ListCatalogs method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecommendationengineV1beta1ListCatalogsResponse

Returns a new instance of GoogleCloudRecommendationengineV1beta1ListCatalogsResponse.



903
904
905
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 903

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

Instance Attribute Details

#catalogsArray<Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1Catalog>

Output only. All the customer's catalogs. Corresponds to the JSON property catalogs



896
897
898
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 896

def catalogs
  @catalogs
end

#next_page_tokenString

Pagination token, if not returned indicates the last page. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


901
902
903
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 901

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



908
909
910
911
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 908

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