google-apis-merchantapi_notifications_v1beta 0.2.0 → 0.5.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: 31904da7fd5ade04b8a7ef1f7d6e91989da5ad5ccdd0dbdf6dd4d397b00dfc16
4
+ data.tar.gz: 8c1814ae1e0a610c1cbf6e91cd39bdf5e35d79f41e67e2e535a1139966d1c7c3
5
5
  SHA512:
6
- metadata.gz: c4e09ebaede28577f17133f8055f099ba70fc101b10f95760f9d7f9e94ba46effd01e9e5b0f8b82d789c2855f1a003f6fab9f0cad7e2d3ed834586ff987a5883
7
- data.tar.gz: 52a8e5884c8cb8db002e659a242d9d1687eb82e310fc598b961ca5d607cfe50d76109d405db73399601ed48e1e24c09397ca4c2cbc79ab4f6394ffe3e7a64252
6
+ metadata.gz: 393f45d145410191e602822a43f2b6e1bf5e982132957513559365b9444e0144f955f1cad94f54e6beed68c4f67c70dd8f0565a7c541aafc4928b183573c574b
7
+ data.tar.gz: 97ff9321e63866c3a3059db5718315cc3c112c6cfaaa759b72e43df1c05ecc8b0e2ad17ce7a0bbe181f9e8bcefb2d7ea232e6b77ab552fa506e5ae76ac9fa805
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-merchantapi_notifications_v1beta
2
2
 
3
+ ### v0.5.0 (2025-03-16)
4
+
5
+ * Regenerated from discovery document revision 20250311
6
+
7
+ ### v0.4.0 (2025-03-09)
8
+
9
+ * Regenerated from discovery document revision 20250301
10
+
11
+ ### v0.3.0 (2025-02-26)
12
+
13
+ * Regenerated from discovery document revision 20250219
14
+ * Regenerated using generator version 0.16.0
15
+
3
16
  ### v0.2.0 (2024-12-02)
4
17
 
5
18
  * 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,15 @@ 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. If you want to order the
187
+ # notification messages you receive you should rely on this field not on the
188
+ # order of receiving the notifications.
189
+ # Corresponds to the JSON property `eventTime`
190
+ # @return [String]
191
+ attr_accessor :event_time
192
+
193
+ # Optional. The product expiration time. This field will not bet set if the
194
+ # notification is sent for a product deletion event.
179
195
  # Corresponds to the JSON property `expirationTime`
180
196
  # @return [String]
181
197
  attr_accessor :expiration_time
@@ -186,8 +202,7 @@ module Google
186
202
  # @return [String]
187
203
  attr_accessor :managing_account
188
204
 
189
- # The product name. Format: ``product.name=accounts/`account`/products/`product``
190
- # `
205
+ # The product name. Format: `accounts/`account`/products/`product``
191
206
  # Corresponds to the JSON property `resource`
192
207
  # @return [String]
193
208
  attr_accessor :resource
@@ -211,6 +226,7 @@ module Google
211
226
  @account = args[:account] if args.key?(:account)
212
227
  @attribute = args[:attribute] if args.key?(:attribute)
213
228
  @changes = args[:changes] if args.key?(:changes)
229
+ @event_time = args[:event_time] if args.key?(:event_time)
214
230
  @expiration_time = args[:expiration_time] if args.key?(:expiration_time)
215
231
  @managing_account = args[:managing_account] if args.key?(:managing_account)
216
232
  @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.5.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 = "20250311"
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.5.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-16 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.5.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: []