Skip to content

Commit 1fdfee4

Browse files
feat: Automated regeneration of merchantapi products_v1beta client (googleapis#23681)
Auto-created at 2025-07-13 10:06:50 +0000 using the toys pull request generator.
1 parent 1055726 commit 1fdfee4

File tree

5 files changed

+18
-3
lines changed

5 files changed

+18
-3
lines changed

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278617,6 +278617,8 @@
278617278617
"/merchantapi:products_v1beta/Attributes/googleProductCategory": google_product_category
278618278618
"/merchantapi:products_v1beta/Attributes/gtin": gtin
278619278619
"/merchantapi:products_v1beta/Attributes/gtin/gtin": gtin
278620+
"/merchantapi:products_v1beta/Attributes/gtins": gtins
278621+
"/merchantapi:products_v1beta/Attributes/gtins/gtin": gtin
278620278622
"/merchantapi:products_v1beta/Attributes/identifierExists": identifier_exists
278621278623
"/merchantapi:products_v1beta/Attributes/imageLink": image_link
278622278624
"/merchantapi:products_v1beta/Attributes/includedDestinations": included_destinations

generated/google-apis-merchantapi_products_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_products_v1beta
22

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

59
* Regenerated from discovery document revision 20250621

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,18 @@ class Attributes
238238
attr_accessor :google_product_category
239239

240240
# Global Trade Item Numbers ([GTIN](https://support.google.com/merchants/answer/
241-
# 188494#gtin)) of the item. You can provide up to 10 GTINs.
241+
# 188494#gtin)) of the item. You can provide up to 10 GTINs. Deprecated: Use `
242+
# gtins` instead.
242243
# Corresponds to the JSON property `gtin`
243244
# @return [Array<String>]
244245
attr_accessor :gtin
245246

247+
# Global Trade Item Numbers ([GTIN](https://support.google.com/merchants/answer/
248+
# 188494#gtin)) of the item. You can provide up to 10 GTINs.
249+
# Corresponds to the JSON property `gtins`
250+
# @return [Array<String>]
251+
attr_accessor :gtins
252+
246253
# Set this value to false when the item does not have unique product identifiers
247254
# appropriate to its category, such as GTIN, MPN, and brand. Defaults to true,
248255
# if not provided.
@@ -618,6 +625,7 @@ def update!(**args)
618625
@gender = args[:gender] if args.key?(:gender)
619626
@google_product_category = args[:google_product_category] if args.key?(:google_product_category)
620627
@gtin = args[:gtin] if args.key?(:gtin)
628+
@gtins = args[:gtins] if args.key?(:gtins)
621629
@identifier_exists = args[:identifier_exists] if args.key?(:identifier_exists)
622630
@image_link = args[:image_link] if args.key?(:image_link)
623631
@included_destinations = args[:included_destinations] if args.key?(:included_destinations)

generated/google-apis-merchantapi_products_v1beta/lib/google/apis/merchantapi_products_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 MerchantapiProductsV1beta
1818
# Version of the google-apis-merchantapi_products_v1beta gem
19-
GEM_VERSION = "0.15.0"
19+
GEM_VERSION = "0.16.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_products_v1beta/lib/google/apis/merchantapi_products_v1beta/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
264264
property :gender, as: 'gender'
265265
property :google_product_category, as: 'googleProductCategory'
266266
collection :gtin, as: 'gtin'
267+
collection :gtins, as: 'gtins'
267268
property :identifier_exists, as: 'identifierExists'
268269
property :image_link, as: 'imageLink'
269270
collection :included_destinations, as: 'includedDestinations'

0 commit comments

Comments
 (0)