Skip to content

Commit 1fff406

Browse files
feat: Automated regeneration of merchantapi promotions_v1beta client (googleapis#22032)
Auto-created at 2025-03-09 10:34:32 +0000 using the toys pull request generator.
1 parent eecb92e commit 1fff406

File tree

3 files changed

+22
-10
lines changed

3 files changed

+22
-10
lines changed

generated/google-apis-merchantapi_promotions_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_promotions_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_promotions_v1beta/lib/google/apis/merchantapi_promotions_v1beta/classes.rb

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

558-
# The new value of the changed resource or attribute.
558+
# The new value of the changed resource or attribute. If empty, it means that
559+
# the product was deleted. Will have one of these values : (`approved`, `pending`
560+
# , `disapproved`, ``)
559561
# Corresponds to the JSON property `newValue`
560562
# @return [String]
561563
attr_accessor :new_value
562564

563-
# The old value of the changed resource or attribute.
565+
# The old value of the changed resource or attribute. If empty, it means that
566+
# the product was created. Will have one of these values : (`approved`, `pending`
567+
# , `disapproved`, ``)
564568
# Corresponds to the JSON property `oldValue`
565569
# @return [String]
566570
attr_accessor :old_value
567571

568-
# Countries that have the change (if applicable)
572+
# Countries that have the change (if applicable). Represented in the ISO 3166
573+
# format.
569574
# Corresponds to the JSON property `regionCode`
570575
# @return [String]
571576
attr_accessor :region_code
572577

573-
# Reporting contexts that have the change (if applicable)
578+
# Reporting contexts that have the change (if applicable). Currently this field
579+
# supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `
580+
# YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [
581+
# ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/
582+
# ReportingContextEnum)
574583
# Corresponds to the JSON property `reportingContext`
575584
# @return [String]
576585
attr_accessor :reporting_context
@@ -615,8 +624,8 @@ class ProductStatusChangeMessage
615624
# @return [String]
616625
attr_accessor :event_time
617626

618-
# The product expiration time. This field will not bet set if the notification
619-
# is sent for a product deletion event.
627+
# Optional. The product expiration time. This field will not bet set if the
628+
# notification is sent for a product deletion event.
620629
# Corresponds to the JSON property `expirationTime`
621630
# @return [String]
622631
attr_accessor :expiration_time
@@ -627,8 +636,7 @@ class ProductStatusChangeMessage
627636
# @return [String]
628637
attr_accessor :managing_account
629638

630-
# The product name. Format: ``product.name=accounts/`account`/products/`product``
631-
# `
639+
# The product name. Format: `accounts/`account`/products/`product``
632640
# Corresponds to the JSON property `resource`
633641
# @return [String]
634642
attr_accessor :resource

generated/google-apis-merchantapi_promotions_v1beta/lib/google/apis/merchantapi_promotions_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 MerchantapiPromotionsV1beta
1818
# Version of the google-apis-merchantapi_promotions_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)