Skip to content

Commit cc6aadb

Browse files
feat: Automated regeneration of merchantapi inventories_v1beta client (googleapis#22029)
Auto-created at 2025-03-09 10:32:34 +0000 using the toys pull request generator.
1 parent 8cb1989 commit cc6aadb

File tree

3 files changed

+22
-10
lines changed

3 files changed

+22
-10
lines changed

generated/google-apis-merchantapi_inventories_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_inventories_v1beta
22

3+
### v0.4.0 (2025-03-09)
4+
5+
* Regenerated from discovery document revision 20250301
6+
37
### v0.3.0 (2025-02-26)
48

59
* Regenerated from discovery document revision 20250219

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

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -295,22 +295,31 @@ def update!(**args)
295295
class ProductChange
296296
include Google::Apis::Core::Hashable
297297

298-
# The new value of the changed resource or attribute.
298+
# The new value of the changed resource or attribute. If empty, it means that
299+
# the product was deleted. Will have one of these values : (`approved`, `pending`
300+
# , `disapproved`, ``)
299301
# Corresponds to the JSON property `newValue`
300302
# @return [String]
301303
attr_accessor :new_value
302304

303-
# The old value of the changed resource or attribute.
305+
# The old value of the changed resource or attribute. If empty, it means that
306+
# the product was created. Will have one of these values : (`approved`, `pending`
307+
# , `disapproved`, ``)
304308
# Corresponds to the JSON property `oldValue`
305309
# @return [String]
306310
attr_accessor :old_value
307311

308-
# Countries that have the change (if applicable)
312+
# Countries that have the change (if applicable). Represented in the ISO 3166
313+
# format.
309314
# Corresponds to the JSON property `regionCode`
310315
# @return [String]
311316
attr_accessor :region_code
312317

313-
# Reporting contexts that have the change (if applicable)
318+
# Reporting contexts that have the change (if applicable). Currently this field
319+
# supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `
320+
# YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [
321+
# ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/
322+
# ReportingContextEnum)
314323
# Corresponds to the JSON property `reportingContext`
315324
# @return [String]
316325
attr_accessor :reporting_context
@@ -355,8 +364,8 @@ class ProductStatusChangeMessage
355364
# @return [String]
356365
attr_accessor :event_time
357366

358-
# The product expiration time. This field will not bet set if the notification
359-
# is sent for a product deletion event.
367+
# Optional. The product expiration time. This field will not bet set if the
368+
# notification is sent for a product deletion event.
360369
# Corresponds to the JSON property `expirationTime`
361370
# @return [String]
362371
attr_accessor :expiration_time
@@ -367,8 +376,7 @@ class ProductStatusChangeMessage
367376
# @return [String]
368377
attr_accessor :managing_account
369378

370-
# The product name. Format: ``product.name=accounts/`account`/products/`product``
371-
# `
379+
# The product name. Format: `accounts/`account`/products/`product``
372380
# Corresponds to the JSON property `resource`
373381
# @return [String]
374382
attr_accessor :resource

generated/google-apis-merchantapi_inventories_v1beta/lib/google/apis/merchantapi_inventories_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 MerchantapiInventoriesV1beta
1818
# Version of the google-apis-merchantapi_inventories_v1beta gem
19-
GEM_VERSION = "0.3.0"
19+
GEM_VERSION = "0.4.0"
2020

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

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

0 commit comments

Comments
 (0)