Skip to content

Commit f05a57b

Browse files
feat: Automated regeneration of PaymentsResellerSubscription client (#13153)
Auto-created at 2025-03-14 13:10:39 +0000 using the toys pull request generator.
1 parent 33ca958 commit f05a57b

6 files changed

+15
-15
lines changed

clients/payments_reseller_subscription/lib/google_api/payments_reseller_subscription/v1/api/partners.ex

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ defmodule GoogleApi.PaymentsResellerSubscription.V1.Api.Partners do
2626
@library_version Mix.Project.config() |> Keyword.get(:version, "")
2727

2828
@doc """
29-
To retrieve the products that can be resold by the partner. It should be autenticated with a service account. - This API doesn't apply to YouTube products currently.
29+
Currently, it doesn't support **YouTube** products. Retrieves the products that can be resold by the partner. It should be autenticated with a service account.
3030
3131
## Parameters
3232
@@ -109,7 +109,7 @@ defmodule GoogleApi.PaymentsResellerSubscription.V1.Api.Partners do
109109
end
110110

111111
@doc """
112-
To find 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.
112+
Currently, it is only enabeld 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.
113113
114114
## Parameters
115115
@@ -188,7 +188,7 @@ defmodule GoogleApi.PaymentsResellerSubscription.V1.Api.Partners do
188188
end
189189

190190
@doc """
191-
Retrieves the promotions, such as free trial, that can be used by the partner. - This API doesn't apply to YouTube promotions currently. It should be autenticated with a service account.
191+
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.
192192
193193
## Parameters
194194
@@ -271,7 +271,7 @@ defmodule GoogleApi.PaymentsResellerSubscription.V1.Api.Partners do
271271
end
272272

273273
@doc """
274-
Used by partners to cancel a subscription service either immediately or by the end of the current billing cycle for their customers. It should be called directly by the partner using service accounts.
274+
Cancels a subscription service either immediately or by the end of the current billing cycle for their customers. It should be called directly by the partner using service accounts.
275275
276276
## Parameters
277277
@@ -431,7 +431,7 @@ defmodule GoogleApi.PaymentsResellerSubscription.V1.Api.Partners do
431431
end
432432

433433
@doc """
434-
Used by partners to entitle a previously provisioned subscription to the current end user. The end user identity is inferred from the authorized credential of the request. This API must be authorized by the end user using OAuth.
434+
Entitles a previously provisioned subscription to the current end user. The end user identity is inferred from the authorized credential of the request. This API must be authorized by the end user using OAuth.
435435
436436
## Parameters
437437
@@ -510,7 +510,7 @@ defmodule GoogleApi.PaymentsResellerSubscription.V1.Api.Partners do
510510
end
511511

512512
@doc """
513-
[Opt-in only] Most partners should be on auto-extend by default. Used by partners to extend a subscription service for their customers on an ongoing basis for the subscription to remain active and renewable. It should be called directly by the partner using service accounts.
513+
[Opt-in only] Most partners should be on auto-extend by default. Extends a subscription service for their customers on an ongoing basis for the subscription to remain active and renewable. It should be called directly by the partner using service accounts.
514514
515515
## Parameters
516516
@@ -589,7 +589,7 @@ defmodule GoogleApi.PaymentsResellerSubscription.V1.Api.Partners do
589589
end
590590

591591
@doc """
592-
Used by partners to get a subscription by id. It should be called directly by the partner using service accounts.
592+
Gets a subscription by id. It should be called directly by the partner using service accounts.
593593
594594
## Parameters
595595
@@ -747,7 +747,7 @@ defmodule GoogleApi.PaymentsResellerSubscription.V1.Api.Partners do
747747
end
748748

749749
@doc """
750-
Revokes the pending cancellation of a subscription, which is currently in `STATE_CANCEL_AT_END_OF_CYCLE` state. If the subscription is already cancelled, the request will fail. - **This API doesn't apply to YouTube subscriptions.** It should be called directly by the partner using service accounts.
750+
Currently, it is used by **Google One, Play Pass** partners. Revokes the pending cancellation of a subscription, which is currently in `STATE_CANCEL_AT_END_OF_CYCLE` state. If the subscription is already cancelled, the request will fail. It should be called directly by the partner using service accounts.
751751
752752
## Parameters
753753
@@ -826,7 +826,7 @@ defmodule GoogleApi.PaymentsResellerSubscription.V1.Api.Partners do
826826
end
827827

828828
@doc """
829-
This API replaces user authorized OAuth consent based APIs (Create, Entitle). Generates a short-lived token for a user session based on the user intent. You can use the session token to redirect the user to Google to finish the signup flow. You can re-generate new session token repeatedly for the same request if necessary, regardless of the previous tokens being expired or not.
829+
This API replaces user authorized OAuth consent based APIs (Create, Entitle). Issues a timed session token for the given user intent. You can use the session token to redirect the user to Google to finish the signup flow. You can re-generate new session token repeatedly for the same request if necessary, regardless of the previous tokens being expired or not.
830830
831831
## Parameters
832832

clients/payments_reseller_subscription/lib/google_api/payments_reseller_subscription/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.PaymentsResellerSubscription.V1 do
2020
API client metadata for GoogleApi.PaymentsResellerSubscription.V1.
2121
"""
2222

23-
@discovery_revision "20250302"
23+
@discovery_revision "20250312"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/payments_reseller_subscription/lib/google_api/payments_reseller_subscription/v1/model/google_cloud_payments_reseller_subscription_v1_google_home_payload.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsRes
2121
2222
## Attributes
2323
24-
* `attachedToGoogleStructure` (*type:* `boolean()`, *default:* `nil`) - Output only. Output only. This identifies whether the subscription is attached to a Google Home structure.
24+
* `attachedToGoogleStructure` (*type:* `boolean()`, *default:* `nil`) - Output only. This identifies whether the subscription is attached to a Google Home structure.
2525
* `partnerStructureId` (*type:* `String.t`, *default:* `nil`) - Optional. This identifies the structure ID on partner side that the subscription should be applied to. Only required when the partner requires structure mapping.
2626
"""
2727

clients/payments_reseller_subscription/lib/google_api/payments_reseller_subscription/v1/model/google_cloud_payments_reseller_subscription_v1_product.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ defmodule GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsRes
2121
2222
## Attributes
2323
24-
* `bundleDetails` (*type:* `GoogleApi.PaymentsResellerSubscription.V1.Model.ProductBundleDetails.t`, *default:* `nil`) - Output only. Output Only. Specifies the details for a bundle product.
24+
* `bundleDetails` (*type:* `GoogleApi.PaymentsResellerSubscription.V1.Model.ProductBundleDetails.t`, *default:* `nil`) - Output only. Specifies the details for a bundle product.
2525
* `finiteBillingCycleDetails` (*type:* `GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails.t`, *default:* `nil`) - Optional. Details for a subscription line item with finite billing cycles. If unset, the line item will be charged indefinitely.
2626
* `name` (*type:* `String.t`, *default:* `nil`) - Identifier. Response only. Resource name of the product. It will have the format of "partners/{partner_id}/products/{product_id}"
2727
* `priceConfigs` (*type:* `list(GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig.t)`, *default:* `nil`) - Output only. Price configs for the product in the available regions.
28-
* `productType` (*type:* `String.t`, *default:* `nil`) - Output only. Output Only. Specifies the type of the product.
28+
* `productType` (*type:* `String.t`, *default:* `nil`) - Output only. Specifies the type of the product.
2929
* `regionCodes` (*type:* `list(String.t)`, *default:* `nil`) - 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
3030
* `subscriptionBillingCycleDuration` (*type:* `GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1Duration.t`, *default:* `nil`) - Output only. Specifies the length of the billing cycle of the subscription.
3131
* `titles` (*type:* `list(GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleTypeLocalizedText.t)`, *default:* `nil`) - Output only. Localized human readable name of the product.

clients/payments_reseller_subscription/lib/google_api/payments_reseller_subscription/v1/model/google_cloud_payments_reseller_subscription_v1_promotion.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ defmodule GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsRes
2626
* `freeTrialDuration` (*type:* `GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1Duration.t`, *default:* `nil`) - Optional. Specifies the duration of the free trial of the subscription when promotion_type is PROMOTION_TYPE_FREE_TRIAL
2727
* `introductoryPricingDetails` (*type:* `GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails.t`, *default:* `nil`) - Optional. Specifies the introductory pricing details when the promotion_type is PROMOTION_TYPE_INTRODUCTORY_PRICING.
2828
* `name` (*type:* `String.t`, *default:* `nil`) - Identifier. Response only. Resource name of the subscription promotion. It will have the format of "partners/{partner_id}/promotion/{promotion_id}"
29-
* `promotionType` (*type:* `String.t`, *default:* `nil`) - Output only. Output Only. Specifies the type of the promotion.
29+
* `promotionType` (*type:* `String.t`, *default:* `nil`) - Output only. Specifies the type of the promotion.
3030
* `regionCodes` (*type:* `list(String.t)`, *default:* `nil`) - 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
3131
* `startTime` (*type:* `DateTime.t`, *default:* `nil`) - Optional. Specifies the start time (inclusive) of the period that the promotion is available in.
3232
* `titles` (*type:* `list(GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleTypeLocalizedText.t)`, *default:* `nil`) - Output only. Localized human readable name of the promotion.

clients/payments_reseller_subscription/lib/google_api/payments_reseller_subscription/v1/model/google_cloud_payments_reseller_subscription_v1_promotion_introductory_pricing_details_introductory_pricing_spec.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ defmodule GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsRes
2323
2424
* `discountAmount` (*type:* `GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1Amount.t`, *default:* `nil`) - Output only. The discount amount. The value is positive.
2525
* `discountRatioMicros` (*type:* `String.t`, *default:* `nil`) - Output only. The discount percentage in micros. For example, 50,000 represents 5%.
26-
* `recurrenceCount` (*type:* `integer()`, *default:* `nil`) - Output only. Output Only. The duration of an introductory offer in billing cycles.
26+
* `recurrenceCount` (*type:* `integer()`, *default:* `nil`) - Output only. The duration of an introductory offer in billing cycles.
2727
* `regionCode` (*type:* `String.t`, *default:* `nil`) - Output only. 2-letter ISO region code where the product is available in. Ex. "US".
2828
"""
2929

0 commit comments

Comments
 (0)