From 0c694acdbb8d1a24822f2ac099bfba2711f1f287 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 14 May 2024 13:13:40 +0000 Subject: [PATCH] feat: Automated regeneration of Fonts client --- clients/fonts/README.md | 2 +- clients/fonts/lib/google_api/fonts/v1/metadata.ex | 2 +- clients/fonts/lib/google_api/fonts/v1/model/webfont.ex | 3 +++ clients/fonts/mix.exs | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/clients/fonts/README.md b/clients/fonts/README.md index 8ff9260f37..e0ac7ee618 100644 --- a/clients/fonts/README.md +++ b/clients/fonts/README.md @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding ```elixir def deps do - [{:google_api_fonts, "~> 0.12"}] + [{:google_api_fonts, "~> 0.13"}] end ``` diff --git a/clients/fonts/lib/google_api/fonts/v1/metadata.ex b/clients/fonts/lib/google_api/fonts/v1/metadata.ex index 7e1cf8e9d0..78c79c9659 100644 --- a/clients/fonts/lib/google_api/fonts/v1/metadata.ex +++ b/clients/fonts/lib/google_api/fonts/v1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.Fonts.V1 do API client metadata for GoogleApi.Fonts.V1. """ - @discovery_revision "20240306" + @discovery_revision "20240508" def discovery_revision(), do: @discovery_revision end diff --git a/clients/fonts/lib/google_api/fonts/v1/model/webfont.ex b/clients/fonts/lib/google_api/fonts/v1/model/webfont.ex index 3286fa6856..fad776b18b 100644 --- a/clients/fonts/lib/google_api/fonts/v1/model/webfont.ex +++ b/clients/fonts/lib/google_api/fonts/v1/model/webfont.ex @@ -23,6 +23,7 @@ defmodule GoogleApi.Fonts.V1.Model.Webfont do * `axes` (*type:* `list(GoogleApi.Fonts.V1.Model.Axis.t)`, *default:* `nil`) - Axis for variable fonts. * `category` (*type:* `String.t`, *default:* `nil`) - The category of the font. + * `colorCapabilities` (*type:* `list(String.t)`, *default:* `nil`) - The color format(s) available for this family. * `family` (*type:* `String.t`, *default:* `nil`) - The name of the font. * `files` (*type:* `map()`, *default:* `nil`) - The font files (with all supported scripts) for each one of the available variants, as a key : value map. * `kind` (*type:* `String.t`, *default:* `nil`) - This kind represents a webfont object in the webfonts service. @@ -38,6 +39,7 @@ defmodule GoogleApi.Fonts.V1.Model.Webfont do @type t :: %__MODULE__{ :axes => list(GoogleApi.Fonts.V1.Model.Axis.t()) | nil, :category => String.t() | nil, + :colorCapabilities => list(String.t()) | nil, :family => String.t() | nil, :files => map() | nil, :kind => String.t() | nil, @@ -50,6 +52,7 @@ defmodule GoogleApi.Fonts.V1.Model.Webfont do field(:axes, as: GoogleApi.Fonts.V1.Model.Axis, type: :list) field(:category) + field(:colorCapabilities, type: :list) field(:family) field(:files, type: :map) field(:kind) diff --git a/clients/fonts/mix.exs b/clients/fonts/mix.exs index 461859589b..ac14144c08 100644 --- a/clients/fonts/mix.exs +++ b/clients/fonts/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.Fonts.Mixfile do use Mix.Project - @version "0.12.0" + @version "0.13.0" def project() do [