google-shopping-merchant-reviews-v1beta 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +122 -0
- data/LICENSE.md +201 -0
- data/README.md +154 -0
- data/lib/google/shopping/merchant/reviews/v1beta/merchant_reviews_service/client.rb +762 -0
- data/lib/google/shopping/merchant/reviews/v1beta/merchant_reviews_service/credentials.rb +49 -0
- data/lib/google/shopping/merchant/reviews/v1beta/merchant_reviews_service/paths.rb +66 -0
- data/lib/google/shopping/merchant/reviews/v1beta/merchant_reviews_service/rest/client.rb +708 -0
- data/lib/google/shopping/merchant/reviews/v1beta/merchant_reviews_service/rest/service_stub.rb +328 -0
- data/lib/google/shopping/merchant/reviews/v1beta/merchant_reviews_service/rest.rb +54 -0
- data/lib/google/shopping/merchant/reviews/v1beta/merchant_reviews_service.rb +57 -0
- data/lib/google/shopping/merchant/reviews/v1beta/merchantreviews_common_pb.rb +54 -0
- data/lib/google/shopping/merchant/reviews/v1beta/merchantreviews_pb.rb +59 -0
- data/lib/google/shopping/merchant/reviews/v1beta/merchantreviews_services_pb.rb +54 -0
- data/lib/google/shopping/merchant/reviews/v1beta/product_reviews_service/client.rb +757 -0
- data/lib/google/shopping/merchant/reviews/v1beta/product_reviews_service/credentials.rb +49 -0
- data/lib/google/shopping/merchant/reviews/v1beta/product_reviews_service/paths.rb +66 -0
- data/lib/google/shopping/merchant/reviews/v1beta/product_reviews_service/rest/client.rb +703 -0
- data/lib/google/shopping/merchant/reviews/v1beta/product_reviews_service/rest/service_stub.rb +328 -0
- data/lib/google/shopping/merchant/reviews/v1beta/product_reviews_service/rest.rb +54 -0
- data/lib/google/shopping/merchant/reviews/v1beta/product_reviews_service.rb +57 -0
- data/lib/google/shopping/merchant/reviews/v1beta/productreviews_common_pb.rb +56 -0
- data/lib/google/shopping/merchant/reviews/v1beta/productreviews_pb.rb +59 -0
- data/lib/google/shopping/merchant/reviews/v1beta/productreviews_services_pb.rb +53 -0
- data/lib/google/shopping/merchant/reviews/v1beta/rest.rb +40 -0
- data/lib/google/shopping/merchant/reviews/v1beta/version.rb +30 -0
- data/lib/google/shopping/merchant/reviews/v1beta.rb +48 -0
- data/lib/google-shopping-merchant-reviews-v1beta.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +459 -0
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +227 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +34 -0
- data/proto_docs/google/protobuf/timestamp.rb +127 -0
- data/proto_docs/google/shopping/merchant/reviews/v1beta/merchantreviews.rb +142 -0
- data/proto_docs/google/shopping/merchant/reviews/v1beta/merchantreviews_common.rb +187 -0
- data/proto_docs/google/shopping/merchant/reviews/v1beta/productreviews.rb +129 -0
- data/proto_docs/google/shopping/merchant/reviews/v1beta/productreviews_common.rb +266 -0
- data/proto_docs/google/shopping/type/types.rb +210 -0
- metadata +152 -0
@@ -0,0 +1,266 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Shopping
|
22
|
+
module Merchant
|
23
|
+
module Reviews
|
24
|
+
module V1beta
|
25
|
+
# Attributes.
|
26
|
+
# @!attribute [rw] aggregator_name
|
27
|
+
# @return [::String]
|
28
|
+
# Optional. The name of the aggregator of the product reviews.
|
29
|
+
#
|
30
|
+
# A publisher may use a reviews aggregator to manage reviews and provide
|
31
|
+
# the feeds. This element indicates the use of an aggregator and contains
|
32
|
+
# information about the aggregator.
|
33
|
+
# @!attribute [rw] subclient_name
|
34
|
+
# @return [::String]
|
35
|
+
# Optional. The name of the subclient of the product reviews.
|
36
|
+
#
|
37
|
+
# The subclient is an identifier of the product review source.
|
38
|
+
# It should be equivalent to the directory provided in the file data source
|
39
|
+
# path.
|
40
|
+
# @!attribute [rw] publisher_name
|
41
|
+
# @return [::String]
|
42
|
+
# Optional. The name of the publisher of the product reviews.
|
43
|
+
#
|
44
|
+
# The information about the publisher, which may be a retailer,
|
45
|
+
# manufacturer, reviews service company, or any entity that publishes
|
46
|
+
# product reviews.
|
47
|
+
# @!attribute [rw] publisher_favicon
|
48
|
+
# @return [::String]
|
49
|
+
# Optional. A link to the company favicon of the publisher. The image
|
50
|
+
# dimensions should be favicon size: 16x16 pixels. The image format should be
|
51
|
+
# GIF, JPG or PNG.
|
52
|
+
# @!attribute [rw] reviewer_id
|
53
|
+
# @return [::String]
|
54
|
+
# Optional. The author of the product review.
|
55
|
+
#
|
56
|
+
# A permanent, unique identifier for the author of the review in the
|
57
|
+
# publisher's system.
|
58
|
+
# @!attribute [rw] reviewer_is_anonymous
|
59
|
+
# @return [::Boolean]
|
60
|
+
# Optional. Set to true if the reviewer should remain anonymous.
|
61
|
+
# @!attribute [rw] reviewer_username
|
62
|
+
# @return [::String]
|
63
|
+
# Optional. The name of the reviewer of the product review.
|
64
|
+
# @!attribute [rw] review_language
|
65
|
+
# @return [::String]
|
66
|
+
# Optional. The language of the review defined by BCP-47 language code.
|
67
|
+
# @!attribute [rw] review_country
|
68
|
+
# @return [::String]
|
69
|
+
# Optional. The country of the review defined by ISO 3166-1 Alpha-2 Country
|
70
|
+
# Code.
|
71
|
+
# @!attribute [rw] review_time
|
72
|
+
# @return [::Google::Protobuf::Timestamp]
|
73
|
+
# Required. The timestamp indicating when the review was written.
|
74
|
+
# @!attribute [rw] title
|
75
|
+
# @return [::String]
|
76
|
+
# Optional. The title of the review.
|
77
|
+
# @!attribute [rw] content
|
78
|
+
# @return [::String]
|
79
|
+
# Required. The content of the review.
|
80
|
+
# @!attribute [rw] pros
|
81
|
+
# @return [::Array<::String>]
|
82
|
+
# Optional. Contains the advantages based on the opinion of the reviewer.
|
83
|
+
# Omit boilerplate text like "pro:" unless it was written by the reviewer.
|
84
|
+
# @!attribute [rw] cons
|
85
|
+
# @return [::Array<::String>]
|
86
|
+
# Optional. Contains the disadvantages based on the opinion of the reviewer.
|
87
|
+
# Omit boilerplate text like "con:" unless it was written by the reviewer.
|
88
|
+
# @!attribute [rw] review_link
|
89
|
+
# @return [::Google::Shopping::Merchant::Reviews::V1beta::ProductReviewAttributes::ReviewLink]
|
90
|
+
# Optional. The URI of the review landing page.
|
91
|
+
# @!attribute [rw] reviewer_image_links
|
92
|
+
# @return [::Array<::String>]
|
93
|
+
# Optional. A URI to an image of the reviewed product created by the review
|
94
|
+
# author. The URI does not have to end with an image file extension.
|
95
|
+
# @!attribute [rw] min_rating
|
96
|
+
# @return [::Integer]
|
97
|
+
# Optional. Contains the ratings associated with the review.
|
98
|
+
# The minimum possible number for the rating. This should be the worst
|
99
|
+
# possible rating and should not be a value for no rating.
|
100
|
+
# @!attribute [rw] max_rating
|
101
|
+
# @return [::Integer]
|
102
|
+
# Optional. The maximum possible number for the rating. The value of the max
|
103
|
+
# rating must be greater than the value of the min attribute.
|
104
|
+
# @!attribute [rw] rating
|
105
|
+
# @return [::Float]
|
106
|
+
# Optional. The reviewer's overall rating of the product.
|
107
|
+
# @!attribute [rw] product_names
|
108
|
+
# @return [::Array<::String>]
|
109
|
+
# Optional. Descriptive name of a product.
|
110
|
+
# @!attribute [rw] product_links
|
111
|
+
# @return [::Array<::String>]
|
112
|
+
# Optional. The URI of the product. This URI can have the same value as the
|
113
|
+
# `review_link` element, if the review URI and the product URI are the
|
114
|
+
# same.
|
115
|
+
# @!attribute [rw] asins
|
116
|
+
# @return [::Array<::String>]
|
117
|
+
# Optional. Contains ASINs (Amazon Standard Identification Numbers)
|
118
|
+
# associated with a product.
|
119
|
+
# @!attribute [rw] gtins
|
120
|
+
# @return [::Array<::String>]
|
121
|
+
# Optional. Contains GTINs (global trade item numbers) associated with a
|
122
|
+
# product. Sub-types of GTINs (e.g. UPC, EAN, ISBN, JAN) are supported.
|
123
|
+
# @!attribute [rw] mpns
|
124
|
+
# @return [::Array<::String>]
|
125
|
+
# Optional. Contains MPNs (manufacturer part numbers) associated with a
|
126
|
+
# product.
|
127
|
+
# @!attribute [rw] skus
|
128
|
+
# @return [::Array<::String>]
|
129
|
+
# Optional. Contains SKUs (stock keeping units) associated with a product.
|
130
|
+
# Often this matches the product Offer Id in the product feed.
|
131
|
+
# @!attribute [rw] brands
|
132
|
+
# @return [::Array<::String>]
|
133
|
+
# Optional. Contains brand names associated with a product.
|
134
|
+
# @!attribute [rw] is_spam
|
135
|
+
# @return [::Boolean]
|
136
|
+
# Optional. Indicates whether the review is marked as spam in the publisher's
|
137
|
+
# system.
|
138
|
+
# @!attribute [rw] collection_method
|
139
|
+
# @return [::Google::Shopping::Merchant::Reviews::V1beta::ProductReviewAttributes::CollectionMethod]
|
140
|
+
# Optional. The method used to collect the review.
|
141
|
+
# @!attribute [rw] transaction_id
|
142
|
+
# @return [::String]
|
143
|
+
# Optional. A permanent, unique identifier for the transaction associated
|
144
|
+
# with the review in the publisher's system. This ID can be used to indicate
|
145
|
+
# that multiple reviews are associated with the same transaction.
|
146
|
+
class ProductReviewAttributes
|
147
|
+
include ::Google::Protobuf::MessageExts
|
148
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
149
|
+
|
150
|
+
# The URI of the review landing page.
|
151
|
+
# @!attribute [rw] type
|
152
|
+
# @return [::Google::Shopping::Merchant::Reviews::V1beta::ProductReviewAttributes::ReviewLink::Type]
|
153
|
+
# Optional. Type of the review URI.
|
154
|
+
# @!attribute [rw] link
|
155
|
+
# @return [::String]
|
156
|
+
# Optional. The URI of the review landing page.
|
157
|
+
# For example: `http://www.example.com/review_5.html`.
|
158
|
+
class ReviewLink
|
159
|
+
include ::Google::Protobuf::MessageExts
|
160
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
161
|
+
|
162
|
+
# Type of the review URI.
|
163
|
+
module Type
|
164
|
+
# Type unspecified.
|
165
|
+
TYPE_UNSPECIFIED = 0
|
166
|
+
|
167
|
+
# The review page contains only this single review.
|
168
|
+
SINGLETON = 1
|
169
|
+
|
170
|
+
# The review page contains a group of reviews including this review.
|
171
|
+
GROUP = 2
|
172
|
+
end
|
173
|
+
end
|
174
|
+
|
175
|
+
# The method used to collect the review.
|
176
|
+
module CollectionMethod
|
177
|
+
# Collection method unspecified.
|
178
|
+
COLLECTION_METHOD_UNSPECIFIED = 0
|
179
|
+
|
180
|
+
# The user was not responding to a specific solicitation when they
|
181
|
+
# submitted the review.
|
182
|
+
UNSOLICITED = 1
|
183
|
+
|
184
|
+
# The user submitted the review in response to a solicitation after
|
185
|
+
# fulfillment of the user's order.
|
186
|
+
POST_FULFILLMENT = 2
|
187
|
+
end
|
188
|
+
end
|
189
|
+
|
190
|
+
# Product review status.
|
191
|
+
# @!attribute [r] destination_statuses
|
192
|
+
# @return [::Array<::Google::Shopping::Merchant::Reviews::V1beta::ProductReviewStatus::ProductReviewDestinationStatus>]
|
193
|
+
# Output only. The intended destinations for the product review.
|
194
|
+
# @!attribute [r] item_level_issues
|
195
|
+
# @return [::Array<::Google::Shopping::Merchant::Reviews::V1beta::ProductReviewStatus::ProductReviewItemLevelIssue>]
|
196
|
+
# Output only. A list of all issues associated with the product review.
|
197
|
+
# @!attribute [r] create_time
|
198
|
+
# @return [::Google::Protobuf::Timestamp]
|
199
|
+
# Output only. Date on which the item has been created, in [ISO
|
200
|
+
# 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
|
201
|
+
# @!attribute [r] last_update_time
|
202
|
+
# @return [::Google::Protobuf::Timestamp]
|
203
|
+
# Output only. Date on which the item has been last updated, in [ISO
|
204
|
+
# 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
|
205
|
+
class ProductReviewStatus
|
206
|
+
include ::Google::Protobuf::MessageExts
|
207
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
208
|
+
|
209
|
+
# The destination status of the product review status.
|
210
|
+
# @!attribute [r] reporting_context
|
211
|
+
# @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum]
|
212
|
+
# Output only. The name of the reporting context.
|
213
|
+
class ProductReviewDestinationStatus
|
214
|
+
include ::Google::Protobuf::MessageExts
|
215
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
216
|
+
end
|
217
|
+
|
218
|
+
# The ItemLevelIssue of the product review status.
|
219
|
+
# @!attribute [r] code
|
220
|
+
# @return [::String]
|
221
|
+
# Output only. The error code of the issue.
|
222
|
+
# @!attribute [r] severity
|
223
|
+
# @return [::Google::Shopping::Merchant::Reviews::V1beta::ProductReviewStatus::ProductReviewItemLevelIssue::Severity]
|
224
|
+
# Output only. How this issue affects serving of the product review.
|
225
|
+
# @!attribute [r] resolution
|
226
|
+
# @return [::String]
|
227
|
+
# Output only. Whether the issue can be resolved by the merchant.
|
228
|
+
# @!attribute [r] attribute
|
229
|
+
# @return [::String]
|
230
|
+
# Output only. The attribute's name, if the issue is caused by a single
|
231
|
+
# attribute.
|
232
|
+
# @!attribute [r] reporting_context
|
233
|
+
# @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum]
|
234
|
+
# Output only. The reporting context the issue applies to.
|
235
|
+
# @!attribute [r] description
|
236
|
+
# @return [::String]
|
237
|
+
# Output only. A short issue description in English.
|
238
|
+
# @!attribute [r] detail
|
239
|
+
# @return [::String]
|
240
|
+
# Output only. A detailed issue description in English.
|
241
|
+
# @!attribute [r] documentation
|
242
|
+
# @return [::String]
|
243
|
+
# Output only. The URL of a web page to help with resolving this issue.
|
244
|
+
class ProductReviewItemLevelIssue
|
245
|
+
include ::Google::Protobuf::MessageExts
|
246
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
247
|
+
|
248
|
+
# How the issue affects the serving of the product review.
|
249
|
+
module Severity
|
250
|
+
# Not specified.
|
251
|
+
SEVERITY_UNSPECIFIED = 0
|
252
|
+
|
253
|
+
# This issue represents a warning and does not have a direct affect
|
254
|
+
# on the product review.
|
255
|
+
NOT_IMPACTED = 1
|
256
|
+
|
257
|
+
# Issue disapproves the product review.
|
258
|
+
DISAPPROVED = 2
|
259
|
+
end
|
260
|
+
end
|
261
|
+
end
|
262
|
+
end
|
263
|
+
end
|
264
|
+
end
|
265
|
+
end
|
266
|
+
end
|
@@ -0,0 +1,210 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Shopping
|
22
|
+
module Type
|
23
|
+
# The weight represented as the value in string and the unit.
|
24
|
+
# @!attribute [rw] amount_micros
|
25
|
+
# @return [::Integer]
|
26
|
+
# Required. The weight represented as a number in micros (1 million micros is
|
27
|
+
# an equivalent to one's currency standard unit, for example, 1 kg = 1000000
|
28
|
+
# micros).
|
29
|
+
# This field can also be set as infinity by setting to -1.
|
30
|
+
# This field only support -1 and positive value.
|
31
|
+
# @!attribute [rw] unit
|
32
|
+
# @return [::Google::Shopping::Type::Weight::WeightUnit]
|
33
|
+
# Required. The weight unit.
|
34
|
+
# Acceptable values are: kg and lb
|
35
|
+
class Weight
|
36
|
+
include ::Google::Protobuf::MessageExts
|
37
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
38
|
+
|
39
|
+
# The weight unit.
|
40
|
+
module WeightUnit
|
41
|
+
# unit unspecified
|
42
|
+
WEIGHT_UNIT_UNSPECIFIED = 0
|
43
|
+
|
44
|
+
# lb unit.
|
45
|
+
POUND = 1
|
46
|
+
|
47
|
+
# kg unit.
|
48
|
+
KILOGRAM = 2
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
# The price represented as a number and currency.
|
53
|
+
# @!attribute [rw] amount_micros
|
54
|
+
# @return [::Integer]
|
55
|
+
# The price represented as a number in micros (1 million micros is an
|
56
|
+
# equivalent to one's currency standard unit, for example, 1 USD = 1000000
|
57
|
+
# micros).
|
58
|
+
# @!attribute [rw] currency_code
|
59
|
+
# @return [::String]
|
60
|
+
# The currency of the price using three-letter acronyms according to [ISO
|
61
|
+
# 4217](http://en.wikipedia.org/wiki/ISO_4217).
|
62
|
+
class Price
|
63
|
+
include ::Google::Protobuf::MessageExts
|
64
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
65
|
+
end
|
66
|
+
|
67
|
+
# A message that represents custom attributes. Exactly one of `value` or
|
68
|
+
# `group_values` must not be empty.
|
69
|
+
# @!attribute [rw] name
|
70
|
+
# @return [::String]
|
71
|
+
# The name of the attribute.
|
72
|
+
# @!attribute [rw] value
|
73
|
+
# @return [::String]
|
74
|
+
# The value of the attribute. If `value` is not empty, `group_values` must be
|
75
|
+
# empty.
|
76
|
+
# @!attribute [rw] group_values
|
77
|
+
# @return [::Array<::Google::Shopping::Type::CustomAttribute>]
|
78
|
+
# Subattributes within this attribute group. If
|
79
|
+
# `group_values` is not empty, `value` must be empty.
|
80
|
+
class CustomAttribute
|
81
|
+
include ::Google::Protobuf::MessageExts
|
82
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
83
|
+
end
|
84
|
+
|
85
|
+
# Destinations available for a product.
|
86
|
+
#
|
87
|
+
# Destinations are used in Merchant Center to allow you to control where the
|
88
|
+
# products from your data feed should be displayed.
|
89
|
+
class Destination
|
90
|
+
include ::Google::Protobuf::MessageExts
|
91
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
92
|
+
|
93
|
+
# Destination values.
|
94
|
+
module DestinationEnum
|
95
|
+
# Not specified.
|
96
|
+
DESTINATION_ENUM_UNSPECIFIED = 0
|
97
|
+
|
98
|
+
# [Shopping ads](https://support.google.com/google-ads/answer/2454022).
|
99
|
+
SHOPPING_ADS = 1
|
100
|
+
|
101
|
+
# [Display ads](https://support.google.com/merchants/answer/6069387).
|
102
|
+
DISPLAY_ADS = 2
|
103
|
+
|
104
|
+
# [Local inventory
|
105
|
+
# ads](https://support.google.com/merchants/answer/3057972).
|
106
|
+
LOCAL_INVENTORY_ADS = 3
|
107
|
+
|
108
|
+
# [Free listings](https://support.google.com/merchants/answer/9199328).
|
109
|
+
FREE_LISTINGS = 4
|
110
|
+
|
111
|
+
# [Free local product
|
112
|
+
# listings](https://support.google.com/merchants/answer/9825611).
|
113
|
+
FREE_LOCAL_LISTINGS = 5
|
114
|
+
|
115
|
+
# [YouTube Shopping](https://support.google.com/merchants/answer/12362804).
|
116
|
+
YOUTUBE_SHOPPING = 6
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
120
|
+
# Reporting contexts that your account and product issues apply to.
|
121
|
+
#
|
122
|
+
# Reporting contexts are groups of surfaces and formats for product results on
|
123
|
+
# Google. They can represent the entire destination (for example, [Shopping
|
124
|
+
# ads](https://support.google.com/merchants/answer/6149970)) or a subset of
|
125
|
+
# formats within a destination (for example, [Demand Gen
|
126
|
+
# ads](https://support.google.com/merchants/answer/13389785)).
|
127
|
+
class ReportingContext
|
128
|
+
include ::Google::Protobuf::MessageExts
|
129
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
130
|
+
|
131
|
+
# Reporting context values.
|
132
|
+
module ReportingContextEnum
|
133
|
+
# Not specified.
|
134
|
+
REPORTING_CONTEXT_ENUM_UNSPECIFIED = 0
|
135
|
+
|
136
|
+
# [Shopping ads](https://support.google.com/merchants/answer/6149970).
|
137
|
+
SHOPPING_ADS = 1
|
138
|
+
|
139
|
+
# Deprecated: Use `DEMAND_GEN_ADS` instead.
|
140
|
+
# [Discovery and Demand Gen
|
141
|
+
# ads](https://support.google.com/merchants/answer/13389785).
|
142
|
+
DISCOVERY_ADS = 2
|
143
|
+
|
144
|
+
# [Demand Gen ads](https://support.google.com/merchants/answer/13389785).
|
145
|
+
DEMAND_GEN_ADS = 13
|
146
|
+
|
147
|
+
# [Demand Gen ads on Discover
|
148
|
+
# surface](https://support.google.com/merchants/answer/13389785).
|
149
|
+
DEMAND_GEN_ADS_DISCOVER_SURFACE = 14
|
150
|
+
|
151
|
+
# [Video ads](https://support.google.com/google-ads/answer/6340491).
|
152
|
+
VIDEO_ADS = 3
|
153
|
+
|
154
|
+
# [Display ads](https://support.google.com/merchants/answer/6069387).
|
155
|
+
DISPLAY_ADS = 4
|
156
|
+
|
157
|
+
# [Local inventory
|
158
|
+
# ads](https://support.google.com/merchants/answer/3271956).
|
159
|
+
LOCAL_INVENTORY_ADS = 5
|
160
|
+
|
161
|
+
# [Vehicle inventory
|
162
|
+
# ads](https://support.google.com/merchants/answer/11544533).
|
163
|
+
VEHICLE_INVENTORY_ADS = 6
|
164
|
+
|
165
|
+
# [Free product
|
166
|
+
# listings](https://support.google.com/merchants/answer/9199328).
|
167
|
+
FREE_LISTINGS = 7
|
168
|
+
|
169
|
+
# [Free local product
|
170
|
+
# listings](https://support.google.com/merchants/answer/9825611).
|
171
|
+
FREE_LOCAL_LISTINGS = 8
|
172
|
+
|
173
|
+
# [Free local vehicle
|
174
|
+
# listings](https://support.google.com/merchants/answer/11544533).
|
175
|
+
FREE_LOCAL_VEHICLE_LISTINGS = 9
|
176
|
+
|
177
|
+
# [YouTube
|
178
|
+
# Shopping](https://support.google.com/merchants/answer/13478370).
|
179
|
+
YOUTUBE_SHOPPING = 10
|
180
|
+
|
181
|
+
# [Cloud retail](https://cloud.google.com/solutions/retail).
|
182
|
+
CLOUD_RETAIL = 11
|
183
|
+
|
184
|
+
# [Local cloud retail](https://cloud.google.com/solutions/retail).
|
185
|
+
LOCAL_CLOUD_RETAIL = 12
|
186
|
+
end
|
187
|
+
end
|
188
|
+
|
189
|
+
# [Channel](https://support.google.com/merchants/answer/7361332) of a product.
|
190
|
+
#
|
191
|
+
# Channel is used to distinguish between online and local products.
|
192
|
+
class Channel
|
193
|
+
include ::Google::Protobuf::MessageExts
|
194
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
195
|
+
|
196
|
+
# Channel values.
|
197
|
+
module ChannelEnum
|
198
|
+
# Not specified.
|
199
|
+
CHANNEL_ENUM_UNSPECIFIED = 0
|
200
|
+
|
201
|
+
# Online product.
|
202
|
+
ONLINE = 1
|
203
|
+
|
204
|
+
# Local product.
|
205
|
+
LOCAL = 2
|
206
|
+
end
|
207
|
+
end
|
208
|
+
end
|
209
|
+
end
|
210
|
+
end
|
metadata
ADDED
@@ -0,0 +1,152 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: google-shopping-merchant-reviews-v1beta
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Google LLC
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2025-01-08 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: gapic-common
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.24.0
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.24.0
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 2.a
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: google-cloud-errors
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '1.0'
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '1.0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: google-shopping-type
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0.0'
|
54
|
+
- - "<"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 2.a
|
57
|
+
type: :runtime
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0.0'
|
64
|
+
- - "<"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 2.a
|
67
|
+
description: 'Merchant API consists of multiple Sub-APIs. Accounts Sub-API: Enables
|
68
|
+
you to programmatically manage your accounts. Conversions Sub-API: Enables you to
|
69
|
+
programmatically manage your conversion sources for a merchant account. Datasources
|
70
|
+
Sub-API: Enables you to programmatically manage your datasources. Inventories Sub-API:
|
71
|
+
This bundle enables you to programmatically manage your local and regional inventories.
|
72
|
+
Local Feeds Partnerships Sub-API: This bundle enables LFP partners to submit local
|
73
|
+
inventories for a merchant. Notifications Sub-API: This bundle enables you to programmatically
|
74
|
+
manage your notification subscriptions. Products Sub-API: This bundle enables you
|
75
|
+
to programmatically manage your products. Promotions Sub-API: This bundle enables
|
76
|
+
you to programmatically manage your promotions for products. Quota Sub-API: This
|
77
|
+
bundle enables you to list your quotas for all APIs you are using. Reports Sub-API:
|
78
|
+
This bundle enables you to programmatically retrieve reports and insights about
|
79
|
+
products, their performance and their competitive environment. Note that google-shopping-merchant-reviews-v1beta
|
80
|
+
is a version-specific client library. For most uses, we recommend installing the
|
81
|
+
main client library google-shopping-merchant-reviews instead. See the readme for
|
82
|
+
more details.'
|
83
|
+
email: googleapis-packages@google.com
|
84
|
+
executables: []
|
85
|
+
extensions: []
|
86
|
+
extra_rdoc_files: []
|
87
|
+
files:
|
88
|
+
- ".yardopts"
|
89
|
+
- AUTHENTICATION.md
|
90
|
+
- LICENSE.md
|
91
|
+
- README.md
|
92
|
+
- lib/google-shopping-merchant-reviews-v1beta.rb
|
93
|
+
- lib/google/shopping/merchant/reviews/v1beta.rb
|
94
|
+
- lib/google/shopping/merchant/reviews/v1beta/merchant_reviews_service.rb
|
95
|
+
- lib/google/shopping/merchant/reviews/v1beta/merchant_reviews_service/client.rb
|
96
|
+
- lib/google/shopping/merchant/reviews/v1beta/merchant_reviews_service/credentials.rb
|
97
|
+
- lib/google/shopping/merchant/reviews/v1beta/merchant_reviews_service/paths.rb
|
98
|
+
- lib/google/shopping/merchant/reviews/v1beta/merchant_reviews_service/rest.rb
|
99
|
+
- lib/google/shopping/merchant/reviews/v1beta/merchant_reviews_service/rest/client.rb
|
100
|
+
- lib/google/shopping/merchant/reviews/v1beta/merchant_reviews_service/rest/service_stub.rb
|
101
|
+
- lib/google/shopping/merchant/reviews/v1beta/merchantreviews_common_pb.rb
|
102
|
+
- lib/google/shopping/merchant/reviews/v1beta/merchantreviews_pb.rb
|
103
|
+
- lib/google/shopping/merchant/reviews/v1beta/merchantreviews_services_pb.rb
|
104
|
+
- lib/google/shopping/merchant/reviews/v1beta/product_reviews_service.rb
|
105
|
+
- lib/google/shopping/merchant/reviews/v1beta/product_reviews_service/client.rb
|
106
|
+
- lib/google/shopping/merchant/reviews/v1beta/product_reviews_service/credentials.rb
|
107
|
+
- lib/google/shopping/merchant/reviews/v1beta/product_reviews_service/paths.rb
|
108
|
+
- lib/google/shopping/merchant/reviews/v1beta/product_reviews_service/rest.rb
|
109
|
+
- lib/google/shopping/merchant/reviews/v1beta/product_reviews_service/rest/client.rb
|
110
|
+
- lib/google/shopping/merchant/reviews/v1beta/product_reviews_service/rest/service_stub.rb
|
111
|
+
- lib/google/shopping/merchant/reviews/v1beta/productreviews_common_pb.rb
|
112
|
+
- lib/google/shopping/merchant/reviews/v1beta/productreviews_pb.rb
|
113
|
+
- lib/google/shopping/merchant/reviews/v1beta/productreviews_services_pb.rb
|
114
|
+
- lib/google/shopping/merchant/reviews/v1beta/rest.rb
|
115
|
+
- lib/google/shopping/merchant/reviews/v1beta/version.rb
|
116
|
+
- proto_docs/README.md
|
117
|
+
- proto_docs/google/api/client.rb
|
118
|
+
- proto_docs/google/api/field_behavior.rb
|
119
|
+
- proto_docs/google/api/launch_stage.rb
|
120
|
+
- proto_docs/google/api/resource.rb
|
121
|
+
- proto_docs/google/protobuf/duration.rb
|
122
|
+
- proto_docs/google/protobuf/empty.rb
|
123
|
+
- proto_docs/google/protobuf/timestamp.rb
|
124
|
+
- proto_docs/google/shopping/merchant/reviews/v1beta/merchantreviews.rb
|
125
|
+
- proto_docs/google/shopping/merchant/reviews/v1beta/merchantreviews_common.rb
|
126
|
+
- proto_docs/google/shopping/merchant/reviews/v1beta/productreviews.rb
|
127
|
+
- proto_docs/google/shopping/merchant/reviews/v1beta/productreviews_common.rb
|
128
|
+
- proto_docs/google/shopping/type/types.rb
|
129
|
+
homepage: https://github.com/googleapis/google-cloud-ruby
|
130
|
+
licenses:
|
131
|
+
- Apache-2.0
|
132
|
+
metadata: {}
|
133
|
+
post_install_message:
|
134
|
+
rdoc_options: []
|
135
|
+
require_paths:
|
136
|
+
- lib
|
137
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
138
|
+
requirements:
|
139
|
+
- - ">="
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '2.7'
|
142
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - ">="
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '0'
|
147
|
+
requirements: []
|
148
|
+
rubygems_version: 3.5.23
|
149
|
+
signing_key:
|
150
|
+
specification_version: 4
|
151
|
+
summary: Programmatically manage your Merchant Center Accounts.
|
152
|
+
test_files: []
|