google-apis-paymentsresellersubscription_v1 0.14.0 → 0.17.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: 4b0f04f8ad690bbe36cc71c81e6485575e7b40f99f189cba1f3c95533156d733
4
- data.tar.gz: ef16f7b2a2ccd14c913086158c8c75cc31351ce94981ca6c96e3f4ae6c6229d9
3
+ metadata.gz: 2ce6777986b00ce07e51275d4a23706b941c106eda29a8afe5cababb007f37f6
4
+ data.tar.gz: ead5a91b43df40e5245465c30923a0278393e515abadfbd813d8842138892c12
5
5
  SHA512:
6
- metadata.gz: d88c12f86841529e3b4fcb4a92ccc7ce7df4c2b2360e0a883f09310964760065f7fa0bf99218115c6ad130491a69f6f9b1c59d7b1589c9f90fe208ed73b7fd2d
7
- data.tar.gz: ee734568f534088ae72111c4d3e2624fd0067287ff6e1c0a1a2644ea4bd4b6b230ce1f743f0493077f9d66e9b79e041e625721e6405edb37cfc810aa90c34508
6
+ metadata.gz: 07f06bbd4c2c351213c0b5e8276fd797efc0935d0ba247ded3c4f0d7a024062f31e450ff980f91d9dc8beae813b7b1bf56fe3f83111a1e62da32423fda1cbcdf
7
+ data.tar.gz: c47da4f049533d6cb353bb94c9689a10f8e04db32040df12696a4de012ad5dfd367466ad8017c063e2caca7aa90ec4c317af87efac71389c89d4f8627c226d96
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-paymentsresellersubscription_v1
2
2
 
3
+ ### v0.17.0 (2022-07-07)
4
+
5
+ * Regenerated from discovery document revision 20220706
6
+ * Regenerated using generator version 0.9.0
7
+
8
+ ### v0.16.0 (2022-07-02)
9
+
10
+ * Regenerated using generator version 0.8.0
11
+
12
+ ### v0.15.0 (2022-06-21)
13
+
14
+ * Regenerated using generator version 0.7.0
15
+
3
16
  ### v0.14.0 (2022-06-15)
4
17
 
5
18
  * Regenerated from discovery document revision 20220614
@@ -517,6 +517,32 @@ module Google
517
517
  end
518
518
  end
519
519
 
520
+ # A description of what time period or moment in time the product or service is
521
+ # being delivered over.
522
+ class GoogleCloudPaymentsResellerSubscriptionV1ServicePeriod
523
+ include Google::Apis::Core::Hashable
524
+
525
+ # Optional. The end time of the service period. Time is exclusive.
526
+ # Corresponds to the JSON property `endTime`
527
+ # @return [String]
528
+ attr_accessor :end_time
529
+
530
+ # Required. The start time of the service period. Time is inclusive.
531
+ # Corresponds to the JSON property `startTime`
532
+ # @return [String]
533
+ attr_accessor :start_time
534
+
535
+ def initialize(**args)
536
+ update!(**args)
537
+ end
538
+
539
+ # Update properties of this object
540
+ def update!(**args)
541
+ @end_time = args[:end_time] if args.key?(:end_time)
542
+ @start_time = args[:start_time] if args.key?(:start_time)
543
+ end
544
+ end
545
+
520
546
  # A Subscription resource managed by 3P Partners.
521
547
  class GoogleCloudPaymentsResellerSubscriptionV1Subscription
522
548
  include Google::Apis::Core::Hashable
@@ -685,7 +711,7 @@ module Google
685
711
  end
686
712
  end
687
713
 
688
- # Individual line item definition of a subscription. Next id: 6
714
+ # Individual line item definition of a subscription. Next id: 8
689
715
  class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem
690
716
  include Google::Apis::Core::Hashable
691
717
 
@@ -710,12 +736,22 @@ module Google
710
736
  # @return [Array<Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec>]
711
737
  attr_accessor :line_item_promotion_specs
712
738
 
739
+ # Details for a ONE_TIME recurrence line item.
740
+ # Corresponds to the JSON property `oneTimeRecurrenceDetails`
741
+ # @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails]
742
+ attr_accessor :one_time_recurrence_details
743
+
713
744
  # Required. Product resource name that identifies one the line item The format
714
745
  # is 'partners/`partner_id`/products/`product_id`'.
715
746
  # Corresponds to the JSON property `product`
716
747
  # @return [String]
717
748
  attr_accessor :product
718
749
 
750
+ # Output only. The recurrence type of the line item.
751
+ # Corresponds to the JSON property `recurrenceType`
752
+ # @return [String]
753
+ attr_accessor :recurrence_type
754
+
719
755
  # Output only. The state of the line item.
720
756
  # Corresponds to the JSON property `state`
721
757
  # @return [String]
@@ -730,11 +766,33 @@ module Google
730
766
  @description = args[:description] if args.key?(:description)
731
767
  @line_item_free_trial_end_time = args[:line_item_free_trial_end_time] if args.key?(:line_item_free_trial_end_time)
732
768
  @line_item_promotion_specs = args[:line_item_promotion_specs] if args.key?(:line_item_promotion_specs)
769
+ @one_time_recurrence_details = args[:one_time_recurrence_details] if args.key?(:one_time_recurrence_details)
733
770
  @product = args[:product] if args.key?(:product)
771
+ @recurrence_type = args[:recurrence_type] if args.key?(:recurrence_type)
734
772
  @state = args[:state] if args.key?(:state)
735
773
  end
736
774
  end
737
775
 
776
+ # Details for a ONE_TIME recurrence line item.
777
+ class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails
778
+ include Google::Apis::Core::Hashable
779
+
780
+ # A description of what time period or moment in time the product or service is
781
+ # being delivered over.
782
+ # Corresponds to the JSON property `servicePeriod`
783
+ # @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ServicePeriod]
784
+ attr_accessor :service_period
785
+
786
+ def initialize(**args)
787
+ update!(**args)
788
+ end
789
+
790
+ # Update properties of this object
791
+ def update!(**args)
792
+ @service_period = args[:service_period] if args.key?(:service_period)
793
+ end
794
+ end
795
+
738
796
  # Describes the spec for one promotion.
739
797
  class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec
740
798
  include Google::Apis::Core::Hashable
@@ -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.14.0"
19
+ GEM_VERSION = "0.17.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.6.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220614"
25
+ REVISION = "20220706"
26
26
  end
27
27
  end
28
28
  end
@@ -124,6 +124,12 @@ module Google
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
+ class GoogleCloudPaymentsResellerSubscriptionV1ServicePeriod
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
127
133
  class GoogleCloudPaymentsResellerSubscriptionV1Subscription
128
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
135
 
@@ -142,6 +148,12 @@ module Google
142
148
  include Google::Apis::Core::JsonObjectSupport
143
149
  end
144
150
 
151
+ class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
145
157
  class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec
146
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
159
 
@@ -326,6 +338,14 @@ module Google
326
338
  end
327
339
  end
328
340
 
341
+ class GoogleCloudPaymentsResellerSubscriptionV1ServicePeriod
342
+ # @private
343
+ class Representation < Google::Apis::Core::JsonRepresentation
344
+ property :end_time, as: 'endTime'
345
+ property :start_time, as: 'startTime'
346
+ end
347
+ end
348
+
329
349
  class GoogleCloudPaymentsResellerSubscriptionV1Subscription
330
350
  # @private
331
351
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -369,11 +389,22 @@ module Google
369
389
  property :line_item_free_trial_end_time, as: 'lineItemFreeTrialEndTime'
370
390
  collection :line_item_promotion_specs, as: 'lineItemPromotionSpecs', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec::Representation
371
391
 
392
+ property :one_time_recurrence_details, as: 'oneTimeRecurrenceDetails', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails::Representation
393
+
372
394
  property :product, as: 'product'
395
+ property :recurrence_type, as: 'recurrenceType'
373
396
  property :state, as: 'state'
374
397
  end
375
398
  end
376
399
 
400
+ class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails
401
+ # @private
402
+ class Representation < Google::Apis::Core::JsonRepresentation
403
+ property :service_period, as: 'servicePeriod', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ServicePeriod, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ServicePeriod::Representation
404
+
405
+ end
406
+ end
407
+
377
408
  class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec
378
409
  # @private
379
410
  class Representation < Google::Apis::Core::JsonRepresentation
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.14.0
4
+ version: 0.17.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: 2022-06-20 00:00:00.000000000 Z
11
+ date: 2022-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.5'
19
+ version: '0.7'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.5'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-paymentsresellersubscription_v1/v0.17.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: []