Skip to content

Commit f1ac657

Browse files
feat: Automated regeneration of merchantapi reviews_v1beta client (googleapis#23692)
Auto-created at 2025-07-13 10:23:51 +0000 using the toys pull request generator.
1 parent 9feb125 commit f1ac657

File tree

5 files changed

+24
-2
lines changed

5 files changed

+24
-2
lines changed

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279405,7 +279405,9 @@
279405279405
"/merchantapi:reviews_v1beta/ProductReviewAttributes/content": content
279406279406
"/merchantapi:reviews_v1beta/ProductReviewAttributes/gtins": gtins
279407279407
"/merchantapi:reviews_v1beta/ProductReviewAttributes/gtins/gtin": gtin
279408+
"/merchantapi:reviews_v1beta/ProductReviewAttributes/isIncentivizedReview": is_incentivized_review
279408279409
"/merchantapi:reviews_v1beta/ProductReviewAttributes/isSpam": is_spam
279410+
"/merchantapi:reviews_v1beta/ProductReviewAttributes/isVerifiedPurchase": is_verified_purchase
279409279411
"/merchantapi:reviews_v1beta/ProductReviewAttributes/maxRating": max_rating
279410279412
"/merchantapi:reviews_v1beta/ProductReviewAttributes/minRating": min_rating
279411279413
"/merchantapi:reviews_v1beta/ProductReviewAttributes/mpns": mpns

generated/google-apis-merchantapi_reviews_v1beta/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-merchantapi_reviews_v1beta
22

3+
### v0.9.0 (2025-07-13)
4+
5+
* Regenerated from discovery document revision 20250710
6+
37
### v0.8.0 (2025-06-29)
48

59
* Regenerated from discovery document revision 20250621

generated/google-apis-merchantapi_reviews_v1beta/lib/google/apis/merchantapi_reviews_v1beta/classes.rb

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,13 +571,25 @@ class ProductReviewAttributes
571571
# @return [Array<String>]
572572
attr_accessor :gtins
573573

574+
# Optional. Indicates whether the review is incentivized.
575+
# Corresponds to the JSON property `isIncentivizedReview`
576+
# @return [Boolean]
577+
attr_accessor :is_incentivized_review
578+
alias_method :is_incentivized_review?, :is_incentivized_review
579+
574580
# Optional. Indicates whether the review is marked as spam in the publisher's
575581
# system.
576582
# Corresponds to the JSON property `isSpam`
577583
# @return [Boolean]
578584
attr_accessor :is_spam
579585
alias_method :is_spam?, :is_spam
580586

587+
# Optional. Indicates whether the reviewer's purchase is verified.
588+
# Corresponds to the JSON property `isVerifiedPurchase`
589+
# @return [Boolean]
590+
attr_accessor :is_verified_purchase
591+
alias_method :is_verified_purchase?, :is_verified_purchase
592+
581593
# Optional. The maximum possible number for the rating. The value of the max
582594
# rating must be greater than the value of the min attribute.
583595
# Corresponds to the JSON property `maxRating`
@@ -713,7 +725,9 @@ def update!(**args)
713725
@cons = args[:cons] if args.key?(:cons)
714726
@content = args[:content] if args.key?(:content)
715727
@gtins = args[:gtins] if args.key?(:gtins)
728+
@is_incentivized_review = args[:is_incentivized_review] if args.key?(:is_incentivized_review)
716729
@is_spam = args[:is_spam] if args.key?(:is_spam)
730+
@is_verified_purchase = args[:is_verified_purchase] if args.key?(:is_verified_purchase)
717731
@max_rating = args[:max_rating] if args.key?(:max_rating)
718732
@min_rating = args[:min_rating] if args.key?(:min_rating)
719733
@mpns = args[:mpns] if args.key?(:mpns)

generated/google-apis-merchantapi_reviews_v1beta/lib/google/apis/merchantapi_reviews_v1beta/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module MerchantapiReviewsV1beta
1818
# Version of the google-apis-merchantapi_reviews_v1beta gem
19-
GEM_VERSION = "0.8.0"
19+
GEM_VERSION = "0.9.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250621"
25+
REVISION = "20250710"
2626
end
2727
end
2828
end

generated/google-apis-merchantapi_reviews_v1beta/lib/google/apis/merchantapi_reviews_v1beta/representations.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,9 @@ class Representation < Google::Apis::Core::JsonRepresentation
263263
collection :cons, as: 'cons'
264264
property :content, as: 'content'
265265
collection :gtins, as: 'gtins'
266+
property :is_incentivized_review, as: 'isIncentivizedReview'
266267
property :is_spam, as: 'isSpam'
268+
property :is_verified_purchase, as: 'isVerifiedPurchase'
267269
property :max_rating, :numeric_string => true, as: 'maxRating'
268270
property :min_rating, :numeric_string => true, as: 'minRating'
269271
collection :mpns, as: 'mpns'

0 commit comments

Comments
 (0)