google-apis-paymentsresellersubscription_v1 0.31.0 → 0.32.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: 7aeaca9f311d0410d430967b2b57c5894657f4b3407e047e618a7e2a3314ec2b
4
+ data.tar.gz: 1a53b047f8518c07de06f8dde05560e2d4ede49c746c2fe8f50759b4929ecbcf
5
5
  SHA512:
6
- metadata.gz: 839238b6271a218f710a5200e8b14020b3e81be05bc987f75a18bd0d8e926c7489b5ae933f3d3ba7eb3d5462a9e2820d735d5dc63d37f7d028e98a65445e3fd7
7
- data.tar.gz: 0e2cbf097f9c2f7640465cca0b797bbb9b7211f9f752dd61f21a5269b1a217f8950930fb51dc37f9da63ca483e23a1c961d06c1389d16a9e3366f79c31fe53f4
6
+ metadata.gz: 9edf73af9805f93c7748c58cddfe5d615f460a617f654ecad66513cad260953251d057078546556b40133c03f3a85c7271f3dc38182e058eecde93d8835c1c14
7
+ data.tar.gz: 813c7c1ce41bc024b5fc2e1c725db79c0c445dafba28368f8ec7ed504e2defaa43a7a81b8e2cbdf75e88812eff1ded75173251b79bed9be54f6406d15060c307
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-paymentsresellersubscription_v1
2
2
 
3
+ ### v0.32.0 (2023-08-27)
4
+
5
+ * Regenerated from discovery document revision 20230823
6
+
3
7
  ### v0.31.0 (2023-06-11)
4
8
 
5
9
  * 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,11 @@ module Google
438
458
  class GoogleCloudPaymentsResellerSubscriptionV1Product
439
459
  include Google::Apis::Core::Hashable
440
460
 
461
+ # Details for a subscriptiin line item with finite billing cycles.
462
+ # Corresponds to the JSON property `finiteBillingCycleDetails`
463
+ # @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails]
464
+ attr_accessor :finite_billing_cycle_details
465
+
441
466
  # Output only. Response only. Resource name of the product. It will have the
442
467
  # format of "partners/`partner_id`/products/`product_id`"
443
468
  # Corresponds to the JSON property `name`
@@ -471,6 +496,7 @@ module Google
471
496
 
472
497
  # Update properties of this object
473
498
  def update!(**args)
499
+ @finite_billing_cycle_details = args[:finite_billing_cycle_details] if args.key?(:finite_billing_cycle_details)
474
500
  @name = args[:name] if args.key?(:name)
475
501
  @price_configs = args[:price_configs] if args.key?(:price_configs)
476
502
  @region_codes = args[:region_codes] if args.key?(:region_codes)
@@ -870,6 +896,11 @@ module Google
870
896
  # @return [String]
871
897
  attr_accessor :description
872
898
 
899
+ # Details for a subscriptiin line item with finite billing cycles.
900
+ # Corresponds to the JSON property `finiteBillingCycleDetails`
901
+ # @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails]
902
+ attr_accessor :finite_billing_cycle_details
903
+
873
904
  # Output only. The free trial end time will be populated after the line item is
874
905
  # successfully processed. End time of the line item free trial period, in ISO
875
906
  # 8061 format. For example, "2019-08-31T17:28:54.564Z". It will be set the same
@@ -925,6 +956,7 @@ module Google
925
956
  def update!(**args)
926
957
  @amount = args[:amount] if args.key?(:amount)
927
958
  @description = args[:description] if args.key?(:description)
959
+ @finite_billing_cycle_details = args[:finite_billing_cycle_details] if args.key?(:finite_billing_cycle_details)
928
960
  @line_item_free_trial_end_time = args[:line_item_free_trial_end_time] if args.key?(:line_item_free_trial_end_time)
929
961
  @line_item_index = args[:line_item_index] if args.key?(:line_item_index)
930
962
  @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.32.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 = "20230823"
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
 
@@ -305,6 +311,13 @@ module Google
305
311
  end
306
312
  end
307
313
 
314
+ class GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails
315
+ # @private
316
+ class Representation < Google::Apis::Core::JsonRepresentation
317
+ property :billing_cycle_count_limit, :numeric_string => true, as: 'billingCycleCountLimit'
318
+ end
319
+ end
320
+
308
321
  class GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload
309
322
  # @private
310
323
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -344,6 +357,8 @@ module Google
344
357
  class GoogleCloudPaymentsResellerSubscriptionV1Product
345
358
  # @private
346
359
  class Representation < Google::Apis::Core::JsonRepresentation
360
+ property :finite_billing_cycle_details, as: 'finiteBillingCycleDetails', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails::Representation
361
+
347
362
  property :name, as: 'name'
348
363
  collection :price_configs, as: 'priceConfigs', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig::Representation
349
364
 
@@ -461,6 +476,8 @@ module Google
461
476
  property :amount, as: 'amount', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Amount, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Amount::Representation
462
477
 
463
478
  property :description, as: 'description'
479
+ property :finite_billing_cycle_details, as: 'finiteBillingCycleDetails', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails::Representation
480
+
464
481
  property :line_item_free_trial_end_time, as: 'lineItemFreeTrialEndTime'
465
482
  property :line_item_index, as: 'lineItemIndex'
466
483
  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.32.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-08-27 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.32.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