Class: Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1ListRecommendersResponse
- Inherits:
-
Object
- Object
- Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1ListRecommendersResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/recommender_v1beta1/classes.rb,
lib/google/apis/recommender_v1beta1/representations.rb,
lib/google/apis/recommender_v1beta1/representations.rb
Overview
Response for the ListRecommender
method. Next ID: 3
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token, which can be sent as
page_token
to retrieve the next page. -
#recommenders ⇒ Array<Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderType>
The set of recommenders available Corresponds to the JSON property
recommenders
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecommenderV1beta1ListRecommendersResponse
constructor
A new instance of GoogleCloudRecommenderV1beta1ListRecommendersResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecommenderV1beta1ListRecommendersResponse
Returns a new instance of GoogleCloudRecommenderV1beta1ListRecommendersResponse.
513 514 515 |
# File 'lib/google/apis/recommender_v1beta1/classes.rb', line 513 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token, which can be sent as page_token
to retrieve the next page. If this
field is omitted, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
506 507 508 |
# File 'lib/google/apis/recommender_v1beta1/classes.rb', line 506 def next_page_token @next_page_token end |
#recommenders ⇒ Array<Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderType>
The set of recommenders available
Corresponds to the JSON property recommenders
511 512 513 |
# File 'lib/google/apis/recommender_v1beta1/classes.rb', line 511 def recommenders @recommenders end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
518 519 520 521 |
# File 'lib/google/apis/recommender_v1beta1/classes.rb', line 518 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @recommenders = args[:recommenders] if args.key?(:recommenders) end |