google-apis-paymentsresellersubscription_v1 0.30.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: 31a821d82ff2e92490b3ce71b2678036a353993a5b8edae79678bf22233d769d
4
- data.tar.gz: a9876b2e507917f77934beb56e528e2ae50c6da15eb8c79c9446f4fc072e2992
3
+ metadata.gz: 7aeaca9f311d0410d430967b2b57c5894657f4b3407e047e618a7e2a3314ec2b
4
+ data.tar.gz: 1a53b047f8518c07de06f8dde05560e2d4ede49c746c2fe8f50759b4929ecbcf
5
5
  SHA512:
6
- metadata.gz: 0c4424a313b0e71efef0efbd86a356ac73bf37e311e9915de8db0d99d2a221df6b88b51e2806ccd4ff7b491175f41ce3453bdc0327f7316c89fdf3fdaaf25910
7
- data.tar.gz: 891e8f56b31fb0abb9c1e1ed9ad138c94a733dbf63e3ede5f41bfac65b11c3788029f636e0f3c7bdb1d5b288dbef58dab1da850902f08009cafd0ba61e720bbc
6
+ metadata.gz: 9edf73af9805f93c7748c58cddfe5d615f460a617f654ecad66513cad260953251d057078546556b40133c03f3a85c7271f3dc38182e058eecde93d8835c1c14
7
+ data.tar.gz: 813c7c1ce41bc024b5fc2e1c725db79c0c445dafba28368f8ec7ed504e2defaa43a7a81b8e2cbdf75e88812eff1ded75173251b79bed9be54f6406d15060c307
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.31.0 (2023-06-11)
8
+
9
+ * Regenerated from discovery document revision 20230604
10
+
3
11
  ### v0.30.0 (2023-05-07)
4
12
 
5
13
  * Regenerated from discovery document revision 20230504
@@ -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)
@@ -1058,6 +1090,11 @@ module Google
1058
1090
  class GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload
1059
1091
  include Google::Apis::Core::Hashable
1060
1092
 
1093
+ # Output only. The access expiration time for this line item.
1094
+ # Corresponds to the JSON property `accessEndTime`
1095
+ # @return [String]
1096
+ attr_accessor :access_end_time
1097
+
1061
1098
  # The list of eligibility_ids which are applicable for the line item.
1062
1099
  # Corresponds to the JSON property `partnerEligibilityIds`
1063
1100
  # @return [Array<String>]
@@ -1069,6 +1106,7 @@ module Google
1069
1106
 
1070
1107
  # Update properties of this object
1071
1108
  def update!(**args)
1109
+ @access_end_time = args[:access_end_time] if args.key?(:access_end_time)
1072
1110
  @partner_eligibility_ids = args[:partner_eligibility_ids] if args.key?(:partner_eligibility_ids)
1073
1111
  end
1074
1112
  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.30.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 = "20230504"
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
@@ -520,6 +537,7 @@ module Google
520
537
  class GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload
521
538
  # @private
522
539
  class Representation < Google::Apis::Core::JsonRepresentation
540
+ property :access_end_time, as: 'accessEndTime'
523
541
  collection :partner_eligibility_ids, as: 'partnerEligibilityIds'
524
542
  end
525
543
  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.30.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-05-14 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.30.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