google-apis-merchantapi_notifications_v1beta 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/merchantapi_notifications_v1beta/classes.rb +7 -0
- data/lib/google/apis/merchantapi_notifications_v1beta/gem_version.rb +3 -3
- data/lib/google/apis/merchantapi_notifications_v1beta/representations.rb +1 -0
- data/lib/google/apis/merchantapi_notifications_v1beta/service.rb +11 -8
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2df21f3d45835829696626a522fd4a21609af850615fc161bec32fed8e43e4f4
|
4
|
+
data.tar.gz: 9fc033985322bde1b5006396b520f6a6e021eceafee0fd3ff25d2a0b78a1e2d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4e09ebaede28577f17133f8055f099ba70fc101b10f95760f9d7f9e94ba46effd01e9e5b0f8b82d789c2855f1a003f6fab9f0cad7e2d3ed834586ff987a5883
|
7
|
+
data.tar.gz: 52a8e5884c8cb8db002e659a242d9d1687eb82e310fc598b961ca5d607cfe50d76109d405db73399601ed48e1e24c09397ca4c2cbc79ab4f6394ffe3e7a64252
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-merchantapi_notifications_v1beta
|
2
2
|
|
3
|
+
### v0.2.0 (2024-12-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241119
|
6
|
+
* Regenerated using generator version 0.15.1
|
7
|
+
|
3
8
|
### v0.1.0 (2024-06-27)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20240611
|
@@ -174,6 +174,12 @@ module Google
|
|
174
174
|
# @return [Array<Google::Apis::MerchantapiNotificationsV1beta::ProductChange>]
|
175
175
|
attr_accessor :changes
|
176
176
|
|
177
|
+
# The product expiration time. This field will not bet set if the notification
|
178
|
+
# is sent for a product deletion event.
|
179
|
+
# Corresponds to the JSON property `expirationTime`
|
180
|
+
# @return [String]
|
181
|
+
attr_accessor :expiration_time
|
182
|
+
|
177
183
|
# The account that manages the merchant's account. can be the same as merchant
|
178
184
|
# id if it is standalone account. Format : `accounts/`service_provider_id``
|
179
185
|
# Corresponds to the JSON property `managingAccount`
|
@@ -205,6 +211,7 @@ module Google
|
|
205
211
|
@account = args[:account] if args.key?(:account)
|
206
212
|
@attribute = args[:attribute] if args.key?(:attribute)
|
207
213
|
@changes = args[:changes] if args.key?(:changes)
|
214
|
+
@expiration_time = args[:expiration_time] if args.key?(:expiration_time)
|
208
215
|
@managing_account = args[:managing_account] if args.key?(:managing_account)
|
209
216
|
@resource = args[:resource] if args.key?(:resource)
|
210
217
|
@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.2.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.15.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241119"
|
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 :expiration_time, as: 'expirationTime'
|
98
99
|
property :managing_account, as: 'managingAccount'
|
99
100
|
property :resource, as: 'resource'
|
100
101
|
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,14 @@
|
|
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.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_notifications_v1beta/v0.2.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-merchantapi_notifications_v1beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.22
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Merchant API NotificationsV1beta
|