Class: Google::Apis::MerchantapiReviewsV1beta::ListProductReviewsResponse
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiReviewsV1beta::ListProductReviewsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/merchantapi_reviews_v1beta/classes.rb,
lib/google/apis/merchantapi_reviews_v1beta/representations.rb,
lib/google/apis/merchantapi_reviews_v1beta/representations.rb
Overview
response message for the ListProductReviews method.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token, which can be sent as
page_token
to retrieve the next page. -
#product_reviews ⇒ Array<Google::Apis::MerchantapiReviewsV1beta::ProductReview>
The product review.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListProductReviewsResponse
constructor
A new instance of ListProductReviewsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListProductReviewsResponse
Returns a new instance of ListProductReviewsResponse.
115 116 117 |
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 115 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
108 109 110 |
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 108 def next_page_token @next_page_token end |
#product_reviews ⇒ Array<Google::Apis::MerchantapiReviewsV1beta::ProductReview>
The product review.
Corresponds to the JSON property productReviews
113 114 115 |
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 113 def product_reviews @product_reviews end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
120 121 122 123 |
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 120 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @product_reviews = args[:product_reviews] if args.key?(:product_reviews) end |