Skip to content

Commit 2a1c6ae

Browse files
feat: Automated regeneration of merchantapi accounts_v1beta client (googleapis#21994)
Auto-created at 2025-03-09 09:56:09 +0000 using the toys pull request generator.
1 parent 04b9801 commit 2a1c6ae

File tree

3 files changed

+22
-10
lines changed

3 files changed

+22
-10
lines changed

generated/google-apis-merchantapi_accounts_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_accounts_v1beta
22

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

59
* Regenerated from discovery document revision 20250220

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

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

1919-
# The new value of the changed resource or attribute.
1919+
# The new value of the changed resource or attribute. If empty, it means that
1920+
# the product was deleted. Will have one of these values : (`approved`, `pending`
1921+
# , `disapproved`, ``)
19201922
# Corresponds to the JSON property `newValue`
19211923
# @return [String]
19221924
attr_accessor :new_value
19231925

1924-
# The old value of the changed resource or attribute.
1926+
# The old value of the changed resource or attribute. If empty, it means that
1927+
# the product was created. Will have one of these values : (`approved`, `pending`
1928+
# , `disapproved`, ``)
19251929
# Corresponds to the JSON property `oldValue`
19261930
# @return [String]
19271931
attr_accessor :old_value
19281932

1929-
# Countries that have the change (if applicable)
1933+
# Countries that have the change (if applicable). Represented in the ISO 3166
1934+
# format.
19301935
# Corresponds to the JSON property `regionCode`
19311936
# @return [String]
19321937
attr_accessor :region_code
19331938

1934-
# Reporting contexts that have the change (if applicable)
1939+
# Reporting contexts that have the change (if applicable). Currently this field
1940+
# supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `
1941+
# YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [
1942+
# ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/
1943+
# ReportingContextEnum)
19351944
# Corresponds to the JSON property `reportingContext`
19361945
# @return [String]
19371946
attr_accessor :reporting_context
@@ -1976,8 +1985,8 @@ class ProductStatusChangeMessage
19761985
# @return [String]
19771986
attr_accessor :event_time
19781987

1979-
# The product expiration time. This field will not bet set if the notification
1980-
# is sent for a product deletion event.
1988+
# Optional. The product expiration time. This field will not bet set if the
1989+
# notification is sent for a product deletion event.
19811990
# Corresponds to the JSON property `expirationTime`
19821991
# @return [String]
19831992
attr_accessor :expiration_time
@@ -1988,8 +1997,7 @@ class ProductStatusChangeMessage
19881997
# @return [String]
19891998
attr_accessor :managing_account
19901999

1991-
# The product name. Format: ``product.name=accounts/`account`/products/`product``
1992-
# `
2000+
# The product name. Format: `accounts/`account`/products/`product``
19932001
# Corresponds to the JSON property `resource`
19942002
# @return [String]
19952003
attr_accessor :resource

generated/google-apis-merchantapi_accounts_v1beta/lib/google/apis/merchantapi_accounts_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 MerchantapiAccountsV1beta
1818
# Version of the google-apis-merchantapi_accounts_v1beta gem
19-
GEM_VERSION = "0.5.0"
19+
GEM_VERSION = "0.6.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 = "20250220"
25+
REVISION = "20250301"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)