google-apis-paymentsresellersubscription_v1 0.44.0 → 0.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -2
- data/lib/google/apis/paymentsresellersubscription_v1/classes.rb +54 -3
- data/lib/google/apis/paymentsresellersubscription_v1/gem_version.rb +3 -3
- data/lib/google/apis/paymentsresellersubscription_v1/representations.rb +30 -0
- data/lib/google/apis/paymentsresellersubscription_v1/service.rb +2 -2
- metadata +4 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b786cc9257abc331ed69055062d3e3949519f11a36cd86bc905f836f0c88df88
|
4
|
+
data.tar.gz: 17bd4a380f662d4943788316255fdf2e675e384efa16c5b62ac6b60ef9d82f3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 839194bdf0516c1971d4685f5c5945f2da59e652dfb1b4a1cee7b9e61e41bd56493c546120478698a745ceaba5b58e9ac88fb91f6bd5a6e4d18f5be5ad292d74
|
7
|
+
data.tar.gz: c3f656bece9a0dc182719e1f6a18ccbb7a9baadf55712833c318734a7816467c379f322e2bb62d908a523b62b5c7c1e5fb6bd6c1c98a3c5f512fa44ba58562f5
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,17 @@
|
|
1
1
|
# Release history for google-apis-paymentsresellersubscription_v1
|
2
2
|
|
3
|
-
### v0.
|
3
|
+
### v0.46.0 (2025-02-26)
|
4
4
|
|
5
|
-
* Regenerated from discovery document revision
|
5
|
+
* Regenerated from discovery document revision 20250212
|
6
|
+
* Regenerated using generator version 0.16.0
|
7
|
+
|
8
|
+
### v0.45.0 (2024-12-15)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20241211
|
11
|
+
|
12
|
+
### v0.44.0 (2024-11-17)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20241110
|
6
15
|
* Regenerated using generator version 0.15.1
|
7
16
|
|
8
17
|
### v0.43.0 (2024-06-23)
|
@@ -193,9 +193,8 @@ module Google
|
|
193
193
|
end
|
194
194
|
end
|
195
195
|
|
196
|
-
#
|
197
|
-
#
|
198
|
-
# request OAuth context.
|
196
|
+
# Partner request for entitling the previously provisioned subscription to an
|
197
|
+
# end user. The end user identity is inferred from the request OAuth context.
|
199
198
|
class GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest
|
200
199
|
include Google::Apis::Core::Hashable
|
201
200
|
|
@@ -503,6 +502,27 @@ module Google
|
|
503
502
|
end
|
504
503
|
end
|
505
504
|
|
505
|
+
# Payload specific for Google Home products.
|
506
|
+
class GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload
|
507
|
+
include Google::Apis::Core::Hashable
|
508
|
+
|
509
|
+
# Optional. This identifies the structure ID on partner side that the
|
510
|
+
# subscription should be applied to. Only required when the partner requires
|
511
|
+
# structure mapping.
|
512
|
+
# Corresponds to the JSON property `partnerStructureId`
|
513
|
+
# @return [String]
|
514
|
+
attr_accessor :partner_structure_id
|
515
|
+
|
516
|
+
def initialize(**args)
|
517
|
+
update!(**args)
|
518
|
+
end
|
519
|
+
|
520
|
+
# Update properties of this object
|
521
|
+
def update!(**args)
|
522
|
+
@partner_structure_id = args[:partner_structure_id] if args.key?(:partner_structure_id)
|
523
|
+
end
|
524
|
+
end
|
525
|
+
|
506
526
|
# Payload specific to Google One products.
|
507
527
|
class GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload
|
508
528
|
include Google::Apis::Core::Hashable
|
@@ -730,6 +750,11 @@ module Google
|
|
730
750
|
class GoogleCloudPaymentsResellerSubscriptionV1ProductPayload
|
731
751
|
include Google::Apis::Core::Hashable
|
732
752
|
|
753
|
+
# Payload specific for Google Home products.
|
754
|
+
# Corresponds to the JSON property `googleHomePayload`
|
755
|
+
# @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload]
|
756
|
+
attr_accessor :google_home_payload
|
757
|
+
|
733
758
|
# Payload specific to Google One products.
|
734
759
|
# Corresponds to the JSON property `googleOnePayload`
|
735
760
|
# @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload]
|
@@ -746,6 +771,7 @@ module Google
|
|
746
771
|
|
747
772
|
# Update properties of this object
|
748
773
|
def update!(**args)
|
774
|
+
@google_home_payload = args[:google_home_payload] if args.key?(:google_home_payload)
|
749
775
|
@google_one_payload = args[:google_one_payload] if args.key?(:google_one_payload)
|
750
776
|
@youtube_payload = args[:youtube_payload] if args.key?(:youtube_payload)
|
751
777
|
end
|
@@ -981,6 +1007,11 @@ module Google
|
|
981
1007
|
# @return [Array<Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem>]
|
982
1008
|
attr_accessor :line_items
|
983
1009
|
|
1010
|
+
# Describes the details of the migrated subscription.
|
1011
|
+
# Corresponds to the JSON property `migrationDetails`
|
1012
|
+
# @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionMigrationDetails]
|
1013
|
+
attr_accessor :migration_details
|
1014
|
+
|
984
1015
|
# Identifier. Resource name of the subscription. It will have the format of "
|
985
1016
|
# partners/`partner_id`/subscriptions/`subscription_id`". This is available for
|
986
1017
|
# authorizeAddon, but otherwise is response only.
|
@@ -1084,6 +1115,7 @@ module Google
|
|
1084
1115
|
@end_user_entitled = args[:end_user_entitled] if args.key?(:end_user_entitled)
|
1085
1116
|
@free_trial_end_time = args[:free_trial_end_time] if args.key?(:free_trial_end_time)
|
1086
1117
|
@line_items = args[:line_items] if args.key?(:line_items)
|
1118
|
+
@migration_details = args[:migration_details] if args.key?(:migration_details)
|
1087
1119
|
@name = args[:name] if args.key?(:name)
|
1088
1120
|
@partner_user_token = args[:partner_user_token] if args.key?(:partner_user_token)
|
1089
1121
|
@processing_state = args[:processing_state] if args.key?(:processing_state)
|
@@ -1257,6 +1289,25 @@ module Google
|
|
1257
1289
|
end
|
1258
1290
|
end
|
1259
1291
|
|
1292
|
+
# Describes the details of the migrated subscription.
|
1293
|
+
class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionMigrationDetails
|
1294
|
+
include Google::Apis::Core::Hashable
|
1295
|
+
|
1296
|
+
# Output only. The migrated subscription id in the legacy system.
|
1297
|
+
# Corresponds to the JSON property `migratedSubscriptionId`
|
1298
|
+
# @return [String]
|
1299
|
+
attr_accessor :migrated_subscription_id
|
1300
|
+
|
1301
|
+
def initialize(**args)
|
1302
|
+
update!(**args)
|
1303
|
+
end
|
1304
|
+
|
1305
|
+
# Update properties of this object
|
1306
|
+
def update!(**args)
|
1307
|
+
@migrated_subscription_id = args[:migrated_subscription_id] if args.key?(:migrated_subscription_id)
|
1308
|
+
end
|
1309
|
+
end
|
1310
|
+
|
1260
1311
|
# Describes the spec for one promotion.
|
1261
1312
|
class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec
|
1262
1313
|
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.46.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250212"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -124,6 +124,12 @@ module Google
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
125
125
|
end
|
126
126
|
|
127
|
+
class GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
127
133
|
class GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload
|
128
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
135
|
|
@@ -232,6 +238,12 @@ module Google
|
|
232
238
|
include Google::Apis::Core::JsonObjectSupport
|
233
239
|
end
|
234
240
|
|
241
|
+
class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionMigrationDetails
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
235
247
|
class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec
|
236
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
249
|
|
@@ -427,6 +439,13 @@ module Google
|
|
427
439
|
end
|
428
440
|
end
|
429
441
|
|
442
|
+
class GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload
|
443
|
+
# @private
|
444
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
445
|
+
property :partner_structure_id, as: 'partnerStructureId'
|
446
|
+
end
|
447
|
+
end
|
448
|
+
|
430
449
|
class GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload
|
431
450
|
# @private
|
432
451
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -502,6 +521,8 @@ module Google
|
|
502
521
|
class GoogleCloudPaymentsResellerSubscriptionV1ProductPayload
|
503
522
|
# @private
|
504
523
|
class Representation < Google::Apis::Core::JsonRepresentation
|
524
|
+
property :google_home_payload, as: 'googleHomePayload', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload::Representation
|
525
|
+
|
505
526
|
property :google_one_payload, as: 'googleOnePayload', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload::Representation
|
506
527
|
|
507
528
|
property :youtube_payload, as: 'youtubePayload', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload::Representation
|
@@ -574,6 +595,8 @@ module Google
|
|
574
595
|
property :free_trial_end_time, as: 'freeTrialEndTime'
|
575
596
|
collection :line_items, as: 'lineItems', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem::Representation
|
576
597
|
|
598
|
+
property :migration_details, as: 'migrationDetails', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionMigrationDetails, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionMigrationDetails::Representation
|
599
|
+
|
577
600
|
property :name, as: 'name'
|
578
601
|
property :partner_user_token, as: 'partnerUserToken'
|
579
602
|
property :processing_state, as: 'processingState'
|
@@ -640,6 +663,13 @@ module Google
|
|
640
663
|
end
|
641
664
|
end
|
642
665
|
|
666
|
+
class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionMigrationDetails
|
667
|
+
# @private
|
668
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
669
|
+
property :migrated_subscription_id, as: 'migratedSubscriptionId'
|
670
|
+
end
|
671
|
+
end
|
672
|
+
|
643
673
|
class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec
|
644
674
|
# @private
|
645
675
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -461,10 +461,10 @@ module Google
|
|
461
461
|
execute_or_queue_command(command, &block)
|
462
462
|
end
|
463
463
|
|
464
|
-
# This API replaces user authorized OAuth
|
464
|
+
# This API replaces user authorized OAuth consent based APIs (Create, Entitle).
|
465
465
|
# Generates a short-lived token for a user session based on the user intent. You
|
466
466
|
# can use the session token to redirect the user to Google to finish the signup
|
467
|
-
# flow. You can re-generate new session token repeatedly for same request if
|
467
|
+
# flow. You can re-generate new session token repeatedly for the same request if
|
468
468
|
# necessary, regardless of the previous tokens being expired or not.
|
469
469
|
# @param [String] parent
|
470
470
|
# Required. The parent, the partner that can resell. Format: partners/`partner`
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
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.46.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-03-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-paymentsresellersubscription_v1/v0.46.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-paymentsresellersubscription_v1
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.5
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.5
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Payments Reseller Subscription API V1
|
82
79
|
test_files: []
|