google-apis-merchantapi_notifications_v1beta 0.2.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2df21f3d45835829696626a522fd4a21609af850615fc161bec32fed8e43e4f4
4
- data.tar.gz: 9fc033985322bde1b5006396b520f6a6e021eceafee0fd3ff25d2a0b78a1e2d2
3
+ metadata.gz: d80ace74107ab53d753759ef1540b6c179350be92e31c3b76891ef56da5c648c
4
+ data.tar.gz: 98263d0c1ed2e61df481f5cc51d38cc2ed22a9f377eac1bb8921c7808c32902e
5
5
  SHA512:
6
- metadata.gz: c4e09ebaede28577f17133f8055f099ba70fc101b10f95760f9d7f9e94ba46effd01e9e5b0f8b82d789c2855f1a003f6fab9f0cad7e2d3ed834586ff987a5883
7
- data.tar.gz: 52a8e5884c8cb8db002e659a242d9d1687eb82e310fc598b961ca5d607cfe50d76109d405db73399601ed48e1e24c09397ca4c2cbc79ab4f6394ffe3e7a64252
6
+ metadata.gz: d9a62090b5e3c02a3b3bcd110968600406206092c965ed3e5bc4d5663f7d0a8c9b71f139780422f4b338ebef80e948342adfa8ae48b5938173af426c5c10a943
7
+ data.tar.gz: aaf8145d82f745b3f6b1de03772bab96b6c949584a34059b67fa8ef6efcc10de0819b110572dfc88bb948d5af2a528d1983fc4715ed36125511e47b202ec929d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-merchantapi_notifications_v1beta
2
2
 
3
+ ### v0.4.0 (2025-03-09)
4
+
5
+ * Regenerated from discovery document revision 20250301
6
+
7
+ ### v0.3.0 (2025-02-26)
8
+
9
+ * Regenerated from discovery document revision 20250219
10
+ * Regenerated using generator version 0.16.0
11
+
3
12
  ### v0.2.0 (2024-12-02)
4
13
 
5
14
  * Regenerated from discovery document revision 20241119
@@ -119,22 +119,31 @@ module Google
119
119
  class ProductChange
120
120
  include Google::Apis::Core::Hashable
121
121
 
122
- # The new value of the changed resource or attribute.
122
+ # The new value of the changed resource or attribute. If empty, it means that
123
+ # the product was deleted. Will have one of these values : (`approved`, `pending`
124
+ # , `disapproved`, ``)
123
125
  # Corresponds to the JSON property `newValue`
124
126
  # @return [String]
125
127
  attr_accessor :new_value
126
128
 
127
- # The old value of the changed resource or attribute.
129
+ # The old value of the changed resource or attribute. If empty, it means that
130
+ # the product was created. Will have one of these values : (`approved`, `pending`
131
+ # , `disapproved`, ``)
128
132
  # Corresponds to the JSON property `oldValue`
129
133
  # @return [String]
130
134
  attr_accessor :old_value
131
135
 
132
- # Countries that have the change (if applicable)
136
+ # Countries that have the change (if applicable). Represented in the ISO 3166
137
+ # format.
133
138
  # Corresponds to the JSON property `regionCode`
134
139
  # @return [String]
135
140
  attr_accessor :region_code
136
141
 
137
- # Reporting contexts that have the change (if applicable)
142
+ # Reporting contexts that have the change (if applicable). Currently this field
143
+ # supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `
144
+ # YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [
145
+ # ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/
146
+ # ReportingContextEnum)
138
147
  # Corresponds to the JSON property `reportingContext`
139
148
  # @return [String]
140
149
  attr_accessor :reporting_context
@@ -174,8 +183,13 @@ module Google
174
183
  # @return [Array<Google::Apis::MerchantapiNotificationsV1beta::ProductChange>]
175
184
  attr_accessor :changes
176
185
 
177
- # The product expiration time. This field will not bet set if the notification
178
- # is sent for a product deletion event.
186
+ # The time at which the event was generated.
187
+ # Corresponds to the JSON property `eventTime`
188
+ # @return [String]
189
+ attr_accessor :event_time
190
+
191
+ # Optional. The product expiration time. This field will not bet set if the
192
+ # notification is sent for a product deletion event.
179
193
  # Corresponds to the JSON property `expirationTime`
180
194
  # @return [String]
181
195
  attr_accessor :expiration_time
@@ -186,8 +200,7 @@ module Google
186
200
  # @return [String]
187
201
  attr_accessor :managing_account
188
202
 
189
- # The product name. Format: ``product.name=accounts/`account`/products/`product``
190
- # `
203
+ # The product name. Format: `accounts/`account`/products/`product``
191
204
  # Corresponds to the JSON property `resource`
192
205
  # @return [String]
193
206
  attr_accessor :resource
@@ -211,6 +224,7 @@ module Google
211
224
  @account = args[:account] if args.key?(:account)
212
225
  @attribute = args[:attribute] if args.key?(:attribute)
213
226
  @changes = args[:changes] if args.key?(:changes)
227
+ @event_time = args[:event_time] if args.key?(:event_time)
214
228
  @expiration_time = args[:expiration_time] if args.key?(:expiration_time)
215
229
  @managing_account = args[:managing_account] if args.key?(:managing_account)
216
230
  @resource = args[:resource] if args.key?(:resource)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MerchantapiNotificationsV1beta
18
18
  # Version of the google-apis-merchantapi_notifications_v1beta gem
19
- GEM_VERSION = "0.2.0"
19
+ GEM_VERSION = "0.4.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241119"
25
+ REVISION = "20250301"
26
26
  end
27
27
  end
28
28
  end
@@ -95,6 +95,7 @@ module Google
95
95
  property :attribute, as: 'attribute'
96
96
  collection :changes, as: 'changes', class: Google::Apis::MerchantapiNotificationsV1beta::ProductChange, decorator: Google::Apis::MerchantapiNotificationsV1beta::ProductChange::Representation
97
97
 
98
+ property :event_time, as: 'eventTime'
98
99
  property :expiration_time, as: 'expirationTime'
99
100
  property :managing_account, as: 'managingAccount'
100
101
  property :resource, as: 'resource'
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-merchantapi_notifications_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-04 00:00:00.000000000 Z
10
+ date: 2025-03-09 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-merchantapi_notifications_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_notifications_v1beta/v0.2.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_notifications_v1beta/v0.4.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-merchantapi_notifications_v1beta
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.22
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Merchant API NotificationsV1beta
82
79
  test_files: []