google-apis-merchantapi_notifications_v1beta 0.1.0 → 0.2.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: 2df21f3d45835829696626a522fd4a21609af850615fc161bec32fed8e43e4f4
4
+ data.tar.gz: 9fc033985322bde1b5006396b520f6a6e021eceafee0fd3ff25d2a0b78a1e2d2
5
5
  SHA512:
6
- metadata.gz: 141906dd25027d616ba3a7181fc79f2647015cc1575c99a7e8159a152ee16f868eba03ce04869a2bf449601c38e00a472cd58860da0f73fc51612a4eb7a645c5
7
- data.tar.gz: 28cc0c622374f9b63f105c42b2c6370bd1672eefea77676d24035db252e2140d31953076490017d86fd7d3d02173d83859bca5d5cb68f08e99300eceb23b78e1
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.1.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.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240611"
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 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,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.1.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-06-27 00:00:00.000000000 Z
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.1.0
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.6
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