google-apis-paymentsresellersubscription_v1 0.5.0 → 0.9.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: d7565daaf27d7447a05550b0b002c8b474c7e8e7c092b61713bedea7031463d0
4
- data.tar.gz: 67bf6f1d12733a5f6e7923d42d81fd434e5776a9d1c519fdda32865f8697e644
3
+ metadata.gz: ae5a5b5c155a131f40e5eab89da57294f1a8b01afdf4fe4c06f238c8603a4402
4
+ data.tar.gz: 197a1c89cfe744f09d2df931c5b8a1b2328a1073ef0a9a5ef96ee5bb4b41445c
5
5
  SHA512:
6
- metadata.gz: c7e1e04a41b3b31ebe4ee47e0369090bd3097d299cde5514d40230b2834fc815c333ec6577f524cf8c300aae38bb6591dbfca61cfcae17e3c63bb11ca67ad962
7
- data.tar.gz: '09407544d6efd543b721f31f51d48fd310f9d68e2d7f5ec2113a4d963d6e0c93fddb37228cf542e11a9ae45deb71bb3c4fb9acf195d37996216a8fbacb79cfb3'
6
+ metadata.gz: c467dfea4705caabe2f3edb488512350b020790d78a967738a0c7f9a382cc3c670335fa77c3430a0a6f525e5c90cfb15e927b3aa6746df8a19ccc07fe0c13df1
7
+ data.tar.gz: 3118a04a502fe027d776436f554db49b8345ebda271f4926289e60d0a6b4c51da3196b790d3b248354f5fcd8f2a782d4c382f049d370e431e842bfa0b625f549
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-paymentsresellersubscription_v1
2
2
 
3
+ ### v0.9.0 (2021-11-13)
4
+
5
+ * Regenerated from discovery document revision 20211112
6
+
7
+ ### v0.8.0 (2021-11-06)
8
+
9
+ * Regenerated from discovery document revision 20211105
10
+
11
+ ### v0.7.0 (2021-10-27)
12
+
13
+ * Regenerated from discovery document revision 20211026
14
+ * Unspecified changes
15
+
16
+ ### v0.6.0 (2021-10-14)
17
+
18
+ * Regenerated from discovery document revision 20211013
19
+
3
20
  ### v0.5.0 (2021-07-03)
4
21
 
5
22
  * Regenerated from discovery document revision 20210701
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
 
@@ -349,12 +359,22 @@ module Google
349
359
  # @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Duration]
350
360
  attr_accessor :free_trial_duration
351
361
 
362
+ # The details of a introductory pricing promotion.
363
+ # Corresponds to the JSON property `introductoryPricingDetails`
364
+ # @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails]
365
+ attr_accessor :introductory_pricing_details
366
+
352
367
  # Output only. Response only. Resource name of the subscription promotion. It
353
368
  # will have the format of "partners/`partner_id`/promotion/`promotion_id`"
354
369
  # Corresponds to the JSON property `name`
355
370
  # @return [String]
356
371
  attr_accessor :name
357
372
 
373
+ # Output only. Output Only. Specifies the type of the promotion.
374
+ # Corresponds to the JSON property `promotionType`
375
+ # @return [String]
376
+ attr_accessor :promotion_type
377
+
358
378
  # Output only. 2-letter ISO region code where the promotion is available in. Ex.
359
379
  # "US" Please refers to: https://en.wikipedia.org/wiki/ISO_3166-1
360
380
  # Corresponds to the JSON property `regionCodes`
@@ -381,13 +401,54 @@ module Google
381
401
  @applicable_products = args[:applicable_products] if args.key?(:applicable_products)
382
402
  @end_time = args[:end_time] if args.key?(:end_time)
383
403
  @free_trial_duration = args[:free_trial_duration] if args.key?(:free_trial_duration)
404
+ @introductory_pricing_details = args[:introductory_pricing_details] if args.key?(:introductory_pricing_details)
384
405
  @name = args[:name] if args.key?(:name)
406
+ @promotion_type = args[:promotion_type] if args.key?(:promotion_type)
385
407
  @region_codes = args[:region_codes] if args.key?(:region_codes)
386
408
  @start_time = args[:start_time] if args.key?(:start_time)
387
409
  @titles = args[:titles] if args.key?(:titles)
388
410
  end
389
411
  end
390
412
 
413
+ # The details of a introductory pricing promotion.
414
+ class GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails
415
+ include Google::Apis::Core::Hashable
416
+
417
+ # Specifies the introductory pricing periods.
418
+ # Corresponds to the JSON property `introductoryPricingSpecs`
419
+ # @return [Array<Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec>]
420
+ attr_accessor :introductory_pricing_specs
421
+
422
+ def initialize(**args)
423
+ update!(**args)
424
+ end
425
+
426
+ # Update properties of this object
427
+ def update!(**args)
428
+ @introductory_pricing_specs = args[:introductory_pricing_specs] if args.key?(:introductory_pricing_specs)
429
+ end
430
+ end
431
+
432
+ # The duration of an introductory pricing promotion.
433
+ class GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec
434
+ include Google::Apis::Core::Hashable
435
+
436
+ # Output only. Output Only. The duration of an introductory offer in billing
437
+ # cycles.
438
+ # Corresponds to the JSON property `recurrenceCount`
439
+ # @return [Fixnum]
440
+ attr_accessor :recurrence_count
441
+
442
+ def initialize(**args)
443
+ update!(**args)
444
+ end
445
+
446
+ # Update properties of this object
447
+ def update!(**args)
448
+ @recurrence_count = args[:recurrence_count] if args.key?(:recurrence_count)
449
+ end
450
+ end
451
+
391
452
  # A Subscription resource managed by 3P Partners.
392
453
  class GoogleCloudPaymentsResellerSubscriptionV1Subscription
393
454
  include Google::Apis::Core::Hashable
@@ -462,6 +523,15 @@ module Google
462
523
  # @return [String]
463
524
  attr_accessor :redirect_uri
464
525
 
526
+ # Output only. The time at which the subscription is expected to be renewed by
527
+ # Google - a new charge will be incurred and the service entitlement will be
528
+ # renewed. A non-immediate cancellation will take place at this time too, before
529
+ # which, the service entitlement for the end user will remain valid. UTC
530
+ # timezone in ISO 8061 format. For example: "2019-08-31T17:28:54.564Z"
531
+ # Corresponds to the JSON property `renewalTime`
532
+ # @return [String]
533
+ attr_accessor :renewal_time
534
+
465
535
  # Describes a location of an end user.
466
536
  # Corresponds to the JSON property `serviceLocation`
467
537
  # @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Location]
@@ -503,6 +573,7 @@ module Google
503
573
  @products = args[:products] if args.key?(:products)
504
574
  @promotions = args[:promotions] if args.key?(:promotions)
505
575
  @redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
576
+ @renewal_time = args[:renewal_time] if args.key?(:renewal_time)
506
577
  @service_location = args[:service_location] if args.key?(:service_location)
507
578
  @state = args[:state] if args.key?(:state)
508
579
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -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.5.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210701"
25
+ REVISION = "20211112"
26
26
  end
27
27
  end
28
28
  end
@@ -100,6 +100,18 @@ module Google
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
+ class GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
103
115
  class GoogleCloudPaymentsResellerSubscriptionV1Subscription
104
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
117
 
@@ -188,6 +200,7 @@ module Google
188
200
  class Representation < Google::Apis::Core::JsonRepresentation
189
201
  property :cycle_end_time, as: 'cycleEndTime'
190
202
  property :free_trial_end_time, as: 'freeTrialEndTime'
203
+ property :renewal_time, as: 'renewalTime'
191
204
  end
192
205
  end
193
206
 
@@ -245,7 +258,10 @@ module Google
245
258
  property :end_time, as: 'endTime'
246
259
  property :free_trial_duration, as: 'freeTrialDuration', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Duration, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Duration::Representation
247
260
 
261
+ property :introductory_pricing_details, as: 'introductoryPricingDetails', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails::Representation
262
+
248
263
  property :name, as: 'name'
264
+ property :promotion_type, as: 'promotionType'
249
265
  collection :region_codes, as: 'regionCodes'
250
266
  property :start_time, as: 'startTime'
251
267
  collection :titles, as: 'titles', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleTypeLocalizedText, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleTypeLocalizedText::Representation
@@ -253,6 +269,21 @@ module Google
253
269
  end
254
270
  end
255
271
 
272
+ class GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails
273
+ # @private
274
+ class Representation < Google::Apis::Core::JsonRepresentation
275
+ collection :introductory_pricing_specs, as: 'introductoryPricingSpecs', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec::Representation
276
+
277
+ end
278
+ end
279
+
280
+ class GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec
281
+ # @private
282
+ class Representation < Google::Apis::Core::JsonRepresentation
283
+ property :recurrence_count, as: 'recurrenceCount'
284
+ end
285
+ end
286
+
256
287
  class GoogleCloudPaymentsResellerSubscriptionV1Subscription
257
288
  # @private
258
289
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -268,6 +299,7 @@ module Google
268
299
  collection :products, as: 'products'
269
300
  collection :promotions, as: 'promotions'
270
301
  property :redirect_uri, as: 'redirectUri'
302
+ property :renewal_time, as: 'renewalTime'
271
303
  property :service_location, as: 'serviceLocation', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Location, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Location::Representation
272
304
 
273
305
  property :state, as: 'state'
@@ -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,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.5.0
4
+ version: 0.9.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-07-05 00:00:00.000000000 Z
11
+ date: 2021-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
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.5.0
62
- 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.9.0
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: []
65
65
  require_paths: