From 2f16e04bdee36d7b54dc85e53a3a4dffcc0f487d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 21 Nov 2024 13:21:24 +0000 Subject: [PATCH] feat: Automated regeneration of Content client --- clients/content/README.md | 2 +- clients/content/lib/google_api/content/v21/metadata.ex | 2 +- .../lib/google_api/content/v21/model/loyalty_program.ex | 3 +++ clients/content/mix.exs | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/clients/content/README.md b/clients/content/README.md index 94c4956e20..71a593da12 100644 --- a/clients/content/README.md +++ b/clients/content/README.md @@ -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 ``` diff --git a/clients/content/lib/google_api/content/v21/metadata.ex b/clients/content/lib/google_api/content/v21/metadata.ex index c86cf86340..0876bdff8a 100644 --- a/clients/content/lib/google_api/content/v21/metadata.ex +++ b/clients/content/lib/google_api/content/v21/metadata.ex @@ -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 diff --git a/clients/content/lib/google_api/content/v21/model/loyalty_program.ex b/clients/content/lib/google_api/content/v21/model/loyalty_program.ex index 69455e849d..3f420f2c67 100644 --- a/clients/content/lib/google_api/content/v21/model/loyalty_program.ex +++ b/clients/content/lib/google_api/content/v21/model/loyalty_program.ex @@ -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. """ @@ -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 } @@ -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 diff --git a/clients/content/mix.exs b/clients/content/mix.exs index ca62e7c507..373294e2ff 100644 --- a/clients/content/mix.exs +++ b/clients/content/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.Content.Mixfile do use Mix.Project - @version "0.71.0" + @version "0.72.0" def project() do [