google-apis-merchantapi_reviews_v1beta 0.8.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5b435080cf5608a50f50c6d281613bc0d4f41bdf9e92ebd9556f14b6829cbe5
|
4
|
+
data.tar.gz: 8a686aab5c61fea728ddcaeed627328cc92a4858dd0cc5c7479c53ef7c16b22e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73a39ff29ebc37a65684e7e29ba68fe96e9bf3a7308b9f12faa3c146b7948b0897afc2b8a2086dc05d186fa703e145f40fb769e72f9975b66c5f703254295be1
|
7
|
+
data.tar.gz: c07a4391ef48b9f71b4f1078a903e5157d48f9f5a4292d4aa01dd0c610bde8aac9a6ca405d17911d24ccd13c94b16fec3e6af13244b42c1d104970c4d8aafa7c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-merchantapi_reviews_v1beta
|
2
2
|
|
3
|
+
### v0.10.0 (2025-07-20)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250716
|
6
|
+
|
7
|
+
### v0.9.0 (2025-07-13)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250710
|
10
|
+
|
3
11
|
### v0.8.0 (2025-06-29)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250621
|
@@ -128,11 +128,6 @@ module Google
|
|
128
128
|
class MerchantReview
|
129
129
|
include Google::Apis::Core::Hashable
|
130
130
|
|
131
|
-
# Attributes.
|
132
|
-
# Corresponds to the JSON property `attributes`
|
133
|
-
# @return [Google::Apis::MerchantapiReviewsV1beta::MerchantReviewAttributes]
|
134
|
-
attr_accessor :attributes
|
135
|
-
|
136
131
|
# Optional. A list of custom (merchant-provided) attributes. It can also be used
|
137
132
|
# for submitting any attribute of the data specification in its generic form (
|
138
133
|
# for example, `` "name": "size type", "value": "regular" ``). This is useful
|
@@ -150,6 +145,11 @@ module Google
|
|
150
145
|
# @return [String]
|
151
146
|
attr_accessor :data_source
|
152
147
|
|
148
|
+
# Attributes.
|
149
|
+
# Corresponds to the JSON property `merchantReviewAttributes`
|
150
|
+
# @return [Google::Apis::MerchantapiReviewsV1beta::MerchantReviewAttributes]
|
151
|
+
attr_accessor :merchant_review_attributes
|
152
|
+
|
153
153
|
# Required. The user provided merchant review ID to uniquely identify the
|
154
154
|
# merchant review.
|
155
155
|
# Corresponds to the JSON property `merchantReviewId`
|
@@ -174,9 +174,9 @@ module Google
|
|
174
174
|
|
175
175
|
# Update properties of this object
|
176
176
|
def update!(**args)
|
177
|
-
@attributes = args[:attributes] if args.key?(:attributes)
|
178
177
|
@custom_attributes = args[:custom_attributes] if args.key?(:custom_attributes)
|
179
178
|
@data_source = args[:data_source] if args.key?(:data_source)
|
179
|
+
@merchant_review_attributes = args[:merchant_review_attributes] if args.key?(:merchant_review_attributes)
|
180
180
|
@merchant_review_id = args[:merchant_review_id] if args.key?(:merchant_review_id)
|
181
181
|
@merchant_review_status = args[:merchant_review_status] if args.key?(:merchant_review_status)
|
182
182
|
@name = args[:name] if args.key?(:name)
|
@@ -478,11 +478,6 @@ module Google
|
|
478
478
|
class ProductReview
|
479
479
|
include Google::Apis::Core::Hashable
|
480
480
|
|
481
|
-
# Attributes.
|
482
|
-
# Corresponds to the JSON property `attributes`
|
483
|
-
# @return [Google::Apis::MerchantapiReviewsV1beta::ProductReviewAttributes]
|
484
|
-
attr_accessor :attributes
|
485
|
-
|
486
481
|
# Optional. A list of custom (merchant-provided) attributes.
|
487
482
|
# Corresponds to the JSON property `customAttributes`
|
488
483
|
# @return [Array<Google::Apis::MerchantapiReviewsV1beta::CustomAttribute>]
|
@@ -499,6 +494,11 @@ module Google
|
|
499
494
|
# @return [String]
|
500
495
|
attr_accessor :name
|
501
496
|
|
497
|
+
# Attributes.
|
498
|
+
# Corresponds to the JSON property `productReviewAttributes`
|
499
|
+
# @return [Google::Apis::MerchantapiReviewsV1beta::ProductReviewAttributes]
|
500
|
+
attr_accessor :product_review_attributes
|
501
|
+
|
502
502
|
# Required. The permanent, unique identifier for the product review in the
|
503
503
|
# publisher’s system.
|
504
504
|
# Corresponds to the JSON property `productReviewId`
|
@@ -516,10 +516,10 @@ module Google
|
|
516
516
|
|
517
517
|
# Update properties of this object
|
518
518
|
def update!(**args)
|
519
|
-
@attributes = args[:attributes] if args.key?(:attributes)
|
520
519
|
@custom_attributes = args[:custom_attributes] if args.key?(:custom_attributes)
|
521
520
|
@data_source = args[:data_source] if args.key?(:data_source)
|
522
521
|
@name = args[:name] if args.key?(:name)
|
522
|
+
@product_review_attributes = args[:product_review_attributes] if args.key?(:product_review_attributes)
|
523
523
|
@product_review_id = args[:product_review_id] if args.key?(:product_review_id)
|
524
524
|
@product_review_status = args[:product_review_status] if args.key?(:product_review_status)
|
525
525
|
end
|
@@ -571,6 +571,12 @@ module Google
|
|
571
571
|
# @return [Array<String>]
|
572
572
|
attr_accessor :gtins
|
573
573
|
|
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
|
+
|
574
580
|
# Optional. Indicates whether the review is marked as spam in the publisher's
|
575
581
|
# system.
|
576
582
|
# Corresponds to the JSON property `isSpam`
|
@@ -578,6 +584,12 @@ module Google
|
|
578
584
|
attr_accessor :is_spam
|
579
585
|
alias_method :is_spam?, :is_spam
|
580
586
|
|
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
|
+
|
581
593
|
# Optional. The maximum possible number for the rating. The value of the max
|
582
594
|
# rating must be greater than the value of the min attribute.
|
583
595
|
# Corresponds to the JSON property `maxRating`
|
@@ -713,7 +725,9 @@ module Google
|
|
713
725
|
@cons = args[:cons] if args.key?(:cons)
|
714
726
|
@content = args[:content] if args.key?(:content)
|
715
727
|
@gtins = args[:gtins] if args.key?(:gtins)
|
728
|
+
@is_incentivized_review = args[:is_incentivized_review] if args.key?(:is_incentivized_review)
|
716
729
|
@is_spam = args[:is_spam] if args.key?(:is_spam)
|
730
|
+
@is_verified_purchase = args[:is_verified_purchase] if args.key?(:is_verified_purchase)
|
717
731
|
@max_rating = args[:max_rating] if args.key?(:max_rating)
|
718
732
|
@min_rating = args[:min_rating] if args.key?(:min_rating)
|
719
733
|
@mpns = args[:mpns] if args.key?(:mpns)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module MerchantapiReviewsV1beta
|
18
18
|
# Version of the google-apis-merchantapi_reviews_v1beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.10.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250716"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -161,11 +161,11 @@ module Google
|
|
161
161
|
class MerchantReview
|
162
162
|
# @private
|
163
163
|
class Representation < Google::Apis::Core::JsonRepresentation
|
164
|
-
property :attributes, as: 'attributes', class: Google::Apis::MerchantapiReviewsV1beta::MerchantReviewAttributes, decorator: Google::Apis::MerchantapiReviewsV1beta::MerchantReviewAttributes::Representation
|
165
|
-
|
166
164
|
collection :custom_attributes, as: 'customAttributes', class: Google::Apis::MerchantapiReviewsV1beta::CustomAttribute, decorator: Google::Apis::MerchantapiReviewsV1beta::CustomAttribute::Representation
|
167
165
|
|
168
166
|
property :data_source, as: 'dataSource'
|
167
|
+
property :merchant_review_attributes, as: 'merchantReviewAttributes', class: Google::Apis::MerchantapiReviewsV1beta::MerchantReviewAttributes, decorator: Google::Apis::MerchantapiReviewsV1beta::MerchantReviewAttributes::Representation
|
168
|
+
|
169
169
|
property :merchant_review_id, as: 'merchantReviewId'
|
170
170
|
property :merchant_review_status, as: 'merchantReviewStatus', class: Google::Apis::MerchantapiReviewsV1beta::MerchantReviewStatus, decorator: Google::Apis::MerchantapiReviewsV1beta::MerchantReviewStatus::Representation
|
171
171
|
|
@@ -241,12 +241,12 @@ module Google
|
|
241
241
|
class ProductReview
|
242
242
|
# @private
|
243
243
|
class Representation < Google::Apis::Core::JsonRepresentation
|
244
|
-
property :attributes, as: 'attributes', class: Google::Apis::MerchantapiReviewsV1beta::ProductReviewAttributes, decorator: Google::Apis::MerchantapiReviewsV1beta::ProductReviewAttributes::Representation
|
245
|
-
|
246
244
|
collection :custom_attributes, as: 'customAttributes', class: Google::Apis::MerchantapiReviewsV1beta::CustomAttribute, decorator: Google::Apis::MerchantapiReviewsV1beta::CustomAttribute::Representation
|
247
245
|
|
248
246
|
property :data_source, as: 'dataSource'
|
249
247
|
property :name, as: 'name'
|
248
|
+
property :product_review_attributes, as: 'productReviewAttributes', class: Google::Apis::MerchantapiReviewsV1beta::ProductReviewAttributes, decorator: Google::Apis::MerchantapiReviewsV1beta::ProductReviewAttributes::Representation
|
249
|
+
|
250
250
|
property :product_review_id, as: 'productReviewId'
|
251
251
|
property :product_review_status, as: 'productReviewStatus', class: Google::Apis::MerchantapiReviewsV1beta::ProductReviewStatus, decorator: Google::Apis::MerchantapiReviewsV1beta::ProductReviewStatus::Representation
|
252
252
|
|
@@ -263,7 +263,9 @@ module Google
|
|
263
263
|
collection :cons, as: 'cons'
|
264
264
|
property :content, as: 'content'
|
265
265
|
collection :gtins, as: 'gtins'
|
266
|
+
property :is_incentivized_review, as: 'isIncentivizedReview'
|
266
267
|
property :is_spam, as: 'isSpam'
|
268
|
+
property :is_verified_purchase, as: 'isVerifiedPurchase'
|
267
269
|
property :max_rating, :numeric_string => true, as: 'maxRating'
|
268
270
|
property :min_rating, :numeric_string => true, as: 'minRating'
|
269
271
|
collection :mpns, as: 'mpns'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-merchantapi_reviews_v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-merchantapi_reviews_v1beta/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_reviews_v1beta/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_reviews_v1beta/v0.10.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-merchantapi_reviews_v1beta
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|