Skip to content

Commit

Permalink
feat: Automated regeneration of webfonts v1 client (#19294)
Browse files Browse the repository at this point in the history
Auto-created at 2024-05-19 11:16:38 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored May 21, 2024
1 parent cca97cc commit 514e49a
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 4 deletions.
2 changes: 2 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -320470,6 +320470,8 @@
"/webfonts:v1/Webfont/axes": axes
"/webfonts:v1/Webfont/axes/axis": axis
"/webfonts:v1/Webfont/category": category
"/webfonts:v1/Webfont/colorCapabilities": color_capabilities
"/webfonts:v1/Webfont/colorCapabilities/color_capability": color_capability
"/webfonts:v1/Webfont/family": family
"/webfonts:v1/Webfont/files": files
"/webfonts:v1/Webfont/files/file": file
Expand Down
5 changes: 5 additions & 0 deletions generated/google-apis-webfonts_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release history for google-apis-webfonts_v1

### v0.17.0 (2024-05-19)

* Regenerated from discovery document revision 20240508
* Regenerated using generator version 0.15.0

### v0.16.0 (2024-02-23)

* Regenerated using generator version 0.13.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ Gem::Specification.new do |gem|
gem.require_paths = ["lib"]

gem.required_ruby_version = '>= 2.7'
gem.add_runtime_dependency "google-apis-core", ">= 0.14.0", "< 2.a"
gem.add_runtime_dependency "google-apis-core", ">= 0.15.0", "< 2.a"
end
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ class Webfont
# @return [String]
attr_accessor :category

# The color format(s) available for this family.
# Corresponds to the JSON property `colorCapabilities`
# @return [Array<String>]
attr_accessor :color_capabilities

# The name of the font.
# Corresponds to the JSON property `family`
# @return [String]
Expand Down Expand Up @@ -117,6 +122,7 @@ def initialize(**args)
def update!(**args)
@axes = args[:axes] if args.key?(:axes)
@category = args[:category] if args.key?(:category)
@color_capabilities = args[:color_capabilities] if args.key?(:color_capabilities)
@family = args[:family] if args.key?(:family)
@files = args[:files] if args.key?(:files)
@kind = args[:kind] if args.key?(:kind)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module WebfontsV1
# Version of the google-apis-webfonts_v1 gem
GEM_VERSION = "0.16.0"
GEM_VERSION = "0.17.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.13.1"
GENERATOR_VERSION = "0.15.0"

# Revision of the discovery document this client was generated from
REVISION = "20230419"
REVISION = "20240508"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
collection :axes, as: 'axes', class: Google::Apis::WebfontsV1::Axis, decorator: Google::Apis::WebfontsV1::Axis::Representation

property :category, as: 'category'
collection :color_capabilities, as: 'colorCapabilities'
property :family, as: 'family'
hash :files, as: 'files'
property :kind, as: 'kind'
Expand Down

0 comments on commit 514e49a

Please sign in to comment.