Skip to content

Commit 445d144

Browse files
feat: Automated regeneration of paymentsresellersubscription v1 client (googleapis#25673)
Auto-created at 2026-02-08 11:07:44 +0000 using the toys pull request generator.
1 parent ef06b81 commit 445d144

4 files changed

Lines changed: 25 additions & 21 deletions

File tree

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.62.0 (2026-02-08)
4+
5+
* Regenerated from discovery document revision 20260202
6+
37
### v0.61.0 (2026-01-18)
48

59
* Regenerated from discovery document revision 20260111

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class CancelSubscriptionRequest
5454

5555
# Optional. If true, Google will cancel the subscription immediately, and may or
5656
# may not (based on the contract) issue a prorated refund for the remainder of
57-
# the billing cycle. Otherwise, Google defers the cancelation at renewal_time,
57+
# the billing cycle. Otherwise, Google defers the cancellation at renewal_time,
5858
# and will not issue a refund. - YouTube subscriptions must use this option
5959
# currently. However, the user will still have access to the subscription until
6060
# the end of the billing cycle.
@@ -407,16 +407,16 @@ class FindEligiblePromotionsRequest
407407
attr_accessor :filter
408408

409409
# Optional. The maximum number of promotions to return. The service may return
410-
# fewer than this value. If unspecified, at most 50 products will be returned.
410+
# fewer than this value. If unspecified, at most 50 promotions will be returned.
411411
# The maximum value is 1000; values above 1000 will be coerced to 1000.
412412
# Corresponds to the JSON property `pageSize`
413413
# @return [Fixnum]
414414
attr_accessor :page_size
415415

416-
# Optional. A page token, received from a previous `ListPromotions` call.
416+
# Optional. A page token, received from a previous `FindEligiblePromotions` call.
417417
# Provide this to retrieve the subsequent page. When paginating, all other
418-
# parameters provided to `ListPromotions` must match the call that provided the
419-
# page token.
418+
# parameters provided to `FindEligiblePromotions` must match the call that
419+
# provided the page token.
420420
# Corresponds to the JSON property `pageToken`
421421
# @return [String]
422422
attr_accessor :page_token
@@ -459,12 +459,12 @@ def update!(**args)
459459
end
460460
end
461461

462-
# Details for a subscriptiin line item with finite billing cycles.
462+
# Details for a subscription line item with finite billing cycles.
463463
class FiniteBillingCycleDetails
464464
include Google::Apis::Core::Hashable
465465

466-
# Required. The number of a subscription line item billing cycles after which
467-
# billing will stop automatically.
466+
# The number of a subscription line item billing cycles after which billing will
467+
# stop automatically.
468468
# Corresponds to the JSON property `billingCycleCountLimit`
469469
# @return [Fixnum]
470470
attr_accessor :billing_cycle_count_limit
@@ -767,7 +767,7 @@ class Product
767767
# @return [Google::Apis::PaymentsresellersubscriptionV1::ProductBundleDetails]
768768
attr_accessor :bundle_details
769769

770-
# Details for a subscriptiin line item with finite billing cycles.
770+
# Details for a subscription line item with finite billing cycles.
771771
# Corresponds to the JSON property `finiteBillingCycleDetails`
772772
# @return [Google::Apis::PaymentsresellersubscriptionV1::FiniteBillingCycleDetails]
773773
attr_accessor :finite_billing_cycle_details
@@ -789,7 +789,7 @@ class Product
789789
attr_accessor :product_type
790790

791791
# Output only. 2-letter ISO region code where the product is available in. Ex. "
792-
# US" Please refers to: https://en.wikipedia.org/wiki/ISO_3166-1
792+
# US" Please refer to: https://en.wikipedia.org/wiki/ISO_3166-1
793793
# Corresponds to the JSON property `regionCodes`
794794
# @return [Array<String>]
795795
attr_accessor :region_codes
@@ -961,7 +961,7 @@ class Promotion
961961
attr_accessor :promotion_type
962962

963963
# Output only. 2-letter ISO region code where the promotion is available in. Ex.
964-
# "US" Please refers to: https://en.wikipedia.org/wiki/ISO_3166-1
964+
# "US" Please refer to: https://en.wikipedia.org/wiki/ISO_3166-1
965965
# Corresponds to the JSON property `regionCodes`
966966
# @return [Array<String>]
967967
attr_accessor :region_codes
@@ -1341,7 +1341,7 @@ class SubscriptionLineItem
13411341
# @return [String]
13421342
attr_accessor :description
13431343

1344-
# Details for a subscriptiin line item with finite billing cycles.
1344+
# Details for a subscription line item with finite billing cycles.
13451345
# Corresponds to the JSON property `finiteBillingCycleDetails`
13461346
# @return [Google::Apis::PaymentsresellersubscriptionV1::FiniteBillingCycleDetails]
13471347
attr_accessor :finite_billing_cycle_details
@@ -1378,8 +1378,8 @@ class SubscriptionLineItem
13781378
# @return [Google::Apis::PaymentsresellersubscriptionV1::SubscriptionLineItemOneTimeRecurrenceDetails]
13791379
attr_accessor :one_time_recurrence_details
13801380

1381-
# Required. Product resource name that identifies one the line item The format
1382-
# is 'partners/`partner_id`/products/`product_id`'.
1381+
# Required. Product resource name that identifies the product associated with
1382+
# this line item. The format is 'partners/`partner_id`/products/`product_id`'.
13831383
# Corresponds to the JSON property `product`
13841384
# @return [String]
13851385
attr_accessor :product

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.61.0"
19+
GEM_VERSION = "0.62.0"
2020

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

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

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def initialize
5252
end
5353

5454
# 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
55+
# that can be resold by the partner. It should be authenticated with a service
5656
# account.
5757
# @param [String] parent
5858
# Required. The parent, the partner that can resell. Format: partners/`partner`
@@ -104,7 +104,7 @@ def list_partner_products(parent, filter: nil, page_size: nil, page_token: nil,
104104
execute_or_queue_command(command, &block)
105105
end
106106

107-
# Currently, it is only enabeld for **YouTube**. Finds eligible promotions for
107+
# Currently, it is only enabled for **YouTube**. Finds eligible promotions for
108108
# the current user. The API requires user authorization via OAuth. The bare
109109
# minimum oauth scope `openid` is sufficient, which will skip the consent screen.
110110
# @param [String] parent
@@ -141,7 +141,7 @@ def find_partner_promotion_eligible(parent, find_eligible_promotions_request_obj
141141

142142
# Currently, it doesn't support **YouTube** promotions. Retrieves the promotions,
143143
# such as free trial, that can be used by the partner. It should be
144-
# autenticated with a service account.
144+
# authenticated with a service account.
145145
# @param [String] parent
146146
# Required. The parent, the partner that can resell. Format: partners/`partner`
147147
# @param [String] filter
@@ -157,7 +157,7 @@ def find_partner_promotion_eligible(parent, find_eligible_promotions_request_obj
157157
# youtubePayload.partnerEligibilityId=eligibility-id`
158158
# @param [Fixnum] page_size
159159
# Optional. The maximum number of promotions to return. The service may return
160-
# fewer than this value. If unspecified, at most 50 products will be returned.
160+
# fewer than this value. If unspecified, at most 50 promotions will be returned.
161161
# The maximum value is 1000; values above 1000 will be coerced to 1000.
162162
# @param [String] page_token
163163
# Optional. A page token, received from a previous `ListPromotions` call.
@@ -537,7 +537,7 @@ def undo_partner_subscription_cancel(name, undo_cancel_subscription_request_obje
537537
execute_or_queue_command(command, &block)
538538
end
539539

540-
# Updates a line item of a subscription. It should be autenticated with a
540+
# Updates a line item of a subscription. It should be authenticated with a
541541
# service account.
542542
# @param [String] name
543543
# Identifier. Resource name of the line item. Format: partners/`partner`/

0 commit comments

Comments
 (0)