google-apis-paymentsresellersubscription_v1 0.37.0 → 0.39.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/paymentsresellersubscription_v1/classes.rb +48 -10
- data/lib/google/apis/paymentsresellersubscription_v1/gem_version.rb +3 -3
- data/lib/google/apis/paymentsresellersubscription_v1/representations.rb +1 -0
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89d29a150646c60d2893292978796a48a3afb9b3ef2c1c8d4080b42899b56cbe
|
4
|
+
data.tar.gz: 9d2ebff86dff6e5c19dd9d59fa07a0417734a9e9d1e601e74627a66ea57f1135
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1379215dda529ea2dc2313ee74fe2fb111405b39486f028c52497f934700d7b3fc744f2153f77ccd12421ded03418cef0e09f6c805384f75d7c1b7fa49b1ceb6
|
7
|
+
data.tar.gz: 1563e1e7462eca31d0dcd37389649122be6c780a44ff9ecf3051a46e4ba6e06bfb88ad61009f2c598ad76bc43d163be27392d5665943c055cf8952c047c882d2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Release history for google-apis-paymentsresellersubscription_v1
|
2
2
|
|
3
|
+
### v0.39.0 (2024-02-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240222
|
6
|
+
* Regenerated using generator version 0.14.0
|
7
|
+
|
8
|
+
### v0.38.0 (2024-02-04)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240201
|
11
|
+
* Regenerated using generator version 0.13.1
|
12
|
+
|
3
13
|
### v0.37.0 (2024-01-22)
|
4
14
|
|
5
15
|
* Regenerated from discovery document revision 20231210
|
data/OVERVIEW.md
CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://developers.google.com/payments/reseller/subs
|
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
86
|
-
This library is supported on Ruby 2.
|
86
|
+
This library is supported on Ruby 2.7+.
|
87
87
|
|
88
|
-
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life.
|
88
|
+
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
89
89
|
|
90
90
|
## License
|
91
91
|
|
@@ -81,7 +81,15 @@ module Google
|
|
81
81
|
class GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionResponse
|
82
82
|
include Google::Apis::Core::Hashable
|
83
83
|
|
84
|
-
# A
|
84
|
+
# A subscription serves as a central billing entity between an external partner
|
85
|
+
# and Google. The underlying Google services rely on the subscription state to
|
86
|
+
# grant or revoke the user's service entitlement. It's important to note that
|
87
|
+
# the subscription state may not always perfectly align with the user's service
|
88
|
+
# entitlement. For example, some Google services may continue providing access
|
89
|
+
# to the user until the current billing cycle ends, even if the subscription has
|
90
|
+
# been immediately canceled. However, other services may not do the same. To
|
91
|
+
# fully understand the specific details, please consult the relevant contract or
|
92
|
+
# product policy.
|
85
93
|
# Corresponds to the JSON property `subscription`
|
86
94
|
# @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Subscription]
|
87
95
|
attr_accessor :subscription
|
@@ -174,7 +182,15 @@ module Google
|
|
174
182
|
class GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponse
|
175
183
|
include Google::Apis::Core::Hashable
|
176
184
|
|
177
|
-
# A
|
185
|
+
# A subscription serves as a central billing entity between an external partner
|
186
|
+
# and Google. The underlying Google services rely on the subscription state to
|
187
|
+
# grant or revoke the user's service entitlement. It's important to note that
|
188
|
+
# the subscription state may not always perfectly align with the user's service
|
189
|
+
# entitlement. For example, some Google services may continue providing access
|
190
|
+
# to the user until the current billing cycle ends, even if the subscription has
|
191
|
+
# been immediately canceled. However, other services may not do the same. To
|
192
|
+
# fully understand the specific details, please consult the relevant contract or
|
193
|
+
# product policy.
|
178
194
|
# Corresponds to the JSON property `subscription`
|
179
195
|
# @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Subscription]
|
180
196
|
attr_accessor :subscription
|
@@ -502,7 +518,7 @@ module Google
|
|
502
518
|
# @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails]
|
503
519
|
attr_accessor :finite_billing_cycle_details
|
504
520
|
|
505
|
-
#
|
521
|
+
# Identifier. Response only. Resource name of the product. It will have the
|
506
522
|
# format of "partners/`partner_id`/products/`product_id`"
|
507
523
|
# Corresponds to the JSON property `name`
|
508
524
|
# @return [String]
|
@@ -648,7 +664,7 @@ module Google
|
|
648
664
|
# @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails]
|
649
665
|
attr_accessor :introductory_pricing_details
|
650
666
|
|
651
|
-
#
|
667
|
+
# Identifier. Response only. Resource name of the subscription promotion. It
|
652
668
|
# will have the format of "partners/`partner_id`/promotion/`promotion_id`"
|
653
669
|
# Corresponds to the JSON property `name`
|
654
670
|
# @return [String]
|
@@ -698,7 +714,7 @@ module Google
|
|
698
714
|
class GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails
|
699
715
|
include Google::Apis::Core::Hashable
|
700
716
|
|
701
|
-
# Specifies the introductory pricing periods.
|
717
|
+
# Output only. Specifies the introductory pricing periods.
|
702
718
|
# Corresponds to the JSON property `introductoryPricingSpecs`
|
703
719
|
# @return [Array<Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec>]
|
704
720
|
attr_accessor :introductory_pricing_specs
|
@@ -779,7 +795,15 @@ module Google
|
|
779
795
|
end
|
780
796
|
end
|
781
797
|
|
782
|
-
# A
|
798
|
+
# A subscription serves as a central billing entity between an external partner
|
799
|
+
# and Google. The underlying Google services rely on the subscription state to
|
800
|
+
# grant or revoke the user's service entitlement. It's important to note that
|
801
|
+
# the subscription state may not always perfectly align with the user's service
|
802
|
+
# entitlement. For example, some Google services may continue providing access
|
803
|
+
# to the user until the current billing cycle ends, even if the subscription has
|
804
|
+
# been immediately canceled. However, other services may not do the same. To
|
805
|
+
# fully understand the specific details, please consult the relevant contract or
|
806
|
+
# product policy.
|
783
807
|
class GoogleCloudPaymentsResellerSubscriptionV1Subscription
|
784
808
|
include Google::Apis::Core::Hashable
|
785
809
|
|
@@ -818,7 +842,7 @@ module Google
|
|
818
842
|
# @return [Array<Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem>]
|
819
843
|
attr_accessor :line_items
|
820
844
|
|
821
|
-
#
|
845
|
+
# Identifier. Resource name of the subscription. It will have the format of "
|
822
846
|
# partners/`partner_id`/subscriptions/`subscription_id`". This is available for
|
823
847
|
# authorizeAddon, but otherwise is response only.
|
824
848
|
# Corresponds to the JSON property `name`
|
@@ -933,7 +957,7 @@ module Google
|
|
933
957
|
class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails
|
934
958
|
include Google::Apis::Core::Hashable
|
935
959
|
|
936
|
-
# The reason of the cancellation.
|
960
|
+
# Output only. The reason of the cancellation.
|
937
961
|
# Corresponds to the JSON property `reason`
|
938
962
|
# @return [String]
|
939
963
|
attr_accessor :reason
|
@@ -1169,7 +1193,15 @@ module Google
|
|
1169
1193
|
class GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionResponse
|
1170
1194
|
include Google::Apis::Core::Hashable
|
1171
1195
|
|
1172
|
-
# A
|
1196
|
+
# A subscription serves as a central billing entity between an external partner
|
1197
|
+
# and Google. The underlying Google services rely on the subscription state to
|
1198
|
+
# grant or revoke the user's service entitlement. It's important to note that
|
1199
|
+
# the subscription state may not always perfectly align with the user's service
|
1200
|
+
# entitlement. For example, some Google services may continue providing access
|
1201
|
+
# to the user until the current billing cycle ends, even if the subscription has
|
1202
|
+
# been immediately canceled. However, other services may not do the same. To
|
1203
|
+
# fully understand the specific details, please consult the relevant contract or
|
1204
|
+
# product policy.
|
1173
1205
|
# Corresponds to the JSON property `subscription`
|
1174
1206
|
# @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Subscription]
|
1175
1207
|
attr_accessor :subscription
|
@@ -1198,6 +1230,11 @@ module Google
|
|
1198
1230
|
# @return [Array<String>]
|
1199
1231
|
attr_accessor :partner_eligibility_ids
|
1200
1232
|
|
1233
|
+
# Optional. Specifies the plan type offered to the end user by the partner.
|
1234
|
+
# Corresponds to the JSON property `partnerPlanType`
|
1235
|
+
# @return [String]
|
1236
|
+
attr_accessor :partner_plan_type
|
1237
|
+
|
1201
1238
|
def initialize(**args)
|
1202
1239
|
update!(**args)
|
1203
1240
|
end
|
@@ -1206,6 +1243,7 @@ module Google
|
|
1206
1243
|
def update!(**args)
|
1207
1244
|
@access_end_time = args[:access_end_time] if args.key?(:access_end_time)
|
1208
1245
|
@partner_eligibility_ids = args[:partner_eligibility_ids] if args.key?(:partner_eligibility_ids)
|
1246
|
+
@partner_plan_type = args[:partner_plan_type] if args.key?(:partner_plan_type)
|
1209
1247
|
end
|
1210
1248
|
end
|
1211
1249
|
|
@@ -1265,7 +1303,7 @@ module Google
|
|
1265
1303
|
class SubscriptionLineItemBundleDetails
|
1266
1304
|
include Google::Apis::Core::Hashable
|
1267
1305
|
|
1268
|
-
# The details for each element in the hard bundle.
|
1306
|
+
# Output only. The details for each element in the hard bundle.
|
1269
1307
|
# Corresponds to the JSON property `bundleElementDetails`
|
1270
1308
|
# @return [Array<Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemBundleDetailsBundleElementDetails>]
|
1271
1309
|
attr_accessor :bundle_element_details
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.39.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240222"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -599,6 +599,7 @@ module Google
|
|
599
599
|
class Representation < Google::Apis::Core::JsonRepresentation
|
600
600
|
property :access_end_time, as: 'accessEndTime'
|
601
601
|
collection :partner_eligibility_ids, as: 'partnerEligibilityIds'
|
602
|
+
property :partner_plan_type, as: 'partnerPlanType'
|
602
603
|
end
|
603
604
|
end
|
604
605
|
|
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.
|
4
|
+
version: 0.39.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: 2024-
|
11
|
+
date: 2024-02-25 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.
|
19
|
+
version: 0.14.0
|
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.
|
29
|
+
version: 0.14.0
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-paymentsresellersubscription_v1/v0.39.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: []
|
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
68
68
|
requirements:
|
69
69
|
- - ">="
|
70
70
|
- !ruby/object:Gem::Version
|
71
|
-
version: '2.
|
71
|
+
version: '2.7'
|
72
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.6
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Payments Reseller Subscription API V1
|