Skip to content

Commit a8117aa

Browse files
1 parent 01bd595 commit a8117aa

File tree

5 files changed

+127
-6
lines changed

5 files changed

+127
-6
lines changed

clients/google-api-services-webfonts/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-webfonts</artifactId>
25-
<version>v1-rev20250121-2.0.0</version>
25+
<version>v1-rev20250917-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-webfonts:v1-rev20250121-2.0.0'
38+
implementation 'com.google.apis:google-api-services-webfonts:v1-rev20250917-2.0.0'
3939
}
4040
```
4141

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.webfonts.model;
18+
19+
/**
20+
* Metadata for a tag.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Web Fonts Developer API. For a detailed explanation
24+
* see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class Tag extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The name of the tag.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String name;
39+
40+
/**
41+
* The weight of the tag.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.Float weight;
46+
47+
/**
48+
* The name of the tag.
49+
* @return value or {@code null} for none
50+
*/
51+
public java.lang.String getName() {
52+
return name;
53+
}
54+
55+
/**
56+
* The name of the tag.
57+
* @param name name or {@code null} for none
58+
*/
59+
public Tag setName(java.lang.String name) {
60+
this.name = name;
61+
return this;
62+
}
63+
64+
/**
65+
* The weight of the tag.
66+
* @return value or {@code null} for none
67+
*/
68+
public java.lang.Float getWeight() {
69+
return weight;
70+
}
71+
72+
/**
73+
* The weight of the tag.
74+
* @param weight weight or {@code null} for none
75+
*/
76+
public Tag setWeight(java.lang.Float weight) {
77+
this.weight = weight;
78+
return this;
79+
}
80+
81+
@Override
82+
public Tag set(String fieldName, Object value) {
83+
return (Tag) super.set(fieldName, value);
84+
}
85+
86+
@Override
87+
public Tag clone() {
88+
return (Tag) super.clone();
89+
}
90+
91+
}

clients/google-api-services-webfonts/v1/2.0.0/com/google/api/services/webfonts/model/Webfont.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,19 @@ public final class Webfont extends com.google.api.client.json.GenericJson {
100100
@com.google.api.client.util.Key
101101
private java.util.List<java.lang.String> subsets;
102102

103+
/**
104+
* The tags that apply to this family.
105+
* The value may be {@code null}.
106+
*/
107+
@com.google.api.client.util.Key
108+
private java.util.List<Tag> tags;
109+
110+
static {
111+
// hack to force ProGuard to consider Tag used, since otherwise it would be stripped out
112+
// see https://github.com/google/google-api-java-client/issues/543
113+
com.google.api.client.util.Data.nullOf(Tag.class);
114+
}
115+
103116
/**
104117
* The available variants for the font.
105118
* The value may be {@code null}.
@@ -269,6 +282,23 @@ public Webfont setSubsets(java.util.List<java.lang.String> subsets) {
269282
return this;
270283
}
271284

285+
/**
286+
* The tags that apply to this family.
287+
* @return value or {@code null} for none
288+
*/
289+
public java.util.List<Tag> getTags() {
290+
return tags;
291+
}
292+
293+
/**
294+
* The tags that apply to this family.
295+
* @param tags tags or {@code null} for none
296+
*/
297+
public Webfont setTags(java.util.List<Tag> tags) {
298+
this.tags = tags;
299+
return this;
300+
}
301+
272302
/**
273303
* The available variants for the font.
274304
* @return value or {@code null} for none

clients/google-api-services-webfonts/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-webfonts</artifactId>
11-
<version>v1-rev20250121-2.0.0</version>
12-
<name>Web Fonts Developer API v1-rev20250121-2.0.0</name>
11+
<version>v1-rev20250917-2.0.0</version>
12+
<name>Web Fonts Developer API v1-rev20250917-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-webfonts/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-webfonts</artifactId>
25-
<version>v1-rev20250121-2.0.0</version>
25+
<version>v1-rev20250917-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-webfonts:v1-rev20250121-2.0.0'
38+
implementation 'com.google.apis:google-api-services-webfonts:v1-rev20250917-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)