Skip to content

Commit 7d2b44d

Browse files
feat: Automated regeneration of merchantapi products_v1beta client (googleapis#23370)
Auto-created at 2025-06-08 10:43:24 +0000 using the toys pull request generator.
1 parent 770eab4 commit 7d2b44d

File tree

4 files changed

+101
-57
lines changed

4 files changed

+101
-57
lines changed

generated/google-apis-merchantapi_products_v1beta/CHANGELOG.md

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

3+
### v0.13.0 (2025-06-08)
4+
5+
* Regenerated from discovery document revision 20250605
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.12.0 (2025-05-04)
49

510
* Regenerated from discovery document revision 20250427

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

Lines changed: 85 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ class Attributes
3232
attr_accessor :additional_image_links
3333

3434
# Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise.
35+
# For more information, see [Display ads attribute](https://support.google.com/
36+
# merchants/answer/6069387).
3537
# Corresponds to the JSON property `adsGrouping`
3638
# @return [String]
3739
attr_accessor :ads_grouping
@@ -64,7 +66,8 @@ class Attributes
6466
# @return [Google::Apis::MerchantapiProductsV1beta::Price]
6567
attr_accessor :auto_pricing_min_price
6668

67-
# Availability status of the item.
69+
# [Availability](https://support.google.com/merchants/answer/6324448) status of
70+
# the item. For example, "in_stock" or "out_of_stock".
6871
# Corresponds to the JSON property `availability`
6972
# @return [String]
7073
attr_accessor :availability
@@ -75,7 +78,8 @@ class Attributes
7578
# @return [String]
7679
attr_accessor :availability_date
7780

78-
# Brand of the item.
81+
# [Brand](https://support.google.com/merchants/answer/6324351) of the item. For
82+
# example, "Google".
7983
# Corresponds to the JSON property `brand`
8084
# @return [String]
8185
attr_accessor :brand
@@ -98,12 +102,14 @@ class Attributes
98102
# @return [Array<Google::Apis::MerchantapiProductsV1beta::CloudExportAdditionalProperties>]
99103
attr_accessor :cloud_export_additional_properties
100104

101-
# Color of the item.
105+
# [Color](https://support.google.com/merchants/answer/6324487) of the item. For
106+
# example, "red".
102107
# Corresponds to the JSON property `color`
103108
# @return [String]
104109
attr_accessor :color
105110

106-
# Condition or state of the item.
111+
# [Condition](https://support.google.com/merchants/answer/6324469) or state of
112+
# the item. For example, "new" or "used".
107113
# Corresponds to the JSON property `condition`
108114
# @return [String]
109115
attr_accessor :condition
@@ -113,27 +119,32 @@ class Attributes
113119
# @return [Google::Apis::MerchantapiProductsV1beta::Price]
114120
attr_accessor :cost_of_goods_sold
115121

116-
# Custom label 0 for custom grouping of items in a Shopping campaign.
122+
# [Custom label 0](https://support.google.com/merchants/answer/6324473) for
123+
# custom grouping of items in a Shopping campaign.
117124
# Corresponds to the JSON property `customLabel0`
118125
# @return [String]
119126
attr_accessor :custom_label0
120127

121-
# Custom label 1 for custom grouping of items in a Shopping campaign.
128+
# [Custom label 1](https://support.google.com/merchants/answer/6324473) for
129+
# custom grouping of items in a Shopping campaign.
122130
# Corresponds to the JSON property `customLabel1`
123131
# @return [String]
124132
attr_accessor :custom_label1
125133

126-
# Custom label 2 for custom grouping of items in a Shopping campaign.
134+
# [Custom label 2](https://support.google.com/merchants/answer/6324473) for
135+
# custom grouping of items in a Shopping campaign.
127136
# Corresponds to the JSON property `customLabel2`
128137
# @return [String]
129138
attr_accessor :custom_label2
130139

131-
# Custom label 3 for custom grouping of items in a Shopping campaign.
140+
# [Custom label 3](https://support.google.com/merchants/answer/6324473) for
141+
# custom grouping of items in a Shopping campaign.
132142
# Corresponds to the JSON property `customLabel3`
133143
# @return [String]
134144
attr_accessor :custom_label3
135145

136-
# Custom label 4 for custom grouping of items in a Shopping campaign.
146+
# [Custom label 4](https://support.google.com/merchants/answer/6324473) for
147+
# custom grouping of items in a Shopping campaign.
137148
# Corresponds to the JSON property `customLabel4`
138149
# @return [String]
139150
attr_accessor :custom_label4
@@ -145,7 +156,7 @@ class Attributes
145156

146157
# The date time when an offer becomes visible in search results across Google’s
147158
# YouTube surfaces, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
148-
# See [Disclosure date]( https://support.google.com/merchants/answer/13034208)
159+
# See [Disclosure date](https://support.google.com/merchants/answer/13034208)
149160
# for more information.
150161
# Corresponds to the JSON property `disclosureDate`
151162
# @return [String]
@@ -161,7 +172,8 @@ class Attributes
161172
# @return [String]
162173
attr_accessor :display_ads_link
163174

164-
# Advertiser-specified recommendations.
175+
# Advertiser-specified recommendations. For more information, see [Display ads
176+
# attribute specification](https://support.google.com/merchants/answer/6069387).
165177
# Corresponds to the JSON property `displayAdsSimilarIds`
166178
# @return [Array<String>]
167179
attr_accessor :display_ads_similar_ids
@@ -171,7 +183,8 @@ class Attributes
171183
# @return [String]
172184
attr_accessor :display_ads_title
173185

174-
# Offer margin for dynamic remarketing campaigns.
186+
# Offer margin for dynamic remarketing campaigns. For more information, see [
187+
# Display ads attribute](https://support.google.com/merchants/answer/6069387).
175188
# Corresponds to the JSON property `displayAdsValue`
176189
# @return [Float]
177190
attr_accessor :display_ads_value
@@ -182,7 +195,10 @@ class Attributes
182195
attr_accessor :energy_efficiency_class
183196

184197
# The list of destinations to exclude for this target (corresponds to unchecked
185-
# check boxes in Merchant Center).
198+
# check boxes in Merchant Center). For more information, see [Excluded
199+
# destination](https://support.google.com/merchants/answer/6324486). Note: We
200+
# recommend setting destinations on datasources level for most use cases. Use
201+
# this field within products to only setup exceptions.
186202
# Corresponds to the JSON property `excludedDestinations`
187203
# @return [Array<String>]
188204
attr_accessor :excluded_destinations
@@ -207,7 +223,8 @@ class Attributes
207223
# @return [Array<Google::Apis::MerchantapiProductsV1beta::FreeShippingThreshold>]
208224
attr_accessor :free_shipping_threshold
209225

210-
# Target gender of the item.
226+
# Target [gender](https://support.google.com/merchants/answer/6324479) of the
227+
# item. For example, "male" or "female".
211228
# Corresponds to the JSON property `gender`
212229
# @return [String]
213230
attr_accessor :gender
@@ -241,7 +258,10 @@ class Attributes
241258

242259
# The list of destinations to include for this target (corresponds to checked
243260
# check boxes in Merchant Center). Default destinations are always included
244-
# unless provided in `excludedDestinations`.
261+
# unless provided in `excludedDestinations`. For more information, see [Included
262+
# destination](https://support.google.com/merchants/answer/7501026). Note: We
263+
# recommend setting destinations on datasources level for most use cases. Use
264+
# this field within products to only setup exceptions.
245265
# Corresponds to the JSON property `includedDestinations`
246266
# @return [Array<String>]
247267
attr_accessor :included_destinations
@@ -251,8 +271,9 @@ class Attributes
251271
# @return [Google::Apis::MerchantapiProductsV1beta::Installment]
252272
attr_accessor :installment
253273

254-
# Whether the item is a merchant-defined bundle. A bundle is a custom grouping
255-
# of different products sold by a merchant for a single price.
274+
# Whether the item is a business-defined sub-API. A [sub-API] (https://support.
275+
# google.com/merchants/answer/6324449) is a custom grouping of different
276+
# products sold by a business for a single price.
256277
# Corresponds to the JSON property `isBundle`
257278
# @return [Boolean]
258279
attr_accessor :is_bundle
@@ -276,7 +297,8 @@ class Attributes
276297
# @return [String]
277298
attr_accessor :link
278299

279-
# Link template for merchant hosted local storefront.
300+
# [Link template](https://support.google.com/merchants/answer/13871172) for
301+
# business hosted local storefront.
280302
# Corresponds to the JSON property `linkTemplate`
281303
# @return [String]
282304
attr_accessor :link_template
@@ -292,7 +314,8 @@ class Attributes
292314
# @return [Array<Google::Apis::MerchantapiProductsV1beta::LoyaltyProgram>]
293315
attr_accessor :loyalty_programs
294316

295-
# The material of which the item is made.
317+
# The [material](https://support.google.com/merchants/answer/6324410) of which
318+
# the item is made. For example, "Leather" or "Cotton".
296319
# Corresponds to the JSON property `material`
297320
# @return [String]
298321
attr_accessor :material
@@ -322,8 +345,8 @@ class Attributes
322345
# @return [String]
323346
attr_accessor :mobile_link
324347

325-
# Link template for merchant hosted local storefront optimized for mobile
326-
# devices.
348+
# [Link template](https://support.google.com/merchants/answer/13870216) for
349+
# business hosted local storefront optimized for mobile devices.
327350
# Corresponds to the JSON property `mobileLinkTemplate`
328351
# @return [String]
329352
attr_accessor :mobile_link_template
@@ -334,12 +357,13 @@ class Attributes
334357
# @return [String]
335358
attr_accessor :mpn
336359

337-
# The number of identical products in a merchant-defined multipack.
360+
# The number of identical products in a business-defined multipack.
338361
# Corresponds to the JSON property `multipack`
339362
# @return [Fixnum]
340363
attr_accessor :multipack
341364

342-
# The item's pattern (for example, polka dots).
365+
# The item's [pattern](https://support.google.com/merchants/answer/6324483). For
366+
# example, polka dots.
343367
# Corresponds to the JSON property `pattern`
344368
# @return [String]
345369
attr_accessor :pattern
@@ -350,12 +374,14 @@ class Attributes
350374
# @return [String]
351375
attr_accessor :pause
352376

353-
# The pick up option for the item.
377+
# The [pickup](https://support.google.com/merchants/answer/14634021) option for
378+
# the item.
354379
# Corresponds to the JSON property `pickupMethod`
355380
# @return [String]
356381
attr_accessor :pickup_method
357382

358-
# Item store pickup timeline.
383+
# Item store pickup timeline. For more information, see [Pickup SLA](https://
384+
# support.google.com/merchants/answer/14635400).
359385
# Corresponds to the JSON property `pickupSla`
360386
# @return [String]
361387
attr_accessor :pickup_sla
@@ -375,7 +401,8 @@ class Attributes
375401
# @return [Google::Apis::MerchantapiProductsV1beta::ProductDimension]
376402
attr_accessor :product_height
377403

378-
# Bullet points describing the most relevant highlights of a product.
404+
# Bullet points describing the most relevant [product highlights](https://
405+
# support.google.com/merchants/answer/9216100).
379406
# Corresponds to the JSON property `productHighlights`
380407
# @return [Array<String>]
381408
attr_accessor :product_highlights
@@ -386,7 +413,7 @@ class Attributes
386413
attr_accessor :product_length
387414

388415
# Categories of the item (formatted as in [product data specification](https://
389-
# support.google.com/merchants/answer/188494#product_type)).
416+
# support.google.com/merchants/answer/7052112#product_category)).
390417
# Corresponds to the JSON property `productTypes`
391418
# @return [Array<String>]
392419
attr_accessor :product_types
@@ -456,28 +483,32 @@ class Attributes
456483
# @return [Google::Apis::MerchantapiProductsV1beta::ShippingDimension]
457484
attr_accessor :shipping_width
458485

459-
# List of country codes (ISO 3166-1 alpha-2) to exclude the offer from Shopping
460-
# Ads destination. Countries from this list are removed from countries
461-
# configured in data source settings.
486+
# List of country codes [(ISO 3166-1 alpha-2)](https://en.wikipedia.org/wiki/
487+
# ISO_3166-1_alpha-2) to exclude the offer from Shopping Ads destination.
488+
# Countries from this list are removed from countries configured in data source
489+
# settings.
462490
# Corresponds to the JSON property `shoppingAdsExcludedCountries`
463491
# @return [Array<String>]
464492
attr_accessor :shopping_ads_excluded_countries
465493

466494
# Size of the item. Only one value is allowed. For variants with different sizes,
467-
# insert a separate product for each size with the same `itemGroupId` value (
468-
# see [https://support.google.com/merchants/answer/6324492](size definition)).
495+
# insert a separate product for each size with the same `itemGroupId` value,
496+
# see [Size](https://support.google.com/merchants/answer/6324492).
469497
# Corresponds to the JSON property `size`
470498
# @return [String]
471499
attr_accessor :size
472500

473-
# System in which the size is specified. Recommended for apparel items.
501+
# System in which the size is specified. Recommended for apparel items. For
502+
# example, "US", "UK", "DE". For more information, see [Size system](https://
503+
# support.google.com/merchants/answer/6324502).
474504
# Corresponds to the JSON property `sizeSystem`
475505
# @return [String]
476506
attr_accessor :size_system
477507

478508
# The cut of the item. It can be used to represent combined size types for
479-
# apparel items. Maximum two of size types can be provided (see [https://support.
480-
# google.com/merchants/answer/6324497](size type)).
509+
# apparel items. Maximum two of size types can be provided, see [Size type](
510+
# https://support.google.com/merchants/answer/6324497). For example, "petite", "
511+
# plus size".
481512
# Corresponds to the JSON property `sizeTypes`
482513
# @return [Array<String>]
483514
attr_accessor :size_types
@@ -502,7 +533,8 @@ class Attributes
502533
# @return [Array<Google::Apis::MerchantapiProductsV1beta::ProductSustainabilityIncentive>]
503534
attr_accessor :sustainability_incentives
504535

505-
# The tax category of the product.
536+
# The [tax category](https://support.google.com/merchants/answer/7569847) of the
537+
# product.
506538
# Corresponds to the JSON property `taxCategory`
507539
# @return [String]
508540
attr_accessor :tax_category
@@ -1005,7 +1037,7 @@ class ItemLevelIssue
10051037
# @return [String]
10061038
attr_accessor :reporting_context
10071039

1008-
# Whether the issue can be resolved by the merchant.
1040+
# Whether the issue can be resolved by the business.
10091041
# Corresponds to the JSON property `resolution`
10101042
# @return [String]
10111043
attr_accessor :resolution
@@ -1121,10 +1153,10 @@ class LoyaltyProgram
11211153
attr_accessor :price
11221154

11231155
# The label of the loyalty program. This is an internal label that uniquely
1124-
# identifies the relationship between a merchant entity and a loyalty program
1156+
# identifies the relationship between a business entity and a loyalty program
11251157
# entity. The label must be provided so that the system can associate the assets
1126-
# below (for example, price and points) with a merchant. The corresponding
1127-
# program must be linked to the merchant account.
1158+
# below (for example, price and points) with a business. The corresponding
1159+
# program must be linked to the Merchant Center account.
11281160
# Corresponds to the JSON property `programLabel`
11291161
# @return [String]
11301162
attr_accessor :program_label
@@ -1399,13 +1431,14 @@ def update!(**args)
13991431
# This resource represents input data you submit for a product, not the
14001432
# processed product that you see in Merchant Center, in Shopping ads, or across
14011433
# Google surfaces. Product inputs, rules and supplemental data source data are
1402-
# combined to create the processed Product. Required product input attributes to
1403-
# pass data validation checks are primarily defined in the [Products Data
1404-
# Specification](https://support.google.com/merchants/answer/188494). The
1405-
# following attributes are required: feedLabel, contentLanguage and offerId.
1406-
# After inserting, updating, or deleting a product input, it may take several
1407-
# minutes before the processed product can be retrieved. All fields in the
1408-
# product input and its sub-messages match the English name of their
1434+
# combined to create the processed Product. For more information, see [Manage
1435+
# products](/merchant/api/guides/products/overview). Required product input
1436+
# attributes to pass data validation checks are primarily defined in the [
1437+
# Products Data Specification](https://support.google.com/merchants/answer/
1438+
# 188494). The following attributes are required: feedLabel, contentLanguage and
1439+
# offerId. After inserting, updating, or deleting a product input, it may take
1440+
# several minutes before the processed product can be retrieved. All fields in
1441+
# the product input and its sub-messages match the English name of their
14091442
# corresponding attribute in the [Products Data Specification](https://support.
14101443
# google.com/merchants/answer/188494) with [some exceptions](https://support.
14111444
# google.com/merchants/answer/7052112). The following reference documentation
@@ -1443,8 +1476,11 @@ class ProductInput
14431476
# @return [Array<Google::Apis::MerchantapiProductsV1beta::CustomAttribute>]
14441477
attr_accessor :custom_attributes
14451478

1446-
# Required. Immutable. The [feed label](https://developers.google.com/shopping-
1447-
# content/guides/products/feed-labels) for the product.
1479+
# Required. Immutable. The label that lets you categorize and identify your
1480+
# products. The maximum allowed characters are 20, and the supported characters
1481+
# are `A-Z`, `0-9`, hyphen, and underscore. The feed label must not include any
1482+
# spaces. For more information, see [Using feed labels](//support.google.com/
1483+
# merchants/answer/14994087).
14481484
# Corresponds to the JSON property `feedLabel`
14491485
# @return [String]
14501486
attr_accessor :feed_label

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module MerchantapiProductsV1beta
1818
# Version of the google-apis-merchantapi_products_v1beta gem
19-
GEM_VERSION = "0.12.0"
19+
GEM_VERSION = "0.13.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.17.0"
22+
GENERATOR_VERSION = "0.18.0"
2323

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

0 commit comments

Comments
 (0)