google-apis-paymentsresellersubscription_v1 0.31.0 → 0.33.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: 3ad38c0a6094f11d08cafeeb991defe1b1d2c60c67243b1cd429003f90694296
4
- data.tar.gz: 68d77c8f8858388616f06caf18c05eb100d1a3c22e6c71cea02714a2cc613979
3
+ metadata.gz: bcee5f6d535db64d6871c78df803b0c58061f250a0bf1d7a240f4baedeec287b
4
+ data.tar.gz: b541060f4038282ada9591335f160f62d9a586ac81cb4aee3c69164537267c9e
5
5
  SHA512:
6
- metadata.gz: 839238b6271a218f710a5200e8b14020b3e81be05bc987f75a18bd0d8e926c7489b5ae933f3d3ba7eb3d5462a9e2820d735d5dc63d37f7d028e98a65445e3fd7
7
- data.tar.gz: 0e2cbf097f9c2f7640465cca0b797bbb9b7211f9f752dd61f21a5269b1a217f8950930fb51dc37f9da63ca483e23a1c961d06c1389d16a9e3366f79c31fe53f4
6
+ metadata.gz: 8836c4ce4b079ed61233e78527acd5bb193d88f7985db1f0d5f162e954a002f79c65e9ffde112a7001b16302ff24424b2e1759420bf23abf5baf5362add7769d
7
+ data.tar.gz: 8b06af0c57227616b94b1fefa5680373159140f61500caba681ceb9c57518418b08fda0b3c1246dc37ca9cbe54b406afdcc325b7210d6f5c22415c9b60e99a1f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-paymentsresellersubscription_v1
2
2
 
3
+ ### v0.33.0 (2023-09-17)
4
+
5
+ * Regenerated from discovery document revision 20230913
6
+
7
+ ### v0.32.0 (2023-08-27)
8
+
9
+ * Regenerated from discovery document revision 20230823
10
+
3
11
  ### v0.31.0 (2023-06-11)
4
12
 
5
13
  * Regenerated from discovery document revision 20230604
@@ -319,6 +319,26 @@ module Google
319
319
  end
320
320
  end
321
321
 
322
+ # Details for a subscriptiin line item with finite billing cycles.
323
+ class GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails
324
+ include Google::Apis::Core::Hashable
325
+
326
+ # Required. The number of a subscription line item billing cycles after which
327
+ # billing will stop automatically.
328
+ # Corresponds to the JSON property `billingCycleCountLimit`
329
+ # @return [Fixnum]
330
+ attr_accessor :billing_cycle_count_limit
331
+
332
+ def initialize(**args)
333
+ update!(**args)
334
+ end
335
+
336
+ # Update properties of this object
337
+ def update!(**args)
338
+ @billing_cycle_count_limit = args[:billing_cycle_count_limit] if args.key?(:billing_cycle_count_limit)
339
+ end
340
+ end
341
+
322
342
  # Payload specific to Google One products.
323
343
  class GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload
324
344
  include Google::Apis::Core::Hashable
@@ -438,6 +458,16 @@ module Google
438
458
  class GoogleCloudPaymentsResellerSubscriptionV1Product
439
459
  include Google::Apis::Core::Hashable
440
460
 
461
+ # Details for a bundle product.
462
+ # Corresponds to the JSON property `bundleDetails`
463
+ # @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails]
464
+ attr_accessor :bundle_details
465
+
466
+ # Details for a subscriptiin line item with finite billing cycles.
467
+ # Corresponds to the JSON property `finiteBillingCycleDetails`
468
+ # @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails]
469
+ attr_accessor :finite_billing_cycle_details
470
+
441
471
  # Output only. Response only. Resource name of the product. It will have the
442
472
  # format of "partners/`partner_id`/products/`product_id`"
443
473
  # Corresponds to the JSON property `name`
@@ -449,6 +479,11 @@ module Google
449
479
  # @return [Array<Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig>]
450
480
  attr_accessor :price_configs
451
481
 
482
+ # Output only. Output Only. Specifies the type of the product.
483
+ # Corresponds to the JSON property `productType`
484
+ # @return [String]
485
+ attr_accessor :product_type
486
+
452
487
  # Output only. 2-letter ISO region code where the product is available in. Ex. "
453
488
  # US" Please refers to: https://en.wikipedia.org/wiki/ISO_3166-1
454
489
  # Corresponds to the JSON property `regionCodes`
@@ -471,14 +506,62 @@ module Google
471
506
 
472
507
  # Update properties of this object
473
508
  def update!(**args)
509
+ @bundle_details = args[:bundle_details] if args.key?(:bundle_details)
510
+ @finite_billing_cycle_details = args[:finite_billing_cycle_details] if args.key?(:finite_billing_cycle_details)
474
511
  @name = args[:name] if args.key?(:name)
475
512
  @price_configs = args[:price_configs] if args.key?(:price_configs)
513
+ @product_type = args[:product_type] if args.key?(:product_type)
476
514
  @region_codes = args[:region_codes] if args.key?(:region_codes)
477
515
  @subscription_billing_cycle_duration = args[:subscription_billing_cycle_duration] if args.key?(:subscription_billing_cycle_duration)
478
516
  @titles = args[:titles] if args.key?(:titles)
479
517
  end
480
518
  end
481
519
 
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
+ # The individual product that is included in the bundle.
546
+ class GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement
547
+ include Google::Apis::Core::Hashable
548
+
549
+ # Required. Output only. Product resource name that identifies the bundle
550
+ # element. The format is 'partners/`partner_id`/products/`product_id`'.
551
+ # Corresponds to the JSON property `product`
552
+ # @return [String]
553
+ attr_accessor :product
554
+
555
+ def initialize(**args)
556
+ update!(**args)
557
+ end
558
+
559
+ # Update properties of this object
560
+ def update!(**args)
561
+ @product = args[:product] if args.key?(:product)
562
+ end
563
+ end
564
+
482
565
  # Specifies product specific payload.
483
566
  class GoogleCloudPaymentsResellerSubscriptionV1ProductPayload
484
567
  include Google::Apis::Core::Hashable
@@ -870,6 +953,11 @@ module Google
870
953
  # @return [String]
871
954
  attr_accessor :description
872
955
 
956
+ # Details for a subscriptiin line item with finite billing cycles.
957
+ # Corresponds to the JSON property `finiteBillingCycleDetails`
958
+ # @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails]
959
+ attr_accessor :finite_billing_cycle_details
960
+
873
961
  # Output only. The free trial end time will be populated after the line item is
874
962
  # successfully processed. End time of the line item free trial period, in ISO
875
963
  # 8061 format. For example, "2019-08-31T17:28:54.564Z". It will be set the same
@@ -925,6 +1013,7 @@ module Google
925
1013
  def update!(**args)
926
1014
  @amount = args[:amount] if args.key?(:amount)
927
1015
  @description = args[:description] if args.key?(:description)
1016
+ @finite_billing_cycle_details = args[:finite_billing_cycle_details] if args.key?(:finite_billing_cycle_details)
928
1017
  @line_item_free_trial_end_time = args[:line_item_free_trial_end_time] if args.key?(:line_item_free_trial_end_time)
929
1018
  @line_item_index = args[:line_item_index] if args.key?(:line_item_index)
930
1019
  @line_item_promotion_specs = args[:line_item_promotion_specs] if args.key?(:line_item_promotion_specs)
@@ -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.31.0"
19
+ GEM_VERSION = "0.33.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 = "20230604"
25
+ REVISION = "20230913"
26
26
  end
27
27
  end
28
28
  end
@@ -88,6 +88,12 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
91
97
  class GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload
92
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
99
 
@@ -118,6 +124,18 @@ module Google
118
124
  include Google::Apis::Core::JsonObjectSupport
119
125
  end
120
126
 
127
+ class GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
121
139
  class GoogleCloudPaymentsResellerSubscriptionV1ProductPayload
122
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
141
 
@@ -305,6 +323,13 @@ module Google
305
323
  end
306
324
  end
307
325
 
326
+ class GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails
327
+ # @private
328
+ class Representation < Google::Apis::Core::JsonRepresentation
329
+ property :billing_cycle_count_limit, :numeric_string => true, as: 'billingCycleCountLimit'
330
+ end
331
+ end
332
+
308
333
  class GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload
309
334
  # @private
310
335
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -344,9 +369,14 @@ module Google
344
369
  class GoogleCloudPaymentsResellerSubscriptionV1Product
345
370
  # @private
346
371
  class Representation < Google::Apis::Core::JsonRepresentation
372
+ property :bundle_details, as: 'bundleDetails', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails::Representation
373
+
374
+ property :finite_billing_cycle_details, as: 'finiteBillingCycleDetails', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails::Representation
375
+
347
376
  property :name, as: 'name'
348
377
  collection :price_configs, as: 'priceConfigs', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig::Representation
349
378
 
379
+ property :product_type, as: 'productType'
350
380
  collection :region_codes, as: 'regionCodes'
351
381
  property :subscription_billing_cycle_duration, as: 'subscriptionBillingCycleDuration', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Duration, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Duration::Representation
352
382
 
@@ -355,6 +385,22 @@ module Google
355
385
  end
356
386
  end
357
387
 
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
+ class GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement
398
+ # @private
399
+ class Representation < Google::Apis::Core::JsonRepresentation
400
+ property :product, as: 'product'
401
+ end
402
+ end
403
+
358
404
  class GoogleCloudPaymentsResellerSubscriptionV1ProductPayload
359
405
  # @private
360
406
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -461,6 +507,8 @@ module Google
461
507
  property :amount, as: 'amount', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Amount, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Amount::Representation
462
508
 
463
509
  property :description, as: 'description'
510
+ property :finite_billing_cycle_details, as: 'finiteBillingCycleDetails', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails::Representation
511
+
464
512
  property :line_item_free_trial_end_time, as: 'lineItemFreeTrialEndTime'
465
513
  property :line_item_index, as: 'lineItemIndex'
466
514
  collection :line_item_promotion_specs, as: 'lineItemPromotionSpecs', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec::Representation
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.31.0
4
+ version: 0.33.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-06-11 00:00:00.000000000 Z
11
+ date: 2023-09-17 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.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-paymentsresellersubscription_v1/v0.33.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: []
@@ -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.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Payments Reseller Subscription API V1