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 Content client #12599

Merged
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/content/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_content, "~> 0.71"}]
[{:google_api_content, "~> 0.72"}]
end
```

Expand Down
2 changes: 1 addition & 1 deletion clients/content/lib/google_api/content/v21/metadata.ex
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.Content.V21 do
API client metadata for GoogleApi.Content.V21.
"""

@discovery_revision "20241023"
@discovery_revision "20241119"

def discovery_revision(), do: @discovery_revision
end
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ defmodule GoogleApi.Content.V21.Model.LoyaltyProgram do
* `memberPriceEffectiveDate` (*type:* `String.t`, *default:* `nil`) - Optional. A date range during which the item is eligible for member price. If not specified, the member price is always applicable. The date range is represented by a pair of ISO 8601 dates separated by a space, comma, or slash.
* `price` (*type:* `GoogleApi.Content.V21.Model.Price.t`, *default:* `nil`) - Optional. The price for members of the given tier (instant discount price). Must be smaller or equal to the regular price.
* `programLabel` (*type:* `String.t`, *default:* `nil`) - Required. The label of the loyalty program. This is an internal label that uniquely identifies the relationship between a merchant entity and a loyalty program entity. It must be provided so that system can associate the assets below (for example, price and points) with a merchant. The corresponding program must be linked to the merchant account.
* `shippingLabel` (*type:* `String.t`, *default:* `nil`) - Optional. The shipping label for the loyalty program. You can use this label to indicate whether this offer has the loyalty shipping benefit. If not specified, the item is not eligible for loyalty shipping for the given loyalty tier.
* `tierLabel` (*type:* `String.t`, *default:* `nil`) - Required. The label of the tier within the loyalty program. Must match one of the labels within the program.
"""

Expand All @@ -37,6 +38,7 @@ defmodule GoogleApi.Content.V21.Model.LoyaltyProgram do
:memberPriceEffectiveDate => String.t() | nil,
:price => GoogleApi.Content.V21.Model.Price.t() | nil,
:programLabel => String.t() | nil,
:shippingLabel => String.t() | nil,
:tierLabel => String.t() | nil
}

Expand All @@ -45,6 +47,7 @@ defmodule GoogleApi.Content.V21.Model.LoyaltyProgram do
field(:memberPriceEffectiveDate)
field(:price, as: GoogleApi.Content.V21.Model.Price)
field(:programLabel)
field(:shippingLabel)
field(:tierLabel)
end

Expand Down
2 changes: 1 addition & 1 deletion clients/content/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.Content.Mixfile do
use Mix.Project

@version "0.71.0"
@version "0.72.0"

def project() do
[
Expand Down
Loading