Skip to content

Commit 2bb4f83

Browse files
feat: Automated regeneration of merchantapi reviews_v1beta client (googleapis#22004)
Auto-created at 2025-03-09 10:08:23 +0000 using the toys pull request generator.
1 parent affa24f commit 2bb4f83

File tree

3 files changed

+22
-10
lines changed

3 files changed

+22
-10
lines changed

generated/google-apis-merchantapi_reviews_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_reviews_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_reviews_v1beta/lib/google/apis/merchantapi_reviews_v1beta/classes.rb

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

434-
# The new value of the changed resource or attribute.
434+
# The new value of the changed resource or attribute. If empty, it means that
435+
# the product was deleted. Will have one of these values : (`approved`, `pending`
436+
# , `disapproved`, ``)
435437
# Corresponds to the JSON property `newValue`
436438
# @return [String]
437439
attr_accessor :new_value
438440

439-
# The old value of the changed resource or attribute.
441+
# The old value of the changed resource or attribute. If empty, it means that
442+
# the product was created. Will have one of these values : (`approved`, `pending`
443+
# , `disapproved`, ``)
440444
# Corresponds to the JSON property `oldValue`
441445
# @return [String]
442446
attr_accessor :old_value
443447

444-
# Countries that have the change (if applicable)
448+
# Countries that have the change (if applicable). Represented in the ISO 3166
449+
# format.
445450
# Corresponds to the JSON property `regionCode`
446451
# @return [String]
447452
attr_accessor :region_code
448453

449-
# Reporting contexts that have the change (if applicable)
454+
# Reporting contexts that have the change (if applicable). Currently this field
455+
# supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `
456+
# YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [
457+
# ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/
458+
# ReportingContextEnum)
450459
# Corresponds to the JSON property `reportingContext`
451460
# @return [String]
452461
attr_accessor :reporting_context
@@ -875,8 +884,8 @@ class ProductStatusChangeMessage
875884
# @return [String]
876885
attr_accessor :event_time
877886

878-
# The product expiration time. This field will not bet set if the notification
879-
# is sent for a product deletion event.
887+
# Optional. The product expiration time. This field will not bet set if the
888+
# notification is sent for a product deletion event.
880889
# Corresponds to the JSON property `expirationTime`
881890
# @return [String]
882891
attr_accessor :expiration_time
@@ -887,8 +896,7 @@ class ProductStatusChangeMessage
887896
# @return [String]
888897
attr_accessor :managing_account
889898

890-
# The product name. Format: ``product.name=accounts/`account`/products/`product``
891-
# `
899+
# The product name. Format: `accounts/`account`/products/`product``
892900
# Corresponds to the JSON property `resource`
893901
# @return [String]
894902
attr_accessor :resource

generated/google-apis-merchantapi_reviews_v1beta/lib/google/apis/merchantapi_reviews_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 MerchantapiReviewsV1beta
1818
# Version of the google-apis-merchantapi_reviews_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)