google-apis-merchantapi_reports_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: 1e4dce7f608b041cf4faed26af337853f11fc6af7f30e67cd656872b95de4bf7
4
- data.tar.gz: 54d2f3fa6ed5fb1a62f736a79276576474d5a38b424e4d8a5e0fd084dcae27e9
3
+ metadata.gz: b9fe1cd6f34ba8713db763c8100292b18faa89f4fa95213de0eadec0c0114c7e
4
+ data.tar.gz: f5c8e1a6cda68bff358b705ebc39f84d73d6bc259c44592169a7b3b5f38fa7ac
5
5
  SHA512:
6
- metadata.gz: dd04d0357d306a398bfb644564f26b9d33ea83e0cd9139de3220388cb4e93347b4220bc461a6d5965b7892e3b69112703652f59b3ae387d18df46002c9db369f
7
- data.tar.gz: 8fbf82089c9c4af649584a657bf3056bb9382d58397c935b2db723ed60f190c5cd92638c02d5ceaf216d4cde22b8a341fc714987e9d971ef0b267ebb10ad4196
6
+ metadata.gz: ec02091ae7970d02f070a7cb3a3de136c846d3f925439ee3385fe0045c72bf5dec0a5eaaf9021d732512fa2b4d628d20723d0188842e029264ae23a7fa53e478
7
+ data.tar.gz: 00d2967796d981221a2b12f1b11f6622d6a09dd288fb9e98897ee836eae256e579cb18475e185c87b48326f2dcc59a795107e1215a2a805c794bf7f8af20abba
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-merchantapi_reports_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
@@ -1098,22 +1098,31 @@ module Google
1098
1098
  class ProductChange
1099
1099
  include Google::Apis::Core::Hashable
1100
1100
 
1101
- # The new value of the changed resource or attribute.
1101
+ # The new value of the changed resource or attribute. If empty, it means that
1102
+ # the product was deleted. Will have one of these values : (`approved`, `pending`
1103
+ # , `disapproved`, ``)
1102
1104
  # Corresponds to the JSON property `newValue`
1103
1105
  # @return [String]
1104
1106
  attr_accessor :new_value
1105
1107
 
1106
- # The old value of the changed resource or attribute.
1108
+ # The old value of the changed resource or attribute. If empty, it means that
1109
+ # the product was created. Will have one of these values : (`approved`, `pending`
1110
+ # , `disapproved`, ``)
1107
1111
  # Corresponds to the JSON property `oldValue`
1108
1112
  # @return [String]
1109
1113
  attr_accessor :old_value
1110
1114
 
1111
- # Countries that have the change (if applicable)
1115
+ # Countries that have the change (if applicable). Represented in the ISO 3166
1116
+ # format.
1112
1117
  # Corresponds to the JSON property `regionCode`
1113
1118
  # @return [String]
1114
1119
  attr_accessor :region_code
1115
1120
 
1116
- # Reporting contexts that have the change (if applicable)
1121
+ # Reporting contexts that have the change (if applicable). Currently this field
1122
+ # supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `
1123
+ # YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [
1124
+ # ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/
1125
+ # ReportingContextEnum)
1117
1126
  # Corresponds to the JSON property `reportingContext`
1118
1127
  # @return [String]
1119
1128
  attr_accessor :reporting_context
@@ -1383,8 +1392,13 @@ module Google
1383
1392
  # @return [Array<Google::Apis::MerchantapiReportsV1beta::ProductChange>]
1384
1393
  attr_accessor :changes
1385
1394
 
1386
- # The product expiration time. This field will not bet set if the notification
1387
- # is sent for a product deletion event.
1395
+ # The time at which the event was generated.
1396
+ # Corresponds to the JSON property `eventTime`
1397
+ # @return [String]
1398
+ attr_accessor :event_time
1399
+
1400
+ # Optional. The product expiration time. This field will not bet set if the
1401
+ # notification is sent for a product deletion event.
1388
1402
  # Corresponds to the JSON property `expirationTime`
1389
1403
  # @return [String]
1390
1404
  attr_accessor :expiration_time
@@ -1395,8 +1409,7 @@ module Google
1395
1409
  # @return [String]
1396
1410
  attr_accessor :managing_account
1397
1411
 
1398
- # The product name. Format: ``product.name=accounts/`account`/products/`product``
1399
- # `
1412
+ # The product name. Format: `accounts/`account`/products/`product``
1400
1413
  # Corresponds to the JSON property `resource`
1401
1414
  # @return [String]
1402
1415
  attr_accessor :resource
@@ -1420,6 +1433,7 @@ module Google
1420
1433
  @account = args[:account] if args.key?(:account)
1421
1434
  @attribute = args[:attribute] if args.key?(:attribute)
1422
1435
  @changes = args[:changes] if args.key?(:changes)
1436
+ @event_time = args[:event_time] if args.key?(:event_time)
1423
1437
  @expiration_time = args[:expiration_time] if args.key?(:expiration_time)
1424
1438
  @managing_account = args[:managing_account] if args.key?(:managing_account)
1425
1439
  @resource = args[:resource] if args.key?(:resource)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MerchantapiReportsV1beta
18
18
  # Version of the google-apis-merchantapi_reports_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
@@ -413,6 +413,7 @@ module Google
413
413
  property :attribute, as: 'attribute'
414
414
  collection :changes, as: 'changes', class: Google::Apis::MerchantapiReportsV1beta::ProductChange, decorator: Google::Apis::MerchantapiReportsV1beta::ProductChange::Representation
415
415
 
416
+ property :event_time, as: 'eventTime'
416
417
  property :expiration_time, as: 'expirationTime'
417
418
  property :managing_account, as: 'managingAccount'
418
419
  property :resource, as: 'resource'
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-merchantapi_reports_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_reports_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_reports_v1beta/v0.2.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_reports_v1beta/v0.4.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-merchantapi_reports_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 ReportsV1beta
82
79
  test_files: []