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 +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/google/apis/merchantapi_notifications_v1beta/classes.rb +13 -0
- data/lib/google/apis/merchantapi_notifications_v1beta/gem_version.rb +3 -3
- data/lib/google/apis/merchantapi_notifications_v1beta/representations.rb +2 -0
- data/lib/google/apis/merchantapi_notifications_v1beta/service.rb +11 -8
- metadata +4 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d557922ae9441e254182dc8cb71b9c21aeccedac951b0f2bd215742decc6688d
|
4
|
+
data.tar.gz: 96e3cf7fcc4dc59cf8a0d9c9569c11dffb3e76b3a3406dd9a10583b3b5e7c91b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
19
|
+
GEM_VERSION = "0.3.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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
|
55
|
-
#
|
56
|
-
#
|
57
|
-
#
|
58
|
-
#
|
59
|
-
#
|
60
|
-
# subscriptions
|
61
|
-
#
|
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.
|
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:
|
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.
|
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
|
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: []
|