google-apis-merchantapi_notifications_v1beta 0.1.0 → 0.3.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: 267ec31245fe2ecc9aa3bfdef0180141f2f99910bba087eddd991f3542a66969
4
- data.tar.gz: a96d1827df92aa6d058a16fdb993e3c63931d14dcead8272a680c56eb515972a
3
+ metadata.gz: d557922ae9441e254182dc8cb71b9c21aeccedac951b0f2bd215742decc6688d
4
+ data.tar.gz: 96e3cf7fcc4dc59cf8a0d9c9569c11dffb3e76b3a3406dd9a10583b3b5e7c91b
5
5
  SHA512:
6
- metadata.gz: 141906dd25027d616ba3a7181fc79f2647015cc1575c99a7e8159a152ee16f868eba03ce04869a2bf449601c38e00a472cd58860da0f73fc51612a4eb7a645c5
7
- data.tar.gz: 28cc0c622374f9b63f105c42b2c6370bd1672eefea77676d24035db252e2140d31953076490017d86fd7d3d02173d83859bca5d5cb68f08e99300eceb23b78e1
6
+ metadata.gz: 9e0efa5495ff229909b86930c400ade3452751ea07255ef703dc7c008cae1bf17433a2cdd08f1d382633e86609e79f161f1bde11fa50f5aae103064c24864f91
7
+ data.tar.gz: fb76ec37409c1a790cb3c769e96fdb3ff76e808242feab0f549d4fd378e2a217f7bccfba43d4de85260b282b32fe84e79e1e5ecf1c927a39260b744e28094eac
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release history for google-apis-merchantapi_notifications_v1beta
2
2
 
3
+ ### v0.3.0 (2025-02-26)
4
+
5
+ * Regenerated from discovery document revision 20250219
6
+ * Regenerated using generator version 0.16.0
7
+
8
+ ### v0.2.0 (2024-12-02)
9
+
10
+ * Regenerated from discovery document revision 20241119
11
+ * Regenerated using generator version 0.15.1
12
+
3
13
  ### v0.1.0 (2024-06-27)
4
14
 
5
15
  * Regenerated from discovery document revision 20240611
@@ -174,6 +174,17 @@ module Google
174
174
  # @return [Array<Google::Apis::MerchantapiNotificationsV1beta::ProductChange>]
175
175
  attr_accessor :changes
176
176
 
177
+ # The time at which the event was generated.
178
+ # Corresponds to the JSON property `eventTime`
179
+ # @return [String]
180
+ attr_accessor :event_time
181
+
182
+ # The product expiration time. This field will not bet set if the notification
183
+ # is sent for a product deletion event.
184
+ # Corresponds to the JSON property `expirationTime`
185
+ # @return [String]
186
+ attr_accessor :expiration_time
187
+
177
188
  # The account that manages the merchant's account. can be the same as merchant
178
189
  # id if it is standalone account. Format : `accounts/`service_provider_id``
179
190
  # Corresponds to the JSON property `managingAccount`
@@ -205,6 +216,8 @@ module Google
205
216
  @account = args[:account] if args.key?(:account)
206
217
  @attribute = args[:attribute] if args.key?(:attribute)
207
218
  @changes = args[:changes] if args.key?(:changes)
219
+ @event_time = args[:event_time] if args.key?(:event_time)
220
+ @expiration_time = args[:expiration_time] if args.key?(:expiration_time)
208
221
  @managing_account = args[:managing_account] if args.key?(:managing_account)
209
222
  @resource = args[:resource] if args.key?(:resource)
210
223
  @resource_id = args[:resource_id] if args.key?(:resource_id)
@@ -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.1.0"
19
+ GEM_VERSION = "0.3.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240611"
25
+ REVISION = "20250219"
26
26
  end
27
27
  end
28
28
  end
@@ -95,6 +95,8 @@ 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'
99
+ property :expiration_time, as: 'expirationTime'
98
100
  property :managing_account, as: 'managingAccount'
99
101
  property :resource, as: 'resource'
100
102
  property :resource_id, as: 'resourceId'
@@ -51,14 +51,17 @@ module Google
51
51
  @batch_path = 'batch'
52
52
  end
53
53
 
54
- # Creates a notification subscription for a merchant. We will allow the
55
- # following types of notification subscriptions to exist together (per merchant
56
- # as a subscriber per event type): 1. Subscription for all managed accounts +
57
- # subscription for self 2. Multiple "partial" subscriptions for managed accounts
58
- # + subscription for self we will not allow (per merchant as a subscriber per
59
- # event type): 1. multiple self subscriptions. 2. multiple "all managed accounts"
60
- # subscriptions. 3. all and partial subscriptions at the same time. 4. multiple
61
- # partial subscriptions for the same target account
54
+ # Creates a notification subscription for a business. For standalone or
55
+ # subaccounts accounts, the business can create a subscription for self. For
56
+ # MCAs, the business can create a subscription for all managed accounts or for a
57
+ # specific subaccount. We will allow the following types of notification
58
+ # subscriptions to exist together (per business as a subscriber per event type):
59
+ # 1. Subscription for all managed accounts + subscription for self. 2. Multiple "
60
+ # partial" subscriptions for managed accounts + subscription for self. we will
61
+ # not allow (per business as a subscriber per event type): 1. Multiple self
62
+ # subscriptions. 2. Multiple "all managed accounts" subscriptions. 3. "All
63
+ # managed accounts" subscription and partial subscriptions at the same time. 4.
64
+ # Multiple partial subscriptions for the same target account.
62
65
  # @param [String] parent
63
66
  # Required. The merchant account that owns the new notification subscription.
64
67
  # Format: `accounts/`account``
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.1.0
4
+ version: 0.3.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-06-27 00:00:00.000000000 Z
10
+ date: 2025-03-02 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.1.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_notifications_v1beta/v0.3.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.6
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: []