google-apis-paymentsresellersubscription_v1 0.47.0 → 0.49.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 +8 -0
- data/lib/google/apis/paymentsresellersubscription_v1/classes.rb +85 -6
- data/lib/google/apis/paymentsresellersubscription_v1/gem_version.rb +2 -2
- data/lib/google/apis/paymentsresellersubscription_v1/representations.rb +52 -0
- data/lib/google/apis/paymentsresellersubscription_v1/service.rb +100 -28
- 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: dcce34d9c9ab68a8b25ec5f47f7c808c53d1fab94c565748c37bcc250f5dfb05
|
4
|
+
data.tar.gz: b2fe7a15053d9ada6c6cf6b7962fac4c546a712fbf61a826441d3ee480fadbe1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b45051cc9e1cb492b900dba50b629eefc2bcabc50364fc186876b5034db98705f54d3c07e920e4db4ac64186495f7485d9440d653f43b063ce66a7fb9e65adff
|
7
|
+
data.tar.gz: 923eeecdc461a8573669e60960c02e1a46f3dae800b8036c281b7b6111783583f1503d17a7fd6059d7bee6fc06ed282b3bf91d6a1c41424cbae75f1cf385f48b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-paymentsresellersubscription_v1
|
2
2
|
|
3
|
+
### v0.49.0 (2025-03-30)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250327
|
6
|
+
|
7
|
+
### v0.48.0 (2025-03-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250312
|
10
|
+
|
3
11
|
### v0.47.0 (2025-03-09)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250302
|
@@ -506,8 +506,8 @@ module Google
|
|
506
506
|
class GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload
|
507
507
|
include Google::Apis::Core::Hashable
|
508
508
|
|
509
|
-
# Output only.
|
510
|
-
#
|
509
|
+
# Output only. This identifies whether the subscription is attached to a Google
|
510
|
+
# Home structure.
|
511
511
|
# Corresponds to the JSON property `attachedToGoogleStructure`
|
512
512
|
# @return [Boolean]
|
513
513
|
attr_accessor :attached_to_google_structure
|
@@ -696,7 +696,7 @@ module Google
|
|
696
696
|
# @return [Array<Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig>]
|
697
697
|
attr_accessor :price_configs
|
698
698
|
|
699
|
-
# Output only.
|
699
|
+
# Output only. Specifies the type of the product.
|
700
700
|
# Corresponds to the JSON property `productType`
|
701
701
|
# @return [String]
|
702
702
|
attr_accessor :product_type
|
@@ -843,7 +843,7 @@ module Google
|
|
843
843
|
# @return [String]
|
844
844
|
attr_accessor :name
|
845
845
|
|
846
|
-
# Output only.
|
846
|
+
# Output only. Specifies the type of the promotion.
|
847
847
|
# Corresponds to the JSON property `promotionType`
|
848
848
|
# @return [String]
|
849
849
|
attr_accessor :promotion_type
|
@@ -917,8 +917,7 @@ module Google
|
|
917
917
|
# @return [Fixnum]
|
918
918
|
attr_accessor :discount_ratio_micros
|
919
919
|
|
920
|
-
# Output only.
|
921
|
-
# cycles.
|
920
|
+
# Output only. The duration of an introductory offer in billing cycles.
|
922
921
|
# Corresponds to the JSON property `recurrenceCount`
|
923
922
|
# @return [Fixnum]
|
924
923
|
attr_accessor :recurrence_count
|
@@ -942,6 +941,46 @@ module Google
|
|
942
941
|
end
|
943
942
|
end
|
944
943
|
|
944
|
+
# Request to resume a suspended subscription.
|
945
|
+
class GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionRequest
|
946
|
+
include Google::Apis::Core::Hashable
|
947
|
+
|
948
|
+
def initialize(**args)
|
949
|
+
update!(**args)
|
950
|
+
end
|
951
|
+
|
952
|
+
# Update properties of this object
|
953
|
+
def update!(**args)
|
954
|
+
end
|
955
|
+
end
|
956
|
+
|
957
|
+
# Response that contains the resumed subscription.
|
958
|
+
class GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponse
|
959
|
+
include Google::Apis::Core::Hashable
|
960
|
+
|
961
|
+
# A subscription serves as a central billing entity between an external partner
|
962
|
+
# and Google. The underlying Google services rely on the subscription state to
|
963
|
+
# grant or revoke the user's service entitlement. It's important to note that
|
964
|
+
# the subscription state may not always perfectly align with the user's service
|
965
|
+
# entitlement. For example, some Google services may continue providing access
|
966
|
+
# to the user until the current billing cycle ends, even if the subscription has
|
967
|
+
# been immediately canceled. However, other services may not do the same. To
|
968
|
+
# fully understand the specific details, please consult the relevant contract or
|
969
|
+
# product policy.
|
970
|
+
# Corresponds to the JSON property `subscription`
|
971
|
+
# @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Subscription]
|
972
|
+
attr_accessor :subscription
|
973
|
+
|
974
|
+
def initialize(**args)
|
975
|
+
update!(**args)
|
976
|
+
end
|
977
|
+
|
978
|
+
# Update properties of this object
|
979
|
+
def update!(**args)
|
980
|
+
@subscription = args[:subscription] if args.key?(:subscription)
|
981
|
+
end
|
982
|
+
end
|
983
|
+
|
945
984
|
# A description of what time period or moment in time the product or service is
|
946
985
|
# being delivered over.
|
947
986
|
class GoogleCloudPaymentsResellerSubscriptionV1ServicePeriod
|
@@ -1382,6 +1421,46 @@ module Google
|
|
1382
1421
|
end
|
1383
1422
|
end
|
1384
1423
|
|
1424
|
+
# Request to suspend a subscription.
|
1425
|
+
class GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionRequest
|
1426
|
+
include Google::Apis::Core::Hashable
|
1427
|
+
|
1428
|
+
def initialize(**args)
|
1429
|
+
update!(**args)
|
1430
|
+
end
|
1431
|
+
|
1432
|
+
# Update properties of this object
|
1433
|
+
def update!(**args)
|
1434
|
+
end
|
1435
|
+
end
|
1436
|
+
|
1437
|
+
# Response that contains the suspended subscription.
|
1438
|
+
class GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionResponse
|
1439
|
+
include Google::Apis::Core::Hashable
|
1440
|
+
|
1441
|
+
# A subscription serves as a central billing entity between an external partner
|
1442
|
+
# and Google. The underlying Google services rely on the subscription state to
|
1443
|
+
# grant or revoke the user's service entitlement. It's important to note that
|
1444
|
+
# the subscription state may not always perfectly align with the user's service
|
1445
|
+
# entitlement. For example, some Google services may continue providing access
|
1446
|
+
# to the user until the current billing cycle ends, even if the subscription has
|
1447
|
+
# been immediately canceled. However, other services may not do the same. To
|
1448
|
+
# fully understand the specific details, please consult the relevant contract or
|
1449
|
+
# product policy.
|
1450
|
+
# Corresponds to the JSON property `subscription`
|
1451
|
+
# @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Subscription]
|
1452
|
+
attr_accessor :subscription
|
1453
|
+
|
1454
|
+
def initialize(**args)
|
1455
|
+
update!(**args)
|
1456
|
+
end
|
1457
|
+
|
1458
|
+
# Update properties of this object
|
1459
|
+
def update!(**args)
|
1460
|
+
@subscription = args[:subscription] if args.key?(:subscription)
|
1461
|
+
end
|
1462
|
+
end
|
1463
|
+
|
1385
1464
|
# Request to revoke a cancellation request.
|
1386
1465
|
class GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionRequest
|
1387
1466
|
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.49.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250327"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -202,6 +202,18 @@ module Google
|
|
202
202
|
include Google::Apis::Core::JsonObjectSupport
|
203
203
|
end
|
204
204
|
|
205
|
+
class GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionRequest
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponse
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
205
217
|
class GoogleCloudPaymentsResellerSubscriptionV1ServicePeriod
|
206
218
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
219
|
|
@@ -256,6 +268,18 @@ module Google
|
|
256
268
|
include Google::Apis::Core::JsonObjectSupport
|
257
269
|
end
|
258
270
|
|
271
|
+
class GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionRequest
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
277
|
+
class GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionResponse
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
259
283
|
class GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionRequest
|
260
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
285
|
|
@@ -577,6 +601,20 @@ module Google
|
|
577
601
|
end
|
578
602
|
end
|
579
603
|
|
604
|
+
class GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionRequest
|
605
|
+
# @private
|
606
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
607
|
+
end
|
608
|
+
end
|
609
|
+
|
610
|
+
class GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponse
|
611
|
+
# @private
|
612
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
613
|
+
property :subscription, as: 'subscription', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Subscription, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Subscription::Representation
|
614
|
+
|
615
|
+
end
|
616
|
+
end
|
617
|
+
|
580
618
|
class GoogleCloudPaymentsResellerSubscriptionV1ServicePeriod
|
581
619
|
# @private
|
582
620
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -691,6 +729,20 @@ module Google
|
|
691
729
|
end
|
692
730
|
end
|
693
731
|
|
732
|
+
class GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionRequest
|
733
|
+
# @private
|
734
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
735
|
+
end
|
736
|
+
end
|
737
|
+
|
738
|
+
class GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionResponse
|
739
|
+
# @private
|
740
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
741
|
+
property :subscription, as: 'subscription', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Subscription, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Subscription::Representation
|
742
|
+
|
743
|
+
end
|
744
|
+
end
|
745
|
+
|
694
746
|
class GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionRequest
|
695
747
|
# @private
|
696
748
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -51,9 +51,9 @@ module Google
|
|
51
51
|
@batch_path = 'batch'
|
52
52
|
end
|
53
53
|
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
54
|
+
# Currently, it doesn't support **YouTube** products. Retrieves the products
|
55
|
+
# that can be resold by the partner. It should be autenticated with a service
|
56
|
+
# account.
|
57
57
|
# @param [String] parent
|
58
58
|
# Required. The parent, the partner that can resell. Format: partners/`partner`
|
59
59
|
# @param [String] filter
|
@@ -104,9 +104,9 @@ module Google
|
|
104
104
|
execute_or_queue_command(command, &block)
|
105
105
|
end
|
106
106
|
|
107
|
-
#
|
108
|
-
#
|
109
|
-
# which will skip the consent screen.
|
107
|
+
# Currently, it is only enabeld for **YouTube**. Finds eligible promotions for
|
108
|
+
# the current user. The API requires user authorization via OAuth. The bare
|
109
|
+
# minimum oauth scope `openid` is sufficient, which will skip the consent screen.
|
110
110
|
# @param [String] parent
|
111
111
|
# Required. The parent, the partner that can resell. Format: partners/`partner`
|
112
112
|
# @param [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest] google_cloud_payments_reseller_subscription_v1_find_eligible_promotions_request_object
|
@@ -139,8 +139,8 @@ module Google
|
|
139
139
|
execute_or_queue_command(command, &block)
|
140
140
|
end
|
141
141
|
|
142
|
-
#
|
143
|
-
#
|
142
|
+
# Currently, it doesn't support **YouTube** promotions. Retrieves the promotions,
|
143
|
+
# such as free trial, that can be used by the partner. It should be
|
144
144
|
# autenticated with a service account.
|
145
145
|
# @param [String] parent
|
146
146
|
# Required. The parent, the partner that can resell. Format: partners/`partner`
|
@@ -194,9 +194,9 @@ module Google
|
|
194
194
|
execute_or_queue_command(command, &block)
|
195
195
|
end
|
196
196
|
|
197
|
-
#
|
198
|
-
#
|
199
|
-
#
|
197
|
+
# Cancels a subscription service either immediately or by the end of the current
|
198
|
+
# billing cycle for their customers. It should be called directly by the partner
|
199
|
+
# using service accounts.
|
200
200
|
# @param [String] name
|
201
201
|
# Required. The name of the subscription resource to be cancelled. It will have
|
202
202
|
# the format of "partners/`partner_id`/subscriptions/`subscription_id`"
|
@@ -272,10 +272,9 @@ module Google
|
|
272
272
|
execute_or_queue_command(command, &block)
|
273
273
|
end
|
274
274
|
|
275
|
-
#
|
276
|
-
#
|
277
|
-
#
|
278
|
-
# OAuth.
|
275
|
+
# Entitles a previously provisioned subscription to the current end user. The
|
276
|
+
# end user identity is inferred from the authorized credential of the request.
|
277
|
+
# This API must be authorized by the end user using OAuth.
|
279
278
|
# @param [String] name
|
280
279
|
# Required. The name of the subscription resource that is entitled to the
|
281
280
|
# current end user. It will have the format of "partners/`partner_id`/
|
@@ -310,10 +309,10 @@ module Google
|
|
310
309
|
execute_or_queue_command(command, &block)
|
311
310
|
end
|
312
311
|
|
313
|
-
# [Opt-in only] Most partners should be on auto-extend by default.
|
314
|
-
#
|
315
|
-
#
|
316
|
-
#
|
312
|
+
# [Opt-in only] Most partners should be on auto-extend by default. Extends a
|
313
|
+
# subscription service for their customers on an ongoing basis for the
|
314
|
+
# subscription to remain active and renewable. It should be called directly by
|
315
|
+
# the partner using service accounts.
|
317
316
|
# @param [String] name
|
318
317
|
# Required. The name of the subscription resource to be extended. It will have
|
319
318
|
# the format of "partners/`partner_id`/subscriptions/`subscription_id`".
|
@@ -347,8 +346,8 @@ module Google
|
|
347
346
|
execute_or_queue_command(command, &block)
|
348
347
|
end
|
349
348
|
|
350
|
-
#
|
351
|
-
#
|
349
|
+
# Gets a subscription by id. It should be called directly by the partner using
|
350
|
+
# service accounts.
|
352
351
|
# @param [String] name
|
353
352
|
# Required. The name of the subscription resource to retrieve. It will have the
|
354
353
|
# format of "partners/`partner_id`/subscriptions/`subscription_id`"
|
@@ -423,10 +422,83 @@ module Google
|
|
423
422
|
execute_or_queue_command(command, &block)
|
424
423
|
end
|
425
424
|
|
426
|
-
#
|
425
|
+
# Resumes a suspended subscription. The new billing cycle will start at the time
|
426
|
+
# of the request. It should be called directly by the partner using service
|
427
|
+
# accounts.
|
428
|
+
# @param [String] name
|
429
|
+
# Required. The name of the subscription resource to be resumed. It will have
|
430
|
+
# the format of "partners/`partner_id`/subscriptions/`subscription_id`"
|
431
|
+
# @param [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionRequest] google_cloud_payments_reseller_subscription_v1_resume_subscription_request_object
|
432
|
+
# @param [String] fields
|
433
|
+
# Selector specifying which fields to include in a partial response.
|
434
|
+
# @param [String] quota_user
|
435
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
436
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
437
|
+
# @param [Google::Apis::RequestOptions] options
|
438
|
+
# Request-specific options
|
439
|
+
#
|
440
|
+
# @yield [result, err] Result & error if block supplied
|
441
|
+
# @yieldparam result [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponse] parsed result object
|
442
|
+
# @yieldparam err [StandardError] error object if request failed
|
443
|
+
#
|
444
|
+
# @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponse]
|
445
|
+
#
|
446
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
447
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
448
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
449
|
+
def resume_partner_subscription(name, google_cloud_payments_reseller_subscription_v1_resume_subscription_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
450
|
+
command = make_simple_command(:post, 'v1/{+name}:resume', options)
|
451
|
+
command.request_representation = Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionRequest::Representation
|
452
|
+
command.request_object = google_cloud_payments_reseller_subscription_v1_resume_subscription_request_object
|
453
|
+
command.response_representation = Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponse::Representation
|
454
|
+
command.response_class = Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponse
|
455
|
+
command.params['name'] = name unless name.nil?
|
456
|
+
command.query['fields'] = fields unless fields.nil?
|
457
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
458
|
+
execute_or_queue_command(command, &block)
|
459
|
+
end
|
460
|
+
|
461
|
+
# Suspends a subscription. Contract terms may dictate if a prorated refund will
|
462
|
+
# be issued upon suspension. It should be called directly by the partner using
|
463
|
+
# service accounts.
|
464
|
+
# @param [String] name
|
465
|
+
# Required. The name of the subscription resource to be suspended. It will have
|
466
|
+
# the format of "partners/`partner_id`/subscriptions/`subscription_id`"
|
467
|
+
# @param [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionRequest] google_cloud_payments_reseller_subscription_v1_suspend_subscription_request_object
|
468
|
+
# @param [String] fields
|
469
|
+
# Selector specifying which fields to include in a partial response.
|
470
|
+
# @param [String] quota_user
|
471
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
472
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
473
|
+
# @param [Google::Apis::RequestOptions] options
|
474
|
+
# Request-specific options
|
475
|
+
#
|
476
|
+
# @yield [result, err] Result & error if block supplied
|
477
|
+
# @yieldparam result [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionResponse] parsed result object
|
478
|
+
# @yieldparam err [StandardError] error object if request failed
|
479
|
+
#
|
480
|
+
# @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionResponse]
|
481
|
+
#
|
482
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
483
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
484
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
485
|
+
def suspend_partner_subscription(name, google_cloud_payments_reseller_subscription_v1_suspend_subscription_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
486
|
+
command = make_simple_command(:post, 'v1/{+name}:suspend', options)
|
487
|
+
command.request_representation = Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionRequest::Representation
|
488
|
+
command.request_object = google_cloud_payments_reseller_subscription_v1_suspend_subscription_request_object
|
489
|
+
command.response_representation = Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionResponse::Representation
|
490
|
+
command.response_class = Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionResponse
|
491
|
+
command.params['name'] = name unless name.nil?
|
492
|
+
command.query['fields'] = fields unless fields.nil?
|
493
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
494
|
+
execute_or_queue_command(command, &block)
|
495
|
+
end
|
496
|
+
|
497
|
+
# Currently, it is used by **Google One, Play Pass** partners. Revokes the
|
498
|
+
# pending cancellation of a subscription, which is currently in `
|
427
499
|
# STATE_CANCEL_AT_END_OF_CYCLE` state. If the subscription is already cancelled,
|
428
|
-
# the request will fail.
|
429
|
-
#
|
500
|
+
# the request will fail. It should be called directly by the partner using
|
501
|
+
# service accounts.
|
430
502
|
# @param [String] name
|
431
503
|
# Required. The name of the subscription resource whose pending cancellation
|
432
504
|
# needs to be undone. It will have the format of "partners/`partner_id`/
|
@@ -462,10 +534,10 @@ module Google
|
|
462
534
|
end
|
463
535
|
|
464
536
|
# This API replaces user authorized OAuth consent based APIs (Create, Entitle).
|
465
|
-
#
|
466
|
-
#
|
467
|
-
#
|
468
|
-
#
|
537
|
+
# Issues a timed session token for the given user intent. You can use the
|
538
|
+
# session token to redirect the user to Google to finish the signup flow. You
|
539
|
+
# can re-generate new session token repeatedly for the same request if necessary,
|
540
|
+
# regardless of the previous tokens being expired or not.
|
469
541
|
# @param [String] parent
|
470
542
|
# Required. The parent, the partner that can resell. Format: partners/`partner`
|
471
543
|
# @param [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionRequest] google_cloud_payments_reseller_subscription_v1_generate_user_session_request_object
|
metadata
CHANGED
@@ -1,13 +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.49.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03-
|
10
|
+
date: 2025-03-30 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-paymentsresellersubscription_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-paymentsresellersubscription_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-paymentsresellersubscription_v1/v0.49.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-paymentsresellersubscription_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|