Skip to content

Commit 74ccd97

Browse files
feat: Automated regeneration of merchantapi quota_v1beta client (googleapis#21997)
Auto-created at 2025-03-09 10:00:56 +0000 using the toys pull request generator.
1 parent d9a3dd7 commit 74ccd97

File tree

3 files changed

+22
-10
lines changed

3 files changed

+22
-10
lines changed

generated/google-apis-merchantapi_quota_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_quota_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_quota_v1beta/lib/google/apis/merchantapi_quota_v1beta/classes.rb

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

95-
# The new value of the changed resource or attribute.
95+
# The new value of the changed resource or attribute. If empty, it means that
96+
# the product was deleted. Will have one of these values : (`approved`, `pending`
97+
# , `disapproved`, ``)
9698
# Corresponds to the JSON property `newValue`
9799
# @return [String]
98100
attr_accessor :new_value
99101

100-
# The old value of the changed resource or attribute.
102+
# The old value of the changed resource or attribute. If empty, it means that
103+
# the product was created. Will have one of these values : (`approved`, `pending`
104+
# , `disapproved`, ``)
101105
# Corresponds to the JSON property `oldValue`
102106
# @return [String]
103107
attr_accessor :old_value
104108

105-
# Countries that have the change (if applicable)
109+
# Countries that have the change (if applicable). Represented in the ISO 3166
110+
# format.
106111
# Corresponds to the JSON property `regionCode`
107112
# @return [String]
108113
attr_accessor :region_code
109114

110-
# Reporting contexts that have the change (if applicable)
115+
# Reporting contexts that have the change (if applicable). Currently this field
116+
# supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `
117+
# YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [
118+
# ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/
119+
# ReportingContextEnum)
111120
# Corresponds to the JSON property `reportingContext`
112121
# @return [String]
113122
attr_accessor :reporting_context
@@ -152,8 +161,8 @@ class ProductStatusChangeMessage
152161
# @return [String]
153162
attr_accessor :event_time
154163

155-
# The product expiration time. This field will not bet set if the notification
156-
# is sent for a product deletion event.
164+
# Optional. The product expiration time. This field will not bet set if the
165+
# notification is sent for a product deletion event.
157166
# Corresponds to the JSON property `expirationTime`
158167
# @return [String]
159168
attr_accessor :expiration_time
@@ -164,8 +173,7 @@ class ProductStatusChangeMessage
164173
# @return [String]
165174
attr_accessor :managing_account
166175

167-
# The product name. Format: ``product.name=accounts/`account`/products/`product``
168-
# `
176+
# The product name. Format: `accounts/`account`/products/`product``
169177
# Corresponds to the JSON property `resource`
170178
# @return [String]
171179
attr_accessor :resource

generated/google-apis-merchantapi_quota_v1beta/lib/google/apis/merchantapi_quota_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 MerchantapiQuotaV1beta
1818
# Version of the google-apis-merchantapi_quota_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)