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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecommendationengineV1beta1ListCatalogsResponse

Returns a new instance of GoogleCloudRecommendationengineV1beta1ListCatalogsResponse.



904
905
906
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 904

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



897
898
899
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 897

def catalogs
  @catalogs
end

#next_page_tokenString

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

Returns:

  • (String)


902
903
904
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 902

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



909
910
911
912
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 909

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