google-apis-paymentsresellersubscription_v1 0.6.0 → 0.10.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: 94c5472809fbf70b1077261a066bf76c955967a07a96644fc588a39d4680768b
4
- data.tar.gz: a76ccdaf51793099ae4b729ed360af32fd71939856c0f8ddfc63aebd15160d93
3
+ metadata.gz: 38da6cac623b643ab6e47473ea03a6a64d6a75c998bcb70c7866682b75587a75
4
+ data.tar.gz: 38be92362eea6f73ecb057fdd6887d1220f585449c52cb1b12935b679f66ded2
5
5
  SHA512:
6
- metadata.gz: d5e04efad2f22385f9e642a3d0c9c1f39cb4b7c3da8fb03ea830825c1c596643198670ab54aab6cab3428aa6e5779a50ad6096263d62fa6862c24ff4fc36a936
7
- data.tar.gz: 67f638539a5728b7bf7739dab9db94ca6ca027782e4f12a39025cbf6ce3349ccad69ba2f9c8b748d2b6a48f3e6c70046d0289e36704e631773085423e2682f72
6
+ metadata.gz: 79169f759e50bf222ae390a0cffad59d8e7b3a60326df1395ab68a25e374560dfe0ee286e8c14d627559402c4eee7bd8bf23341b37881e43caccaf468b2c59d8
7
+ data.tar.gz: dd9f412de74f36ce846faf3bebb487d425a4dc406c591446313249d268a311155ea3a176f6ddc9af9f198d777a5b177d01556eeba24f112b2cb913668693be51
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-paymentsresellersubscription_v1
2
2
 
3
+ ### v0.10.0 (2021-12-14)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.9.0 (2021-11-13)
8
+
9
+ * Regenerated from discovery document revision 20211112
10
+
11
+ ### v0.8.0 (2021-11-06)
12
+
13
+ * Regenerated from discovery document revision 20211105
14
+
15
+ ### v0.7.0 (2021-10-27)
16
+
17
+ * Regenerated from discovery document revision 20211026
18
+ * Unspecified changes
19
+
3
20
  ### v0.6.0 (2021-10-14)
4
21
 
5
22
  * Regenerated from discovery document revision 20211013
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/paymentsresellersubscription_v1"
51
51
  client = Google::Apis::PaymentsresellersubscriptionV1::PaymentsResellerSubscriptionService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -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
 
@@ -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.6.0"
19
+ GEM_VERSION = "0.10.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 = "20211013"
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'
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.6.0
4
+ version: 0.10.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-10-18 00:00:00.000000000 Z
11
+ date: 2022-01-10 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.6.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.10.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:
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.4
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Payments Reseller Subscription API V1