Skip to content

Commit 7614ccb

Browse files
chore: regenerate forms client (#24260)
1 parent bc82946 commit 7614ccb

File tree

5 files changed

+121
-7
lines changed

5 files changed

+121
-7
lines changed

clients/google-api-services-forms/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-forms</artifactId>
25-
<version>v1-rev20220908-2.0.0</version>
25+
<version>v1-rev20241112-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-forms:v1-rev20220908-2.0.0'
38+
implementation 'com.google.apis:google-api-services-forms:v1-rev20241112-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-forms/v1/2.0.0/com/google/api/services/forms/v1/model/Question.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,13 @@ public final class Question extends com.google.api.client.json.GenericJson {
6565
@com.google.api.client.util.Key
6666
private java.lang.String questionId;
6767

68+
/**
69+
* A respondent can choose a rating from a pre-defined set of icons.
70+
* The value may be {@code null}.
71+
*/
72+
@com.google.api.client.util.Key
73+
private RatingQuestion ratingQuestion;
74+
6875
/**
6976
* Whether the question must be answered in order for a respondent to submit their response.
7077
* The value may be {@code null}.
@@ -187,6 +194,23 @@ public Question setQuestionId(java.lang.String questionId) {
187194
return this;
188195
}
189196

197+
/**
198+
* A respondent can choose a rating from a pre-defined set of icons.
199+
* @return value or {@code null} for none
200+
*/
201+
public RatingQuestion getRatingQuestion() {
202+
return ratingQuestion;
203+
}
204+
205+
/**
206+
* A respondent can choose a rating from a pre-defined set of icons.
207+
* @param ratingQuestion ratingQuestion or {@code null} for none
208+
*/
209+
public Question setRatingQuestion(RatingQuestion ratingQuestion) {
210+
this.ratingQuestion = ratingQuestion;
211+
return this;
212+
}
213+
190214
/**
191215
* Whether the question must be answered in order for a respondent to submit their response.
192216
* @return value or {@code null} for none
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
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.forms.v1.model;
18+
19+
/**
20+
* A rating question. The user has a range of icons to choose from.
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 Google Forms API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class RatingQuestion extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. The icon type to use for the rating.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String iconType;
38+
39+
/**
40+
* Required. The rating scale level of the rating question.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.Integer ratingScaleLevel;
45+
46+
/**
47+
* Required. The icon type to use for the rating.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.String getIconType() {
51+
return iconType;
52+
}
53+
54+
/**
55+
* Required. The icon type to use for the rating.
56+
* @param iconType iconType or {@code null} for none
57+
*/
58+
public RatingQuestion setIconType(java.lang.String iconType) {
59+
this.iconType = iconType;
60+
return this;
61+
}
62+
63+
/**
64+
* Required. The rating scale level of the rating question.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.lang.Integer getRatingScaleLevel() {
68+
return ratingScaleLevel;
69+
}
70+
71+
/**
72+
* Required. The rating scale level of the rating question.
73+
* @param ratingScaleLevel ratingScaleLevel or {@code null} for none
74+
*/
75+
public RatingQuestion setRatingScaleLevel(java.lang.Integer ratingScaleLevel) {
76+
this.ratingScaleLevel = ratingScaleLevel;
77+
return this;
78+
}
79+
80+
@Override
81+
public RatingQuestion set(String fieldName, Object value) {
82+
return (RatingQuestion) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public RatingQuestion clone() {
87+
return (RatingQuestion) super.clone();
88+
}
89+
90+
}

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

Lines changed: 3 additions & 3 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-forms</artifactId>
11-
<version>v1-rev20220908-2.0.0</version>
12-
<name>Google Forms API v1-rev20220908-2.0.0</name>
11+
<version>v1-rev20241112-2.0.0</version>
12+
<name>Google Forms API v1-rev20241112-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>
@@ -90,7 +90,7 @@
9090
<windowtitle>Google Forms API ${project.version}</windowtitle>
9191
<links>
9292
<link>http://docs.oracle.com/javase/7/docs/api</link>
93-
<link>https://googleapis.dev/java/google-http-client/1.45.0/</link>
93+
<link>https://googleapis.dev/java/google-http-client/1.45.2/</link>
9494
<link>https://googleapis.dev/java/google-oauth-client/1.36.0/</link>
9595
<link>https://googleapis.dev/java/google-api-client/2.7.0/</link>
9696
</links>

clients/google-api-services-forms/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-forms</artifactId>
25-
<version>v1-rev20220908-2.0.0</version>
25+
<version>v1-rev20241112-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-forms:v1-rev20220908-2.0.0'
38+
implementation 'com.google.apis:google-api-services-forms:v1-rev20241112-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)