diff --git a/clients/android_publisher/lib/google_api/android_publisher/v3/metadata.ex b/clients/android_publisher/lib/google_api/android_publisher/v3/metadata.ex index a14892bbf1..64d6a966d7 100644 --- a/clients/android_publisher/lib/google_api/android_publisher/v3/metadata.ex +++ b/clients/android_publisher/lib/google_api/android_publisher/v3/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.AndroidPublisher.V3 do API client metadata for GoogleApi.AndroidPublisher.V3. """ - @discovery_revision "20241216" + @discovery_revision "20241217" def discovery_revision(), do: @discovery_revision end diff --git a/clients/android_publisher/lib/google_api/android_publisher/v3/model/auto_renewing_base_plan_type.ex b/clients/android_publisher/lib/google_api/android_publisher/v3/model/auto_renewing_base_plan_type.ex index bdcba86d37..e17932965d 100644 --- a/clients/android_publisher/lib/google_api/android_publisher/v3/model/auto_renewing_base_plan_type.ex +++ b/clients/android_publisher/lib/google_api/android_publisher/v3/model/auto_renewing_base_plan_type.ex @@ -21,9 +21,9 @@ defmodule GoogleApi.AndroidPublisher.V3.Model.AutoRenewingBasePlanType do ## Attributes - * `accountHoldDuration` (*type:* `String.t`, *default:* `nil`) - Optional. Account hold period of the subscription, specified in ISO 8601 format. Acceptable values must be in DAYS and in the range P0D (zero days) to P30D (30 days). If not specified, the default value is P30D (30 days). + * `accountHoldDuration` (*type:* `String.t`, *default:* `nil`) - Optional. Account hold period of the subscription, specified in ISO 8601 format. Acceptable values must be in days and between P0D and P60D. If not specified, the default value is P30D. The sum of gracePeriodDuration and accountHoldDuration must be between P30D and P60D days, inclusive. * `billingPeriodDuration` (*type:* `String.t`, *default:* `nil`) - Required. Immutable. Subscription period, specified in ISO 8601 format. For a list of acceptable billing periods, refer to the help center. The duration is immutable after the base plan is created. - * `gracePeriodDuration` (*type:* `String.t`, *default:* `nil`) - Grace period of the subscription, specified in ISO 8601 format. Acceptable values are P0D (zero days), P3D (3 days), P7D (7 days), P14D (14 days), and P30D (30 days). If not specified, a default value will be used based on the recurring period duration. + * `gracePeriodDuration` (*type:* `String.t`, *default:* `nil`) - Grace period of the subscription, specified in ISO 8601 format. Acceptable values must be in days and between P0D and the lesser of 30D and base plan billing period. If not specified, a default value will be used based on the billing period. The sum of gracePeriodDuration and accountHoldDuration must be between P30D and P60D days, inclusive. * `legacyCompatible` (*type:* `boolean()`, *default:* `nil`) - Whether the renewing base plan is backward compatible. The backward compatible base plan is returned by the Google Play Billing Library deprecated method querySkuDetailsAsync(). Only one renewing base plan can be marked as legacy compatible for a given subscription. * `legacyCompatibleSubscriptionOfferId` (*type:* `String.t`, *default:* `nil`) - Subscription offer id which is legacy compatible. The backward compatible subscription offer is returned by the Google Play Billing Library deprecated method querySkuDetailsAsync(). Only one subscription offer can be marked as legacy compatible for a given renewing base plan. To have no Subscription offer as legacy compatible set this field as empty string. * `prorationMode` (*type:* `String.t`, *default:* `nil`) - The proration mode for the base plan determines what happens when a user switches to this plan from another base plan. If unspecified, defaults to CHARGE_ON_NEXT_BILLING_DATE. diff --git a/clients/android_publisher/lib/google_api/android_publisher/v3/model/installments_base_plan_type.ex b/clients/android_publisher/lib/google_api/android_publisher/v3/model/installments_base_plan_type.ex index 257c46b227..fe84a14ead 100644 --- a/clients/android_publisher/lib/google_api/android_publisher/v3/model/installments_base_plan_type.ex +++ b/clients/android_publisher/lib/google_api/android_publisher/v3/model/installments_base_plan_type.ex @@ -21,10 +21,10 @@ defmodule GoogleApi.AndroidPublisher.V3.Model.InstallmentsBasePlanType do ## Attributes - * `accountHoldDuration` (*type:* `String.t`, *default:* `nil`) - Optional. Account hold period of the subscription, specified exclusively in days and in ISO 8601 format. Acceptable values are P0D (zero days) to P30D (30days). If not specified, the default value is P30D (30 days). + * `accountHoldDuration` (*type:* `String.t`, *default:* `nil`) - Optional. Account hold period of the subscription, specified in ISO 8601 format. Acceptable values must be in days and between P0D and P60D. If not specified, the default value is P30D. The sum of gracePeriodDuration and accountHoldDuration must be between P30D and P60D days, inclusive. * `billingPeriodDuration` (*type:* `String.t`, *default:* `nil`) - Required. Immutable. Subscription period, specified in ISO 8601 format. For a list of acceptable billing periods, refer to the help center. The duration is immutable after the base plan is created. * `committedPaymentsCount` (*type:* `integer()`, *default:* `nil`) - Required. Immutable. The number of payments the user is committed to. It is immutable after the base plan is created. - * `gracePeriodDuration` (*type:* `String.t`, *default:* `nil`) - Grace period of the subscription, specified in ISO 8601 format. Acceptable values are P0D (zero days), P3D (3 days), P7D (7 days), P14D (14 days), and P30D (30 days). If not specified, a default value will be used based on the recurring period duration. + * `gracePeriodDuration` (*type:* `String.t`, *default:* `nil`) - Grace period of the subscription, specified in ISO 8601 format. Acceptable values must be in days and between P0D and the lesser of 30D and base plan billing period. If not specified, a default value will be used based on the billing period. The sum of gracePeriodDuration and accountHoldDuration must be between P30D and P60D days, inclusive. * `prorationMode` (*type:* `String.t`, *default:* `nil`) - The proration mode for the base plan determines what happens when a user switches to this plan from another base plan. If unspecified, defaults to CHARGE_ON_NEXT_BILLING_DATE. * `renewalType` (*type:* `String.t`, *default:* `nil`) - Required. Immutable. Installments base plan renewal type. Determines the behavior at the end of the initial commitment. The renewal type is immutable after the base plan is created. * `resubscribeState` (*type:* `String.t`, *default:* `nil`) - Whether users should be able to resubscribe to this base plan in Google Play surfaces. Defaults to RESUBSCRIBE_STATE_ACTIVE if not specified. diff --git a/clients/android_publisher/mix.exs b/clients/android_publisher/mix.exs index 528c50cb08..2e6a48627a 100644 --- a/clients/android_publisher/mix.exs +++ b/clients/android_publisher/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.AndroidPublisher.Mixfile do use Mix.Project - @version "0.42.0" + @version "0.42.1" def project() do [