google-apis-paymentsresellersubscription_v1 0.4.0 → 0.5.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 +5 -0
- data/lib/google/apis/paymentsresellersubscription_v1/classes.rb +11 -3
- data/lib/google/apis/paymentsresellersubscription_v1/gem_version.rb +3 -3
- data/lib/google/apis/paymentsresellersubscription_v1/representations.rb +1 -0
- data/lib/google/apis/paymentsresellersubscription_v1/service.rb +3 -3
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7565daaf27d7447a05550b0b002c8b474c7e8e7c092b61713bedea7031463d0
|
4
|
+
data.tar.gz: 67bf6f1d12733a5f6e7923d42d81fd434e5776a9d1c519fdda32865f8697e644
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7e1e04a41b3b31ebe4ee47e0369090bd3097d299cde5514d40230b2834fc815c333ec6577f524cf8c300aae38bb6591dbfca61cfcae17e3c63bb11ca67ad962
|
7
|
+
data.tar.gz: '09407544d6efd543b721f31f51d48fd310f9d68e2d7f5ec2113a4d963d6e0c93fddb37228cf542e11a9ae45deb71bb3c4fb9acf195d37996216a8fbacb79cfb3'
|
data/CHANGELOG.md
CHANGED
@@ -392,7 +392,7 @@ module Google
|
|
392
392
|
class GoogleCloudPaymentsResellerSubscriptionV1Subscription
|
393
393
|
include Google::Apis::Core::Hashable
|
394
394
|
|
395
|
-
# Describes the details of a cancelled subscription.
|
395
|
+
# Describes the details of a cancelled or cancelling subscription.
|
396
396
|
# Corresponds to the JSON property `cancellationDetails`
|
397
397
|
# @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails]
|
398
398
|
attr_accessor :cancellation_details
|
@@ -434,6 +434,13 @@ module Google
|
|
434
434
|
# @return [String]
|
435
435
|
attr_accessor :partner_user_token
|
436
436
|
|
437
|
+
# Output only. Describes the processing state of the subscription. See more
|
438
|
+
# details at [the lifecycle of a subscription](/payments/reseller/subscription/
|
439
|
+
# reference/index/Receive.Notifications#payments-subscription-lifecycle).
|
440
|
+
# Corresponds to the JSON property `processingState`
|
441
|
+
# @return [String]
|
442
|
+
attr_accessor :processing_state
|
443
|
+
|
437
444
|
# Required. Resource name that identifies one or more subscription products. The
|
438
445
|
# format will be 'partners/`partner_id`/products/`product_id`'.
|
439
446
|
# Corresponds to the JSON property `products`
|
@@ -460,7 +467,7 @@ module Google
|
|
460
467
|
# @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Location]
|
461
468
|
attr_accessor :service_location
|
462
469
|
|
463
|
-
# Output only.
|
470
|
+
# Output only. Describes the state of the subscription. See more details at [the
|
464
471
|
# lifecycle of a subscription](/payments/reseller/subscription/reference/index/
|
465
472
|
# Receive.Notifications#payments-subscription-lifecycle).
|
466
473
|
# Corresponds to the JSON property `state`
|
@@ -492,6 +499,7 @@ module Google
|
|
492
499
|
@free_trial_end_time = args[:free_trial_end_time] if args.key?(:free_trial_end_time)
|
493
500
|
@name = args[:name] if args.key?(:name)
|
494
501
|
@partner_user_token = args[:partner_user_token] if args.key?(:partner_user_token)
|
502
|
+
@processing_state = args[:processing_state] if args.key?(:processing_state)
|
495
503
|
@products = args[:products] if args.key?(:products)
|
496
504
|
@promotions = args[:promotions] if args.key?(:promotions)
|
497
505
|
@redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
|
@@ -502,7 +510,7 @@ module Google
|
|
502
510
|
end
|
503
511
|
end
|
504
512
|
|
505
|
-
# Describes the details of a cancelled subscription.
|
513
|
+
# Describes the details of a cancelled or cancelling subscription.
|
506
514
|
class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails
|
507
515
|
include Google::Apis::Core::Hashable
|
508
516
|
|
@@ -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.5.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210701"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -264,6 +264,7 @@ module Google
|
|
264
264
|
property :free_trial_end_time, as: 'freeTrialEndTime'
|
265
265
|
property :name, as: 'name'
|
266
266
|
property :partner_user_token, as: 'partnerUserToken'
|
267
|
+
property :processing_state, as: 'processingState'
|
267
268
|
collection :products, as: 'products'
|
268
269
|
collection :promotions, as: 'promotions'
|
269
270
|
property :redirect_uri, as: 'redirectUri'
|
@@ -139,9 +139,9 @@ module Google
|
|
139
139
|
execute_or_queue_command(command, &block)
|
140
140
|
end
|
141
141
|
|
142
|
-
# Used by partners to cancel a subscription service
|
143
|
-
# billing cycle for their customers. It should be called
|
144
|
-
# using service accounts.
|
142
|
+
# Used by partners to cancel a subscription service either immediately or by the
|
143
|
+
# end of the current billing cycle for their customers. It should be called
|
144
|
+
# directly by the partner using service accounts.
|
145
145
|
# @param [String] name
|
146
146
|
# Required. The name of the subscription resource to be cancelled. It will have
|
147
147
|
# the format of "partners/`partner_id`/subscriptions/`subscription_id`"
|
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.5.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-07-05 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.4'
|
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.4'
|
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/master/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.5.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-paymentsresellersubscription_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|