google-apis-paymentsresellersubscription_v1 0.24.0 → 0.25.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 +4 -0
- data/lib/google/apis/paymentsresellersubscription_v1/classes.rb +88 -1
- data/lib/google/apis/paymentsresellersubscription_v1/gem_version.rb +2 -2
- data/lib/google/apis/paymentsresellersubscription_v1/representations.rb +47 -0
- data/lib/google/apis/paymentsresellersubscription_v1/service.rb +4 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6efbf4582604d33efa2edcfac2ad62fcf18766d1adc689288b631def98dfeaef
|
4
|
+
data.tar.gz: af152645f9d3575d16624f05b15981dfdb5bd018754232fffe21eb097a4255d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df163bc266f1c4e7d0b919fb9425a9fd78b67c415866e312c649fc76941b32ecf828742d28dbf00b4a83a8ac73cacb02581e3d5760f328bab5f512488e5ff2e7
|
7
|
+
data.tar.gz: 0bd79b8fe05c2c302085498b1a7d41aaee6eeb874aece05b886ebead34c9433dcd290d8e16795cc86936207d453db4a374b83b241799428bff877b7137cb19d7
|
data/CHANGELOG.md
CHANGED
@@ -318,6 +318,43 @@ module Google
|
|
318
318
|
end
|
319
319
|
end
|
320
320
|
|
321
|
+
# Payload specific to Google One products.
|
322
|
+
class GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload
|
323
|
+
include Google::Apis::Core::Hashable
|
324
|
+
|
325
|
+
# Campaign attributed to sales of this subscription.
|
326
|
+
# Corresponds to the JSON property `campaigns`
|
327
|
+
# @return [Array<String>]
|
328
|
+
attr_accessor :campaigns
|
329
|
+
|
330
|
+
# The type of offering the subscription was sold by the partner. e.g. VAS.
|
331
|
+
# Corresponds to the JSON property `offering`
|
332
|
+
# @return [String]
|
333
|
+
attr_accessor :offering
|
334
|
+
|
335
|
+
# The type of sales channel through which the subscription was sold.
|
336
|
+
# Corresponds to the JSON property `salesChannel`
|
337
|
+
# @return [String]
|
338
|
+
attr_accessor :sales_channel
|
339
|
+
|
340
|
+
# The identifier for the partner store where the subscription was sold.
|
341
|
+
# Corresponds to the JSON property `storeId`
|
342
|
+
# @return [String]
|
343
|
+
attr_accessor :store_id
|
344
|
+
|
345
|
+
def initialize(**args)
|
346
|
+
update!(**args)
|
347
|
+
end
|
348
|
+
|
349
|
+
# Update properties of this object
|
350
|
+
def update!(**args)
|
351
|
+
@campaigns = args[:campaigns] if args.key?(:campaigns)
|
352
|
+
@offering = args[:offering] if args.key?(:offering)
|
353
|
+
@sales_channel = args[:sales_channel] if args.key?(:sales_channel)
|
354
|
+
@store_id = args[:store_id] if args.key?(:store_id)
|
355
|
+
end
|
356
|
+
end
|
357
|
+
|
321
358
|
#
|
322
359
|
class GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse
|
323
360
|
include Google::Apis::Core::Hashable
|
@@ -441,6 +478,31 @@ module Google
|
|
441
478
|
end
|
442
479
|
end
|
443
480
|
|
481
|
+
# Specifies product specific payload.
|
482
|
+
class GoogleCloudPaymentsResellerSubscriptionV1ProductPayload
|
483
|
+
include Google::Apis::Core::Hashable
|
484
|
+
|
485
|
+
# Payload specific to Google One products.
|
486
|
+
# Corresponds to the JSON property `googleOnePayload`
|
487
|
+
# @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload]
|
488
|
+
attr_accessor :google_one_payload
|
489
|
+
|
490
|
+
# Payload specific to Youtube products.
|
491
|
+
# Corresponds to the JSON property `youtubePayload`
|
492
|
+
# @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload]
|
493
|
+
attr_accessor :youtube_payload
|
494
|
+
|
495
|
+
def initialize(**args)
|
496
|
+
update!(**args)
|
497
|
+
end
|
498
|
+
|
499
|
+
# Update properties of this object
|
500
|
+
def update!(**args)
|
501
|
+
@google_one_payload = args[:google_one_payload] if args.key?(:google_one_payload)
|
502
|
+
@youtube_payload = args[:youtube_payload] if args.key?(:youtube_payload)
|
503
|
+
end
|
504
|
+
end
|
505
|
+
|
444
506
|
# Configs the prices in an available region.
|
445
507
|
class GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig
|
446
508
|
include Google::Apis::Core::Hashable
|
@@ -793,7 +855,7 @@ module Google
|
|
793
855
|
end
|
794
856
|
end
|
795
857
|
|
796
|
-
# Individual line item definition of a subscription.
|
858
|
+
# Individual line item definition of a subscription.
|
797
859
|
class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem
|
798
860
|
include Google::Apis::Core::Hashable
|
799
861
|
|
@@ -829,6 +891,11 @@ module Google
|
|
829
891
|
# @return [String]
|
830
892
|
attr_accessor :product
|
831
893
|
|
894
|
+
# Specifies product specific payload.
|
895
|
+
# Corresponds to the JSON property `productPayload`
|
896
|
+
# @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductPayload]
|
897
|
+
attr_accessor :product_payload
|
898
|
+
|
832
899
|
# Output only. The recurrence type of the line item.
|
833
900
|
# Corresponds to the JSON property `recurrenceType`
|
834
901
|
# @return [String]
|
@@ -850,6 +917,7 @@ module Google
|
|
850
917
|
@line_item_promotion_specs = args[:line_item_promotion_specs] if args.key?(:line_item_promotion_specs)
|
851
918
|
@one_time_recurrence_details = args[:one_time_recurrence_details] if args.key?(:one_time_recurrence_details)
|
852
919
|
@product = args[:product] if args.key?(:product)
|
920
|
+
@product_payload = args[:product_payload] if args.key?(:product_payload)
|
853
921
|
@recurrence_type = args[:recurrence_type] if args.key?(:recurrence_type)
|
854
922
|
@state = args[:state] if args.key?(:state)
|
855
923
|
end
|
@@ -973,6 +1041,25 @@ module Google
|
|
973
1041
|
end
|
974
1042
|
end
|
975
1043
|
|
1044
|
+
# Payload specific to Youtube products.
|
1045
|
+
class GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload
|
1046
|
+
include Google::Apis::Core::Hashable
|
1047
|
+
|
1048
|
+
# The list of eligibility_ids which are applicable for the line item.
|
1049
|
+
# Corresponds to the JSON property `partnerEligibilityIds`
|
1050
|
+
# @return [Array<String>]
|
1051
|
+
attr_accessor :partner_eligibility_ids
|
1052
|
+
|
1053
|
+
def initialize(**args)
|
1054
|
+
update!(**args)
|
1055
|
+
end
|
1056
|
+
|
1057
|
+
# Update properties of this object
|
1058
|
+
def update!(**args)
|
1059
|
+
@partner_eligibility_ids = args[:partner_eligibility_ids] if args.key?(:partner_eligibility_ids)
|
1060
|
+
end
|
1061
|
+
end
|
1062
|
+
|
976
1063
|
# Localized variant of a text in a particular language.
|
977
1064
|
class GoogleTypeLocalizedText
|
978
1065
|
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.25.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.11.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20221201"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -88,6 +88,12 @@ module Google
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
89
89
|
end
|
90
90
|
|
91
|
+
class GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
91
97
|
class GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse
|
92
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
99
|
|
@@ -112,6 +118,12 @@ module Google
|
|
112
118
|
include Google::Apis::Core::JsonObjectSupport
|
113
119
|
end
|
114
120
|
|
121
|
+
class GoogleCloudPaymentsResellerSubscriptionV1ProductPayload
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
115
127
|
class GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig
|
116
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
129
|
|
@@ -190,6 +202,12 @@ module Google
|
|
190
202
|
include Google::Apis::Core::JsonObjectSupport
|
191
203
|
end
|
192
204
|
|
205
|
+
class GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
193
211
|
class GoogleTypeLocalizedText
|
194
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
213
|
|
@@ -287,6 +305,16 @@ module Google
|
|
287
305
|
end
|
288
306
|
end
|
289
307
|
|
308
|
+
class GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload
|
309
|
+
# @private
|
310
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
311
|
+
collection :campaigns, as: 'campaigns'
|
312
|
+
property :offering, as: 'offering'
|
313
|
+
property :sales_channel, as: 'salesChannel'
|
314
|
+
property :store_id, as: 'storeId'
|
315
|
+
end
|
316
|
+
end
|
317
|
+
|
290
318
|
class GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse
|
291
319
|
# @private
|
292
320
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -327,6 +355,16 @@ module Google
|
|
327
355
|
end
|
328
356
|
end
|
329
357
|
|
358
|
+
class GoogleCloudPaymentsResellerSubscriptionV1ProductPayload
|
359
|
+
# @private
|
360
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
361
|
+
property :google_one_payload, as: 'googleOnePayload', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload::Representation
|
362
|
+
|
363
|
+
property :youtube_payload, as: 'youtubePayload', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload::Representation
|
364
|
+
|
365
|
+
end
|
366
|
+
end
|
367
|
+
|
330
368
|
class GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig
|
331
369
|
# @private
|
332
370
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -427,6 +465,8 @@ module Google
|
|
427
465
|
property :one_time_recurrence_details, as: 'oneTimeRecurrenceDetails', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails::Representation
|
428
466
|
|
429
467
|
property :product, as: 'product'
|
468
|
+
property :product_payload, as: 'productPayload', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductPayload, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductPayload::Representation
|
469
|
+
|
430
470
|
property :recurrence_type, as: 'recurrenceType'
|
431
471
|
property :state, as: 'state'
|
432
472
|
end
|
@@ -474,6 +514,13 @@ module Google
|
|
474
514
|
end
|
475
515
|
end
|
476
516
|
|
517
|
+
class GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload
|
518
|
+
# @private
|
519
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
520
|
+
collection :partner_eligibility_ids, as: 'partnerEligibilityIds'
|
521
|
+
end
|
522
|
+
end
|
523
|
+
|
477
524
|
class GoogleTypeLocalizedText
|
478
525
|
# @private
|
479
526
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -306,9 +306,10 @@ module Google
|
|
306
306
|
execute_or_queue_command(command, &block)
|
307
307
|
end
|
308
308
|
|
309
|
-
#
|
310
|
-
#
|
311
|
-
#
|
309
|
+
# [Deprecated] New partners should be on auto-extend by default. Used by
|
310
|
+
# partners to extend a subscription service for their customers on an ongoing
|
311
|
+
# basis for the subscription to remain active and renewable. It should be called
|
312
|
+
# directly by the partner using service accounts.
|
312
313
|
# @param [String] name
|
313
314
|
# Required. The name of the subscription resource to be extended. It will have
|
314
315
|
# 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.25.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: 2022-
|
11
|
+
date: 2022-12-12 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.25.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: []
|