google-apis-paymentsresellersubscription_v1 0.33.0 → 0.34.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bcee5f6d535db64d6871c78df803b0c58061f250a0bf1d7a240f4baedeec287b
4
- data.tar.gz: b541060f4038282ada9591335f160f62d9a586ac81cb4aee3c69164537267c9e
3
+ metadata.gz: 77641cb3e502d19bc99790e37cd5a0357da5f356d251c25fd82b220f0875b744
4
+ data.tar.gz: 323199fa7575fea576f638cb212a6d56a8075385fcfd3b2f5636bc1a251692c8
5
5
  SHA512:
6
- metadata.gz: 8836c4ce4b079ed61233e78527acd5bb193d88f7985db1f0d5f162e954a002f79c65e9ffde112a7001b16302ff24424b2e1759420bf23abf5baf5362add7769d
7
- data.tar.gz: 8b06af0c57227616b94b1fefa5680373159140f61500caba681ceb9c57518418b08fda0b3c1246dc37ca9cbe54b406afdcc325b7210d6f5c22415c9b60e99a1f
6
+ metadata.gz: c0bc7c63da1c3caf76ca34ea2de23b0482f62425e27f88b6a3c4afd8bc0f94d55b4434af3361dbcf21d96b820d8dfb919c69598c3f018f3b546d0ae1faa7e09b
7
+ data.tar.gz: 12b6ec4f70e5cf0b9c49df261afa7d3ccda03799fa0e1e6e6097763f3ee1a713fd4c9e04cd3c0c4067d3940bf4d6e6b65967443850f771716175b9cc45f7189b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-paymentsresellersubscription_v1
2
2
 
3
+ ### v0.34.0 (2023-10-01)
4
+
5
+ * Regenerated from discovery document revision 20230924
6
+
3
7
  ### v0.33.0 (2023-09-17)
4
8
 
5
9
  * Regenerated from discovery document revision 20230913
@@ -126,12 +126,47 @@ module Google
126
126
  class GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest
127
127
  include Google::Apis::Core::Hashable
128
128
 
129
+ # Optional. The line items to be entitled. If unspecified, all line items will
130
+ # be entitled.
131
+ # Corresponds to the JSON property `lineItemEntitlementDetails`
132
+ # @return [Array<Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails>]
133
+ attr_accessor :line_item_entitlement_details
134
+
135
+ def initialize(**args)
136
+ update!(**args)
137
+ end
138
+
139
+ # Update properties of this object
140
+ def update!(**args)
141
+ @line_item_entitlement_details = args[:line_item_entitlement_details] if args.key?(:line_item_entitlement_details)
142
+ end
143
+ end
144
+
145
+ # The details of the line item to be entitled.
146
+ class GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails
147
+ include Google::Apis::Core::Hashable
148
+
149
+ # Required. The index of the line item to be entitled.
150
+ # Corresponds to the JSON property `lineItemIndex`
151
+ # @return [Fixnum]
152
+ attr_accessor :line_item_index
153
+
154
+ # Optional. Only applicable if the line item corresponds to a hard bundle.
155
+ # Product resource names that identify the bundle elements to be entitled in the
156
+ # line item. If unspecified, all bundle elements will be entitled. The format is
157
+ # 'partners/`partner_id`/products/`product_id`'.
158
+ # Corresponds to the JSON property `products`
159
+ # @return [Array<String>]
160
+ attr_accessor :products
161
+
129
162
  def initialize(**args)
130
163
  update!(**args)
131
164
  end
132
165
 
133
166
  # Update properties of this object
134
167
  def update!(**args)
168
+ @line_item_index = args[:line_item_index] if args.key?(:line_item_index)
169
+ @products = args[:products] if args.key?(:products)
135
170
  end
136
171
  end
137
172
 
@@ -460,7 +495,7 @@ module Google
460
495
 
461
496
  # Details for a bundle product.
462
497
  # Corresponds to the JSON property `bundleDetails`
463
- # @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails]
498
+ # @return [Google::Apis::PaymentsresellersubscriptionV1::ProductBundleDetails]
464
499
  attr_accessor :bundle_details
465
500
 
466
501
  # Details for a subscriptiin line item with finite billing cycles.
@@ -517,31 +552,6 @@ module Google
517
552
  end
518
553
  end
519
554
 
520
- # Details for a bundle product.
521
- class GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails
522
- include Google::Apis::Core::Hashable
523
-
524
- # The individual products that are included in the bundle.
525
- # Corresponds to the JSON property `bundleElements`
526
- # @return [Array<Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement>]
527
- attr_accessor :bundle_elements
528
-
529
- # The entitlement mode of the bundle product.
530
- # Corresponds to the JSON property `entitlementMode`
531
- # @return [String]
532
- attr_accessor :entitlement_mode
533
-
534
- def initialize(**args)
535
- update!(**args)
536
- end
537
-
538
- # Update properties of this object
539
- def update!(**args)
540
- @bundle_elements = args[:bundle_elements] if args.key?(:bundle_elements)
541
- @entitlement_mode = args[:entitlement_mode] if args.key?(:entitlement_mode)
542
- end
543
- end
544
-
545
555
  # The individual product that is included in the bundle.
546
556
  class GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement
547
557
  include Google::Apis::Core::Hashable
@@ -948,6 +958,11 @@ module Google
948
958
  # @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Amount]
949
959
  attr_accessor :amount
950
960
 
961
+ # The bundle details for a line item corresponding to a hard bundle.
962
+ # Corresponds to the JSON property `bundleDetails`
963
+ # @return [Google::Apis::PaymentsresellersubscriptionV1::SubscriptionLineItemBundleDetails]
964
+ attr_accessor :bundle_details
965
+
951
966
  # Output only. Description of this line item.
952
967
  # Corresponds to the JSON property `description`
953
968
  # @return [String]
@@ -1012,6 +1027,7 @@ module Google
1012
1027
  # Update properties of this object
1013
1028
  def update!(**args)
1014
1029
  @amount = args[:amount] if args.key?(:amount)
1030
+ @bundle_details = args[:bundle_details] if args.key?(:bundle_details)
1015
1031
  @description = args[:description] if args.key?(:description)
1016
1032
  @finite_billing_cycle_details = args[:finite_billing_cycle_details] if args.key?(:finite_billing_cycle_details)
1017
1033
  @line_item_free_trial_end_time = args[:line_item_free_trial_end_time] if args.key?(:line_item_free_trial_end_time)
@@ -1025,6 +1041,32 @@ module Google
1025
1041
  end
1026
1042
  end
1027
1043
 
1044
+ # The details for an element in the hard bundle.
1045
+ class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemBundleDetailsBundleElementDetails
1046
+ include Google::Apis::Core::Hashable
1047
+
1048
+ # Output only. Product resource name that identifies the bundle element. The
1049
+ # format is 'partners/`partner_id`/products/`product_id`'.
1050
+ # Corresponds to the JSON property `product`
1051
+ # @return [String]
1052
+ attr_accessor :product
1053
+
1054
+ # Output only. The time when this product is linked to an end user.
1055
+ # Corresponds to the JSON property `userAccountLinkedTime`
1056
+ # @return [String]
1057
+ attr_accessor :user_account_linked_time
1058
+
1059
+ def initialize(**args)
1060
+ update!(**args)
1061
+ end
1062
+
1063
+ # Update properties of this object
1064
+ def update!(**args)
1065
+ @product = args[:product] if args.key?(:product)
1066
+ @user_account_linked_time = args[:user_account_linked_time] if args.key?(:user_account_linked_time)
1067
+ end
1068
+ end
1069
+
1028
1070
  # Details for a ONE_TIME recurrence line item.
1029
1071
  class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails
1030
1072
  include Google::Apis::Core::Hashable
@@ -1194,6 +1236,50 @@ module Google
1194
1236
  @text = args[:text] if args.key?(:text)
1195
1237
  end
1196
1238
  end
1239
+
1240
+ # Details for a bundle product.
1241
+ class ProductBundleDetails
1242
+ include Google::Apis::Core::Hashable
1243
+
1244
+ # The individual products that are included in the bundle.
1245
+ # Corresponds to the JSON property `bundleElements`
1246
+ # @return [Array<Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement>]
1247
+ attr_accessor :bundle_elements
1248
+
1249
+ # The entitlement mode of the bundle product.
1250
+ # Corresponds to the JSON property `entitlementMode`
1251
+ # @return [String]
1252
+ attr_accessor :entitlement_mode
1253
+
1254
+ def initialize(**args)
1255
+ update!(**args)
1256
+ end
1257
+
1258
+ # Update properties of this object
1259
+ def update!(**args)
1260
+ @bundle_elements = args[:bundle_elements] if args.key?(:bundle_elements)
1261
+ @entitlement_mode = args[:entitlement_mode] if args.key?(:entitlement_mode)
1262
+ end
1263
+ end
1264
+
1265
+ # The bundle details for a line item corresponding to a hard bundle.
1266
+ class SubscriptionLineItemBundleDetails
1267
+ include Google::Apis::Core::Hashable
1268
+
1269
+ # The details for each element in the hard bundle.
1270
+ # Corresponds to the JSON property `bundleElementDetails`
1271
+ # @return [Array<Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemBundleDetailsBundleElementDetails>]
1272
+ attr_accessor :bundle_element_details
1273
+
1274
+ def initialize(**args)
1275
+ update!(**args)
1276
+ end
1277
+
1278
+ # Update properties of this object
1279
+ def update!(**args)
1280
+ @bundle_element_details = args[:bundle_element_details] if args.key?(:bundle_element_details)
1281
+ end
1282
+ end
1197
1283
  end
1198
1284
  end
1199
1285
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module PaymentsresellersubscriptionV1
18
18
  # Version of the google-apis-paymentsresellersubscription_v1 gem
19
- GEM_VERSION = "0.33.0"
19
+ GEM_VERSION = "0.34.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230913"
25
+ REVISION = "20230924"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponse
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -124,12 +130,6 @@ module Google
124
130
  include Google::Apis::Core::JsonObjectSupport
125
131
  end
126
132
 
127
- class GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails
128
- class Representation < Google::Apis::Core::JsonRepresentation; end
129
-
130
- include Google::Apis::Core::JsonObjectSupport
131
- end
132
-
133
133
  class GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement
134
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
135
 
@@ -190,6 +190,12 @@ module Google
190
190
  include Google::Apis::Core::JsonObjectSupport
191
191
  end
192
192
 
193
+ class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemBundleDetailsBundleElementDetails
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
193
199
  class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails
194
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
201
 
@@ -232,6 +238,18 @@ module Google
232
238
  include Google::Apis::Core::JsonObjectSupport
233
239
  end
234
240
 
241
+ class ProductBundleDetails
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class SubscriptionLineItemBundleDetails
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
235
253
  class GoogleCloudPaymentsResellerSubscriptionV1Amount
236
254
  # @private
237
255
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -267,6 +285,16 @@ module Google
267
285
  class GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest
268
286
  # @private
269
287
  class Representation < Google::Apis::Core::JsonRepresentation
288
+ collection :line_item_entitlement_details, as: 'lineItemEntitlementDetails', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails::Representation
289
+
290
+ end
291
+ end
292
+
293
+ class GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails
294
+ # @private
295
+ class Representation < Google::Apis::Core::JsonRepresentation
296
+ property :line_item_index, as: 'lineItemIndex'
297
+ collection :products, as: 'products'
270
298
  end
271
299
  end
272
300
 
@@ -369,7 +397,7 @@ module Google
369
397
  class GoogleCloudPaymentsResellerSubscriptionV1Product
370
398
  # @private
371
399
  class Representation < Google::Apis::Core::JsonRepresentation
372
- property :bundle_details, as: 'bundleDetails', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails::Representation
400
+ property :bundle_details, as: 'bundleDetails', class: Google::Apis::PaymentsresellersubscriptionV1::ProductBundleDetails, decorator: Google::Apis::PaymentsresellersubscriptionV1::ProductBundleDetails::Representation
373
401
 
374
402
  property :finite_billing_cycle_details, as: 'finiteBillingCycleDetails', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails::Representation
375
403
 
@@ -385,15 +413,6 @@ module Google
385
413
  end
386
414
  end
387
415
 
388
- class GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails
389
- # @private
390
- class Representation < Google::Apis::Core::JsonRepresentation
391
- collection :bundle_elements, as: 'bundleElements', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement::Representation
392
-
393
- property :entitlement_mode, as: 'entitlementMode'
394
- end
395
- end
396
-
397
416
  class GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement
398
417
  # @private
399
418
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -506,6 +525,8 @@ module Google
506
525
  class Representation < Google::Apis::Core::JsonRepresentation
507
526
  property :amount, as: 'amount', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Amount, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Amount::Representation
508
527
 
528
+ property :bundle_details, as: 'bundleDetails', class: Google::Apis::PaymentsresellersubscriptionV1::SubscriptionLineItemBundleDetails, decorator: Google::Apis::PaymentsresellersubscriptionV1::SubscriptionLineItemBundleDetails::Representation
529
+
509
530
  property :description, as: 'description'
510
531
  property :finite_billing_cycle_details, as: 'finiteBillingCycleDetails', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails::Representation
511
532
 
@@ -523,6 +544,14 @@ module Google
523
544
  end
524
545
  end
525
546
 
547
+ class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemBundleDetailsBundleElementDetails
548
+ # @private
549
+ class Representation < Google::Apis::Core::JsonRepresentation
550
+ property :product, as: 'product'
551
+ property :user_account_linked_time, as: 'userAccountLinkedTime'
552
+ end
553
+ end
554
+
526
555
  class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails
527
556
  # @private
528
557
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -580,6 +609,23 @@ module Google
580
609
  property :text, as: 'text'
581
610
  end
582
611
  end
612
+
613
+ class ProductBundleDetails
614
+ # @private
615
+ class Representation < Google::Apis::Core::JsonRepresentation
616
+ collection :bundle_elements, as: 'bundleElements', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement::Representation
617
+
618
+ property :entitlement_mode, as: 'entitlementMode'
619
+ end
620
+ end
621
+
622
+ class SubscriptionLineItemBundleDetails
623
+ # @private
624
+ class Representation < Google::Apis::Core::JsonRepresentation
625
+ collection :bundle_element_details, as: 'bundleElementDetails', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemBundleDetailsBundleElementDetails, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemBundleDetailsBundleElementDetails::Representation
626
+
627
+ end
628
+ end
583
629
  end
584
630
  end
585
631
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-paymentsresellersubscription_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.33.0
4
+ version: 0.34.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: 2023-09-17 00:00:00.000000000 Z
11
+ date: 2023-10-01 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-paymentsresellersubscription_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-paymentsresellersubscription_v1/v0.33.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-paymentsresellersubscription_v1/v0.34.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-paymentsresellersubscription_v1
63
63
  post_install_message:
64
64
  rdoc_options: []