google-apis-paymentsresellersubscription_v1 0.7.0 → 0.8.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: 527892859d1eb2686a2bf4112ccd093cd22ce7a5ae04b888f08edb4e3de59120
|
4
|
+
data.tar.gz: efbd217ef2747ca921f144ff2333b0c9e1e750a5334bf37af171054b480ca34a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b082947c56a0557e0c18180af407f13031c3cc5af0dd8cdd2aaab2883b8735c3b48b1241e5051a5cfcf32d23cf91fbd55152a1f8d166cfcc762872d8a973e6e5
|
7
|
+
data.tar.gz: 494b591dd32cd31dcf0e750b2a54b800c03da4a2187c16fe9bcc5f40c3fa5d871021367706dbbcb79bb20ca48790e39297b1410b5ee6686f26ec3a8d9bcc2795
|
data/CHANGELOG.md
CHANGED
@@ -359,12 +359,22 @@ module Google
|
|
359
359
|
# @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Duration]
|
360
360
|
attr_accessor :free_trial_duration
|
361
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
|
+
|
362
367
|
# Output only. Response only. Resource name of the subscription promotion. It
|
363
368
|
# will have the format of "partners/`partner_id`/promotion/`promotion_id`"
|
364
369
|
# Corresponds to the JSON property `name`
|
365
370
|
# @return [String]
|
366
371
|
attr_accessor :name
|
367
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
|
+
|
368
378
|
# Output only. 2-letter ISO region code where the promotion is available in. Ex.
|
369
379
|
# "US" Please refers to: https://en.wikipedia.org/wiki/ISO_3166-1
|
370
380
|
# Corresponds to the JSON property `regionCodes`
|
@@ -391,13 +401,54 @@ module Google
|
|
391
401
|
@applicable_products = args[:applicable_products] if args.key?(:applicable_products)
|
392
402
|
@end_time = args[:end_time] if args.key?(:end_time)
|
393
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)
|
394
405
|
@name = args[:name] if args.key?(:name)
|
406
|
+
@promotion_type = args[:promotion_type] if args.key?(:promotion_type)
|
395
407
|
@region_codes = args[:region_codes] if args.key?(:region_codes)
|
396
408
|
@start_time = args[:start_time] if args.key?(:start_time)
|
397
409
|
@titles = args[:titles] if args.key?(:titles)
|
398
410
|
end
|
399
411
|
end
|
400
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
|
+
|
401
452
|
# A Subscription resource managed by 3P Partners.
|
402
453
|
class GoogleCloudPaymentsResellerSubscriptionV1Subscription
|
403
454
|
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.8.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 = "
|
25
|
+
REVISION = "20211105"
|
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
|
|
@@ -246,7 +258,10 @@ module Google
|
|
246
258
|
property :end_time, as: 'endTime'
|
247
259
|
property :free_trial_duration, as: 'freeTrialDuration', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Duration, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Duration::Representation
|
248
260
|
|
261
|
+
property :introductory_pricing_details, as: 'introductoryPricingDetails', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails::Representation
|
262
|
+
|
249
263
|
property :name, as: 'name'
|
264
|
+
property :promotion_type, as: 'promotionType'
|
250
265
|
collection :region_codes, as: 'regionCodes'
|
251
266
|
property :start_time, as: 'startTime'
|
252
267
|
collection :titles, as: 'titles', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleTypeLocalizedText, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleTypeLocalizedText::Representation
|
@@ -254,6 +269,21 @@ module Google
|
|
254
269
|
end
|
255
270
|
end
|
256
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
|
+
|
257
287
|
class GoogleCloudPaymentsResellerSubscriptionV1Subscription
|
258
288
|
# @private
|
259
289
|
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.8.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-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -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/main/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.8.0
|
62
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: []
|