google-apis-merchantapi_inventories_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: 8b9f5299ab2c6a91b2a93673c976e6f7673729aa386b1995ae0b640daf7be07d
4
- data.tar.gz: b26ce918d6efd7f8f33d30964ad9f5aaae1b608f86bb917842f6aaea13f68cc8
3
+ metadata.gz: df27abcf0e99a3744ab52131db3734b8951cce4f5a60d21ab9bfdb51de830d58
4
+ data.tar.gz: aa3f2749748552b61f383ada99122fc6ead97f548378005f4cb11258c2f8c901
5
5
  SHA512:
6
- metadata.gz: b5f8ad500c4e00ca90823119f1c6e3a3e717ec4e7a62d17fc32bee8be09eebcc8df16f048e9c5e99268c7bef18756f30a24f41725ec67dfd13bfe2bbc9c75d69
7
- data.tar.gz: a05635b477b1aad0a7e53e57a6af13ea1b6c65db2df69b672c9014b3a81d04848e2b449c9b7ec5a83a6c79c3fa6b9447db0da4c8e260caee442954bca5477b8b
6
+ metadata.gz: defdb55798c1935943e0f658816df411dacc11a2e17a3c4b3fb8822128d806691b18663262cf59d656ec87d210beab197a91652a1d47702120ad91a69080b54e
7
+ data.tar.gz: cf1f49b9cca06ff593c54aebe50966a7c9a4ab502fa94d8af3d204749e7f195f1a6d7df0281a2bda180cbbb3a756c738f1d3ba6c529d2721d64a7045b7fdead6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-merchantapi_inventories_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
@@ -295,22 +295,31 @@ module Google
295
295
  class ProductChange
296
296
  include Google::Apis::Core::Hashable
297
297
 
298
- # The new value of the changed resource or attribute.
298
+ # The new value of the changed resource or attribute. If empty, it means that
299
+ # the product was deleted. Will have one of these values : (`approved`, `pending`
300
+ # , `disapproved`, ``)
299
301
  # Corresponds to the JSON property `newValue`
300
302
  # @return [String]
301
303
  attr_accessor :new_value
302
304
 
303
- # The old value of the changed resource or attribute.
305
+ # The old value of the changed resource or attribute. If empty, it means that
306
+ # the product was created. Will have one of these values : (`approved`, `pending`
307
+ # , `disapproved`, ``)
304
308
  # Corresponds to the JSON property `oldValue`
305
309
  # @return [String]
306
310
  attr_accessor :old_value
307
311
 
308
- # Countries that have the change (if applicable)
312
+ # Countries that have the change (if applicable). Represented in the ISO 3166
313
+ # format.
309
314
  # Corresponds to the JSON property `regionCode`
310
315
  # @return [String]
311
316
  attr_accessor :region_code
312
317
 
313
- # Reporting contexts that have the change (if applicable)
318
+ # Reporting contexts that have the change (if applicable). Currently this field
319
+ # supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `
320
+ # YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [
321
+ # ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/
322
+ # ReportingContextEnum)
314
323
  # Corresponds to the JSON property `reportingContext`
315
324
  # @return [String]
316
325
  attr_accessor :reporting_context
@@ -350,8 +359,13 @@ module Google
350
359
  # @return [Array<Google::Apis::MerchantapiInventoriesV1beta::ProductChange>]
351
360
  attr_accessor :changes
352
361
 
353
- # The product expiration time. This field will not bet set if the notification
354
- # is sent for a product deletion event.
362
+ # The time at which the event was generated.
363
+ # Corresponds to the JSON property `eventTime`
364
+ # @return [String]
365
+ attr_accessor :event_time
366
+
367
+ # Optional. The product expiration time. This field will not bet set if the
368
+ # notification is sent for a product deletion event.
355
369
  # Corresponds to the JSON property `expirationTime`
356
370
  # @return [String]
357
371
  attr_accessor :expiration_time
@@ -362,8 +376,7 @@ module Google
362
376
  # @return [String]
363
377
  attr_accessor :managing_account
364
378
 
365
- # The product name. Format: ``product.name=accounts/`account`/products/`product``
366
- # `
379
+ # The product name. Format: `accounts/`account`/products/`product``
367
380
  # Corresponds to the JSON property `resource`
368
381
  # @return [String]
369
382
  attr_accessor :resource
@@ -387,6 +400,7 @@ module Google
387
400
  @account = args[:account] if args.key?(:account)
388
401
  @attribute = args[:attribute] if args.key?(:attribute)
389
402
  @changes = args[:changes] if args.key?(:changes)
403
+ @event_time = args[:event_time] if args.key?(:event_time)
390
404
  @expiration_time = args[:expiration_time] if args.key?(:expiration_time)
391
405
  @managing_account = args[:managing_account] if args.key?(:managing_account)
392
406
  @resource = args[:resource] if args.key?(:resource)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MerchantapiInventoriesV1beta
18
18
  # Version of the google-apis-merchantapi_inventories_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
@@ -171,6 +171,7 @@ module Google
171
171
  property :attribute, as: 'attribute'
172
172
  collection :changes, as: 'changes', class: Google::Apis::MerchantapiInventoriesV1beta::ProductChange, decorator: Google::Apis::MerchantapiInventoriesV1beta::ProductChange::Representation
173
173
 
174
+ property :event_time, as: 'eventTime'
174
175
  property :expiration_time, as: 'expirationTime'
175
176
  property :managing_account, as: 'managingAccount'
176
177
  property :resource, as: 'resource'
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-merchantapi_inventories_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_inventories_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_inventories_v1beta/v0.2.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_inventories_v1beta/v0.4.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-merchantapi_inventories_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 InventoriesV1beta
82
79
  test_files: []