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 webfonts v1 client #19294

Merged
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: 2 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -319929,6 +319929,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
Loading