google-apis-paymentsresellersubscription_v1 0.2.0 → 0.3.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4538949125b62dbb2ebdd60b79c17021272df3bd1c770431cdf857d3543feeb5
|
4
|
+
data.tar.gz: 646f0b986e76469b607cc52a0a8ecab313cbbafb1847aee00e62af53114ea7fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15c1665f39b732fbd5528a06e17cb8da7802ce3d960e9135f0e776ddc1136fe4d0615bdf47edb55a509f0577233aaffda0879838d9f270ba95bfdc2442878e85
|
7
|
+
data.tar.gz: 3ff85425977ba6918b9a61c91bf8e83ea6d7930b61a28a5119bfa966203e2851cff7e2093cdcb36f577d732cb4e131aed52211b940bfed56c02b016702c6428e
|
data/CHANGELOG.md
CHANGED
@@ -473,6 +473,12 @@ module Google
|
|
473
473
|
# @return [String]
|
474
474
|
attr_accessor :update_time
|
475
475
|
|
476
|
+
# Details about the previous subscription that this new subscription upgrades/
|
477
|
+
# downgrades from.
|
478
|
+
# Corresponds to the JSON property `upgradeDowngradeDetails`
|
479
|
+
# @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails]
|
480
|
+
attr_accessor :upgrade_downgrade_details
|
481
|
+
|
476
482
|
def initialize(**args)
|
477
483
|
update!(**args)
|
478
484
|
end
|
@@ -492,6 +498,7 @@ module Google
|
|
492
498
|
@service_location = args[:service_location] if args.key?(:service_location)
|
493
499
|
@state = args[:state] if args.key?(:state)
|
494
500
|
@update_time = args[:update_time] if args.key?(:update_time)
|
501
|
+
@upgrade_downgrade_details = args[:upgrade_downgrade_details] if args.key?(:upgrade_downgrade_details)
|
495
502
|
end
|
496
503
|
end
|
497
504
|
|
@@ -514,6 +521,34 @@ module Google
|
|
514
521
|
end
|
515
522
|
end
|
516
523
|
|
524
|
+
# Details about the previous subscription that this new subscription upgrades/
|
525
|
+
# downgrades from.
|
526
|
+
class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails
|
527
|
+
include Google::Apis::Core::Hashable
|
528
|
+
|
529
|
+
# Required. Specifies the billing cycle spec for the new upgraded/downgraded
|
530
|
+
# subscription.
|
531
|
+
# Corresponds to the JSON property `billingCycleSpec`
|
532
|
+
# @return [String]
|
533
|
+
attr_accessor :billing_cycle_spec
|
534
|
+
|
535
|
+
# Required. The previous subscription id to be replaced. This is not the full
|
536
|
+
# resource name, use the subscription_id segment only.
|
537
|
+
# Corresponds to the JSON property `previousSubscriptionId`
|
538
|
+
# @return [String]
|
539
|
+
attr_accessor :previous_subscription_id
|
540
|
+
|
541
|
+
def initialize(**args)
|
542
|
+
update!(**args)
|
543
|
+
end
|
544
|
+
|
545
|
+
# Update properties of this object
|
546
|
+
def update!(**args)
|
547
|
+
@billing_cycle_spec = args[:billing_cycle_spec] if args.key?(:billing_cycle_spec)
|
548
|
+
@previous_subscription_id = args[:previous_subscription_id] if args.key?(:previous_subscription_id)
|
549
|
+
end
|
550
|
+
end
|
551
|
+
|
517
552
|
# Request to revoke a cancellation request.
|
518
553
|
class GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionRequest
|
519
554
|
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.
|
19
|
+
GEM_VERSION = "0.3.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210616"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -112,6 +112,12 @@ module Google
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
113
113
|
end
|
114
114
|
|
115
|
+
class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
115
121
|
class GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionRequest
|
116
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
123
|
|
@@ -265,6 +271,8 @@ module Google
|
|
265
271
|
|
266
272
|
property :state, as: 'state'
|
267
273
|
property :update_time, as: 'updateTime'
|
274
|
+
property :upgrade_downgrade_details, as: 'upgradeDowngradeDetails', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails::Representation
|
275
|
+
|
268
276
|
end
|
269
277
|
end
|
270
278
|
|
@@ -275,6 +283,14 @@ module Google
|
|
275
283
|
end
|
276
284
|
end
|
277
285
|
|
286
|
+
class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails
|
287
|
+
# @private
|
288
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
289
|
+
property :billing_cycle_spec, as: 'billingCycleSpec'
|
290
|
+
property :previous_subscription_id, as: 'previousSubscriptionId'
|
291
|
+
end
|
292
|
+
end
|
293
|
+
|
278
294
|
class GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionRequest
|
279
295
|
# @private
|
280
296
|
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.
|
4
|
+
version: 0.3.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: 2021-
|
11
|
+
date: 2021-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-paymentsresellersubscription_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-paymentsresellersubscription_v1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-paymentsresellersubscription_v1/v0.3.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-paymentsresellersubscription_v1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|