Skip to content

Commit ba92dce

Browse files
feat: Automated regeneration of webfonts v1 client (googleapis#21462)
Auto-created at 2025-01-26 09:43:02 +0000 using the toys pull request generator.
1 parent 7d6a7e3 commit ba92dce

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351891,6 +351891,7 @@
351891351891
"/webfonts:v1/userIp": user_ip
351892351892
"/webfonts:v1/webfonts.webfonts.list": list_webfonts
351893351893
"/webfonts:v1/webfonts.webfonts.list/capability": capability
351894+
"/webfonts:v1/webfonts.webfonts.list/category": category
351894351895
"/webfonts:v1/webfonts.webfonts.list/family": family
351895351896
"/webfonts:v1/webfonts.webfonts.list/sort": sort
351896351897
"/webfonts:v1/webfonts.webfonts.list/subset": subset

generated/google-apis-webfonts_v1/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-webfonts_v1
22

3+
### v0.18.0 (2025-01-26)
4+
5+
* Regenerated from discovery document revision 20250121
6+
* Regenerated using generator version 0.16.0
7+
38
### v0.17.0 (2024-05-19)
49

510
* Regenerated from discovery document revision 20240508

generated/google-apis-webfonts_v1/lib/google/apis/webfonts_v1/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module WebfontsV1
1818
# Version of the google-apis-webfonts_v1 gem
19-
GEM_VERSION = "0.17.0"
19+
GEM_VERSION = "0.18.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.15.0"
22+
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20240508"
25+
REVISION = "20250121"
2626
end
2727
end
2828
end

generated/google-apis-webfonts_v1/lib/google/apis/webfonts_v1/service.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ def initialize
5656
# @param [Array<String>, String] capability
5757
# Controls the font urls in `Webfont.files`, by default, static ttf fonts are
5858
# sent.
59+
# @param [String] category
60+
# Filters by Webfont.category, if category is found in Webfont.categories. If
61+
# not set, returns all families.
5962
# @param [Array<String>, String] family
6063
# Filters by Webfont.family, using literal match. If not set, returns all
6164
# families
@@ -81,11 +84,12 @@ def initialize
8184
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8285
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8386
# @raise [Google::Apis::AuthorizationError] Authorization is required
84-
def list_webfonts(capability: nil, family: nil, sort: nil, subset: nil, fields: nil, quota_user: nil, options: nil, &block)
87+
def list_webfonts(capability: nil, category: nil, family: nil, sort: nil, subset: nil, fields: nil, quota_user: nil, options: nil, &block)
8588
command = make_simple_command(:get, 'v1/webfonts', options)
8689
command.response_representation = Google::Apis::WebfontsV1::WebfontList::Representation
8790
command.response_class = Google::Apis::WebfontsV1::WebfontList
8891
command.query['capability'] = capability unless capability.nil?
92+
command.query['category'] = category unless category.nil?
8993
command.query['family'] = family unless family.nil?
9094
command.query['sort'] = sort unless sort.nil?
9195
command.query['subset'] = subset unless subset.nil?

0 commit comments

Comments
 (0)