google-apis-paymentsresellersubscription_v1 0.3.0 → 0.7.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: 4538949125b62dbb2ebdd60b79c17021272df3bd1c770431cdf857d3543feeb5
4
- data.tar.gz: 646f0b986e76469b607cc52a0a8ecab313cbbafb1847aee00e62af53114ea7fd
3
+ metadata.gz: b5aba30ce5c4cb3b1784377e5b4bcacc2de8df798c6e99246b2cec3dfd73e0e7
4
+ data.tar.gz: 510369a8264e7d2c6bc05d23901e9bee9a073d91a2c351f28d89f1f717d81e82
5
5
  SHA512:
6
- metadata.gz: 15c1665f39b732fbd5528a06e17cb8da7802ce3d960e9135f0e776ddc1136fe4d0615bdf47edb55a509f0577233aaffda0879838d9f270ba95bfdc2442878e85
7
- data.tar.gz: 3ff85425977ba6918b9a61c91bf8e83ea6d7930b61a28a5119bfa966203e2851cff7e2093cdcb36f577d732cb4e131aed52211b940bfed56c02b016702c6428e
6
+ metadata.gz: cdf904ea6938cf8e3bb6cfde56b354888f8f6a1a84476c01e5184d97706e0c952c5138510070ff3e0c567ec6435758faa66e02a8368841d1bd76155ac10db4d8
7
+ data.tar.gz: 217779499300120f22e1537f9f3088182a294de4b1ab59a296eaea25041e434d77f39548e794656d4f7582b5af5c3f2f11c0a1c724a86da4ae1223b980d2a75e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Release history for google-apis-paymentsresellersubscription_v1
2
2
 
3
+ ### v0.7.0 (2021-10-27)
4
+
5
+ * Regenerated from discovery document revision 20211026
6
+ * Unspecified changes
7
+
8
+ ### v0.6.0 (2021-10-14)
9
+
10
+ * Regenerated from discovery document revision 20211013
11
+
12
+ ### v0.5.0 (2021-07-03)
13
+
14
+ * Regenerated from discovery document revision 20210701
15
+ * Regenerated using generator version 0.4.0
16
+
17
+ ### v0.4.0 (2021-06-24)
18
+
19
+ * Unspecified changes
20
+
3
21
  ### v0.3.0 (2021-06-17)
4
22
 
5
23
  * Regenerated from discovery document revision 20210616
data/OVERVIEW.md CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Paymentsresellersubscription service in particular.)
67
67
 
@@ -27,8 +27,8 @@ module Google
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
29
  # Optional. If true, the subscription will be cancelled immediately. Otherwise,
30
- # the subscription will be cancelled at the end of the current cycle, and
31
- # therefore no prorated refund will be issued for the rest of the cycle.
30
+ # the subscription will be cancelled at renewal_time, and therefore no prorated
31
+ # refund will be issued for the rest of the cycle.
32
32
  # Corresponds to the JSON property `cancelImmediately`
33
33
  # @return [Boolean]
34
34
  attr_accessor :cancel_immediately
@@ -175,6 +175,15 @@ module Google
175
175
  # @return [String]
176
176
  attr_accessor :free_trial_end_time
177
177
 
178
+ # Output only. The time at which the subscription is expected to be renewed by
179
+ # Google - a new charge will be incurred and the service entitlement will be
180
+ # renewed. A non-immediate cancellation will take place at this time too, before
181
+ # which, the service entitlement for the end user will remain valid. UTC
182
+ # timezone in ISO 8061 format. For example: "2019-08-31T17:28:54.564Z"
183
+ # Corresponds to the JSON property `renewalTime`
184
+ # @return [String]
185
+ attr_accessor :renewal_time
186
+
178
187
  def initialize(**args)
179
188
  update!(**args)
180
189
  end
@@ -183,6 +192,7 @@ module Google
183
192
  def update!(**args)
184
193
  @cycle_end_time = args[:cycle_end_time] if args.key?(:cycle_end_time)
185
194
  @free_trial_end_time = args[:free_trial_end_time] if args.key?(:free_trial_end_time)
195
+ @renewal_time = args[:renewal_time] if args.key?(:renewal_time)
186
196
  end
187
197
  end
188
198
 
@@ -392,7 +402,7 @@ module Google
392
402
  class GoogleCloudPaymentsResellerSubscriptionV1Subscription
393
403
  include Google::Apis::Core::Hashable
394
404
 
395
- # Describes the details of a cancelled subscription.
405
+ # Describes the details of a cancelled or cancelling subscription.
396
406
  # Corresponds to the JSON property `cancellationDetails`
397
407
  # @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails]
398
408
  attr_accessor :cancellation_details
@@ -434,6 +444,13 @@ module Google
434
444
  # @return [String]
435
445
  attr_accessor :partner_user_token
436
446
 
447
+ # Output only. Describes the processing state of the subscription. See more
448
+ # details at [the lifecycle of a subscription](/payments/reseller/subscription/
449
+ # reference/index/Receive.Notifications#payments-subscription-lifecycle).
450
+ # Corresponds to the JSON property `processingState`
451
+ # @return [String]
452
+ attr_accessor :processing_state
453
+
437
454
  # Required. Resource name that identifies one or more subscription products. The
438
455
  # format will be 'partners/`partner_id`/products/`product_id`'.
439
456
  # Corresponds to the JSON property `products`
@@ -460,7 +477,7 @@ module Google
460
477
  # @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Location]
461
478
  attr_accessor :service_location
462
479
 
463
- # Output only. Descibes the state of the subscription. See more details at [the
480
+ # Output only. Describes the state of the subscription. See more details at [the
464
481
  # lifecycle of a subscription](/payments/reseller/subscription/reference/index/
465
482
  # Receive.Notifications#payments-subscription-lifecycle).
466
483
  # Corresponds to the JSON property `state`
@@ -492,6 +509,7 @@ module Google
492
509
  @free_trial_end_time = args[:free_trial_end_time] if args.key?(:free_trial_end_time)
493
510
  @name = args[:name] if args.key?(:name)
494
511
  @partner_user_token = args[:partner_user_token] if args.key?(:partner_user_token)
512
+ @processing_state = args[:processing_state] if args.key?(:processing_state)
495
513
  @products = args[:products] if args.key?(:products)
496
514
  @promotions = args[:promotions] if args.key?(:promotions)
497
515
  @redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
@@ -502,7 +520,7 @@ module Google
502
520
  end
503
521
  end
504
522
 
505
- # Describes the details of a cancelled subscription.
523
+ # Describes the details of a cancelled or cancelling subscription.
506
524
  class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails
507
525
  include Google::Apis::Core::Hashable
508
526
 
@@ -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.3.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.3.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210616"
25
+ REVISION = "20211026"
26
26
  end
27
27
  end
28
28
  end
@@ -188,6 +188,7 @@ module Google
188
188
  class Representation < Google::Apis::Core::JsonRepresentation
189
189
  property :cycle_end_time, as: 'cycleEndTime'
190
190
  property :free_trial_end_time, as: 'freeTrialEndTime'
191
+ property :renewal_time, as: 'renewalTime'
191
192
  end
192
193
  end
193
194
 
@@ -264,6 +265,7 @@ module Google
264
265
  property :free_trial_end_time, as: 'freeTrialEndTime'
265
266
  property :name, as: 'name'
266
267
  property :partner_user_token, as: 'partnerUserToken'
268
+ property :processing_state, as: 'processingState'
267
269
  collection :products, as: 'products'
268
270
  collection :promotions, as: 'promotions'
269
271
  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 by the end of the current
143
- # billing cycle for their customers. It should be called directly by the partner
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`"
@@ -255,8 +255,9 @@ module Google
255
255
  execute_or_queue_command(command, &block)
256
256
  end
257
257
 
258
- # Used by partners to extend a subscription service for their customers. It
259
- # should be called directly by the partner using service accounts.
258
+ # Used by partners to extend a subscription service for their customers on an
259
+ # ongoing basis for the subscription to remain active and renewable. It should
260
+ # be called directly by the partner using service accounts.
260
261
  # @param [String] name
261
262
  # Required. The name of the subscription resource to be extended. It will have
262
263
  # the format of "partners/`partner_id`/subscriptions/`subscription_id`".
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-paymentsresellersubscription_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.7.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-06-21 00:00:00.000000000 Z
11
+ date: 2021-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.4'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Payments Reseller Subscription API
28
34
  V1. Simple REST clients are Ruby client libraries that provide access to Google
29
35
  services via their HTTP REST API endpoints. These libraries are generated and updated
@@ -51,9 +57,9 @@ licenses:
51
57
  - Apache-2.0
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
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.3.0
56
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-paymentsresellersubscription_v1
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.7.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-paymentsresellersubscription_v1
57
63
  post_install_message:
58
64
  rdoc_options: []
59
65
  require_paths: