Skip to content

Commit 5f6641a

Browse files
feat: Automated regeneration of paymentsresellersubscription v1 client (googleapis#22096)
Auto-created at 2025-03-16 10:03:38 +0000 using the toys pull request generator.
1 parent c8b9195 commit 5f6641a

File tree

4 files changed

+39
-36
lines changed

4 files changed

+39
-36
lines changed

generated/google-apis-paymentsresellersubscription_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-paymentsresellersubscription_v1
22

3+
### v0.48.0 (2025-03-16)
4+
5+
* Regenerated from discovery document revision 20250312
6+
37
### v0.47.0 (2025-03-09)
48

59
* Regenerated from discovery document revision 20250302

generated/google-apis-paymentsresellersubscription_v1/lib/google/apis/paymentsresellersubscription_v1/classes.rb

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -506,8 +506,8 @@ def update!(**args)
506506
class GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload
507507
include Google::Apis::Core::Hashable
508508

509-
# Output only. Output only. This identifies whether the subscription is attached
510-
# to a Google Home structure.
509+
# Output only. This identifies whether the subscription is attached to a Google
510+
# Home structure.
511511
# Corresponds to the JSON property `attachedToGoogleStructure`
512512
# @return [Boolean]
513513
attr_accessor :attached_to_google_structure
@@ -696,7 +696,7 @@ class GoogleCloudPaymentsResellerSubscriptionV1Product
696696
# @return [Array<Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig>]
697697
attr_accessor :price_configs
698698

699-
# Output only. Output Only. Specifies the type of the product.
699+
# Output only. Specifies the type of the product.
700700
# Corresponds to the JSON property `productType`
701701
# @return [String]
702702
attr_accessor :product_type
@@ -843,7 +843,7 @@ class GoogleCloudPaymentsResellerSubscriptionV1Promotion
843843
# @return [String]
844844
attr_accessor :name
845845

846-
# Output only. Output Only. Specifies the type of the promotion.
846+
# Output only. Specifies the type of the promotion.
847847
# Corresponds to the JSON property `promotionType`
848848
# @return [String]
849849
attr_accessor :promotion_type
@@ -917,8 +917,7 @@ class GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetai
917917
# @return [Fixnum]
918918
attr_accessor :discount_ratio_micros
919919

920-
# Output only. Output Only. The duration of an introductory offer in billing
921-
# cycles.
920+
# Output only. The duration of an introductory offer in billing cycles.
922921
# Corresponds to the JSON property `recurrenceCount`
923922
# @return [Fixnum]
924923
attr_accessor :recurrence_count

generated/google-apis-paymentsresellersubscription_v1/lib/google/apis/paymentsresellersubscription_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module PaymentsresellersubscriptionV1
1818
# Version of the google-apis-paymentsresellersubscription_v1 gem
19-
GEM_VERSION = "0.47.0"
19+
GEM_VERSION = "0.48.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250302"
25+
REVISION = "20250312"
2626
end
2727
end
2828
end

generated/google-apis-paymentsresellersubscription_v1/lib/google/apis/paymentsresellersubscription_v1/service.rb

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ def initialize
5151
@batch_path = 'batch'
5252
end
5353

54-
# To retrieve the products that can be resold by the partner. It should be
55-
# autenticated with a service account. - This API doesn't apply to YouTube
56-
# products currently.
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.
5757
# @param [String] parent
5858
# Required. The parent, the partner that can resell. Format: partners/`partner`
5959
# @param [String] filter
@@ -104,9 +104,9 @@ def list_partner_products(parent, filter: nil, page_size: nil, page_token: nil,
104104
execute_or_queue_command(command, &block)
105105
end
106106

107-
# To find eligible promotions for the current user. The API requires user
108-
# authorization via OAuth. The bare minimum oauth scope `openid` is sufficient,
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.
110110
# @param [String] parent
111111
# Required. The parent, the partner that can resell. Format: partners/`partner`
112112
# @param [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest] google_cloud_payments_reseller_subscription_v1_find_eligible_promotions_request_object
@@ -139,8 +139,8 @@ def find_partner_promotion_eligible(parent, google_cloud_payments_reseller_subsc
139139
execute_or_queue_command(command, &block)
140140
end
141141

142-
# Retrieves the promotions, such as free trial, that can be used by the partner.
143-
# - This API doesn't apply to YouTube promotions currently. It should be
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
144144
# autenticated with a service account.
145145
# @param [String] parent
146146
# Required. The parent, the partner that can resell. Format: partners/`partner`
@@ -194,9 +194,9 @@ def list_partner_promotions(parent, filter: nil, page_size: nil, page_token: nil
194194
execute_or_queue_command(command, &block)
195195
end
196196

197-
# Used by partners to cancel a subscription service either immediately or by the
198-
# end of the current billing cycle for their customers. It should be called
199-
# directly by the partner using service accounts.
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.
200200
# @param [String] name
201201
# Required. The name of the subscription resource to be cancelled. It will have
202202
# the format of "partners/`partner_id`/subscriptions/`subscription_id`"
@@ -272,10 +272,9 @@ def create_partner_subscription(parent, google_cloud_payments_reseller_subscript
272272
execute_or_queue_command(command, &block)
273273
end
274274

275-
# Used by partners to entitle a previously provisioned subscription to the
276-
# current end user. The end user identity is inferred from the authorized
277-
# credential of the request. This API must be authorized by the end user using
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.
279278
# @param [String] name
280279
# Required. The name of the subscription resource that is entitled to the
281280
# current end user. It will have the format of "partners/`partner_id`/
@@ -310,10 +309,10 @@ def entitle_partner_subscription(name, google_cloud_payments_reseller_subscripti
310309
execute_or_queue_command(command, &block)
311310
end
312311

313-
# [Opt-in only] Most partners should be on auto-extend by default. Used by
314-
# partners to extend a subscription service for their customers on an ongoing
315-
# basis for the subscription to remain active and renewable. It should be called
316-
# directly by the partner using service accounts.
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.
317316
# @param [String] name
318317
# Required. The name of the subscription resource to be extended. It will have
319318
# the format of "partners/`partner_id`/subscriptions/`subscription_id`".
@@ -347,8 +346,8 @@ def extend_partner_subscription(name, google_cloud_payments_reseller_subscriptio
347346
execute_or_queue_command(command, &block)
348347
end
349348

350-
# Used by partners to get a subscription by id. It should be called directly by
351-
# the partner using service accounts.
349+
# Gets a subscription by id. It should be called directly by the partner using
350+
# service accounts.
352351
# @param [String] name
353352
# Required. The name of the subscription resource to retrieve. It will have the
354353
# format of "partners/`partner_id`/subscriptions/`subscription_id`"
@@ -423,10 +422,11 @@ def provision_partner_subscription(parent, google_cloud_payments_reseller_subscr
423422
execute_or_queue_command(command, &block)
424423
end
425424

426-
# Revokes the pending cancellation of a subscription, which is currently in `
425+
# Currently, it is used by **Google One, Play Pass** partners. Revokes the
426+
# pending cancellation of a subscription, which is currently in `
427427
# STATE_CANCEL_AT_END_OF_CYCLE` state. If the subscription is already cancelled,
428-
# the request will fail. - **This API doesn't apply to YouTube subscriptions.**
429-
# It should be called directly by the partner using service accounts.
428+
# the request will fail. It should be called directly by the partner using
429+
# service accounts.
430430
# @param [String] name
431431
# Required. The name of the subscription resource whose pending cancellation
432432
# needs to be undone. It will have the format of "partners/`partner_id`/
@@ -462,10 +462,10 @@ def undo_partner_subscription_cancel(name, google_cloud_payments_reseller_subscr
462462
end
463463

464464
# This API replaces user authorized OAuth consent based APIs (Create, Entitle).
465-
# Generates a short-lived token for a user session based on the user intent. You
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 the same request if
468-
# necessary, regardless of the previous tokens being expired or not.
465+
# Issues a timed session token for the given user intent. You can use the
466+
# session token to redirect the user to Google to finish the signup flow. You
467+
# can re-generate new session token repeatedly for the same request if necessary,
468+
# regardless of the previous tokens being expired or not.
469469
# @param [String] parent
470470
# Required. The parent, the partner that can resell. Format: partners/`partner`
471471
# @param [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionRequest] google_cloud_payments_reseller_subscription_v1_generate_user_session_request_object

0 commit comments

Comments
 (0)