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 Fonts client #11390

Closed
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/fonts/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_fonts, "~> 0.12"}]
[{:google_api_fonts, "~> 0.13"}]
end
```

Expand Down
2 changes: 1 addition & 1 deletion clients/fonts/lib/google_api/fonts/v1/metadata.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions clients/fonts/lib/google_api/fonts/v1/model/webfont.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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,
Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion clients/fonts/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.Fonts.Mixfile do
use Mix.Project

@version "0.12.0"
@version "0.13.0"

def project() do
[
Expand Down
Loading