Skip to content

Commit 6bb2128

Browse files
feat: Automated regeneration of Content client (googleapis#12599)
Auto-created at 2024-11-21 13:21:24 +0000 using the toys pull request generator.
1 parent 16e05c5 commit 6bb2128

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

clients/content/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding
1111

1212
```elixir
1313
def deps do
14-
[{:google_api_content, "~> 0.71"}]
14+
[{:google_api_content, "~> 0.72"}]
1515
end
1616
```
1717

clients/content/lib/google_api/content/v21/metadata.ex

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

23-
@discovery_revision "20241023"
23+
@discovery_revision "20241119"
2424

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

clients/content/lib/google_api/content/v21/model/loyalty_program.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ defmodule GoogleApi.Content.V21.Model.LoyaltyProgram do
2626
* `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.
2727
* `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.
2828
* `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.
29+
* `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.
2930
* `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.
3031
"""
3132

@@ -37,6 +38,7 @@ defmodule GoogleApi.Content.V21.Model.LoyaltyProgram do
3738
:memberPriceEffectiveDate => String.t() | nil,
3839
:price => GoogleApi.Content.V21.Model.Price.t() | nil,
3940
:programLabel => String.t() | nil,
41+
:shippingLabel => String.t() | nil,
4042
:tierLabel => String.t() | nil
4143
}
4244

@@ -45,6 +47,7 @@ defmodule GoogleApi.Content.V21.Model.LoyaltyProgram do
4547
field(:memberPriceEffectiveDate)
4648
field(:price, as: GoogleApi.Content.V21.Model.Price)
4749
field(:programLabel)
50+
field(:shippingLabel)
4851
field(:tierLabel)
4952
end
5053

clients/content/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.Content.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.71.0"
21+
@version "0.72.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)