Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-paymentsresellersubscription_v1

### v0.62.0 (2026-02-08)

* Regenerated from discovery document revision 20260202

### v0.61.0 (2026-01-18)

* Regenerated from discovery document revision 20260111
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class CancelSubscriptionRequest

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

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

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

# Details for a subscriptiin line item with finite billing cycles.
# Details for a subscription line item with finite billing cycles.
class FiniteBillingCycleDetails
include Google::Apis::Core::Hashable

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

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

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

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

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

# Required. Product resource name that identifies one the line item The format
# is 'partners/`partner_id`/products/`product_id`'.
# Required. Product resource name that identifies the product associated with
# this line item. The format is 'partners/`partner_id`/products/`product_id`'.
# Corresponds to the JSON property `product`
# @return [String]
attr_accessor :product
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module PaymentsresellersubscriptionV1
# Version of the google-apis-paymentsresellersubscription_v1 gem
GEM_VERSION = "0.61.0"
GEM_VERSION = "0.62.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20260111"
REVISION = "20260202"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def initialize
end

# Currently, it doesn't support **YouTube** products. Retrieves the products
# that can be resold by the partner. It should be autenticated with a service
# that can be resold by the partner. It should be authenticated with a service
# account.
# @param [String] parent
# Required. The parent, the partner that can resell. Format: partners/`partner`
Expand Down Expand Up @@ -104,7 +104,7 @@ def list_partner_products(parent, filter: nil, page_size: nil, page_token: nil,
execute_or_queue_command(command, &block)
end

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

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

# Updates a line item of a subscription. It should be autenticated with a
# Updates a line item of a subscription. It should be authenticated with a
# service account.
# @param [String] name
# Identifier. Resource name of the line item. Format: partners/`partner`/
Expand Down