Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of AndroidPublisher client #12732

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
2 changes: 1 addition & 1 deletion clients/android_publisher/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding

```elixir
def deps do
[{:google_api_android_publisher, "~> 0.41"}]
[{:google_api_android_publisher, "~> 0.42"}]
end
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.AndroidPublisher.V3 do
API client metadata for GoogleApi.AndroidPublisher.V3.
"""

@discovery_revision "20241125"
@discovery_revision "20241216"

def discovery_revision(), do: @discovery_revision
end
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ defmodule GoogleApi.AndroidPublisher.V3.Model.AutoRenewingPlan do
* `autoRenewEnabled` (*type:* `boolean()`, *default:* `nil`) - If the subscription is currently set to auto-renew, e.g. the user has not canceled the subscription
* `installmentDetails` (*type:* `GoogleApi.AndroidPublisher.V3.Model.InstallmentPlan.t`, *default:* `nil`) - The installment plan commitment and state related info for the auto renewing plan.
* `priceChangeDetails` (*type:* `GoogleApi.AndroidPublisher.V3.Model.SubscriptionItemPriceChangeDetails.t`, *default:* `nil`) - The information of the last price change for the item since subscription signup.
* `recurringPrice` (*type:* `GoogleApi.AndroidPublisher.V3.Model.Money.t`, *default:* `nil`) - The current recurring price of the auto renewing plan.
"""

use GoogleApi.Gax.ModelBase
Expand All @@ -32,7 +33,8 @@ defmodule GoogleApi.AndroidPublisher.V3.Model.AutoRenewingPlan do
:autoRenewEnabled => boolean() | nil,
:installmentDetails => GoogleApi.AndroidPublisher.V3.Model.InstallmentPlan.t() | nil,
:priceChangeDetails =>
GoogleApi.AndroidPublisher.V3.Model.SubscriptionItemPriceChangeDetails.t() | nil
GoogleApi.AndroidPublisher.V3.Model.SubscriptionItemPriceChangeDetails.t() | nil,
:recurringPrice => GoogleApi.AndroidPublisher.V3.Model.Money.t() | nil
}

field(:autoRenewEnabled)
Expand All @@ -41,6 +43,8 @@ defmodule GoogleApi.AndroidPublisher.V3.Model.AutoRenewingPlan do
field(:priceChangeDetails,
as: GoogleApi.AndroidPublisher.V3.Model.SubscriptionItemPriceChangeDetails
)

field(:recurringPrice, as: GoogleApi.AndroidPublisher.V3.Model.Money)
end

defimpl Poison.Decoder, for: GoogleApi.AndroidPublisher.V3.Model.AutoRenewingPlan do
Expand Down
2 changes: 1 addition & 1 deletion clients/android_publisher/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.AndroidPublisher.Mixfile do
use Mix.Project

@version "0.41.0"
@version "0.42.0"

def project() do
[
Expand Down
Loading