Skip to content

Commit 6069673

Browse files
feat(forms): update the api
#### forms:v1 The following keys were added: - schemas.Question.properties.ratingQuestion.$ref (Total Keys: 1) - schemas.RatingQuestion (Total Keys: 5)
1 parent 1c0258e commit 6069673

File tree

2 files changed

+81
-1
lines changed

2 files changed

+81
-1
lines changed

docs/dyn/forms_v1.forms.html

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,10 @@ <h3>Method Details</h3>
252252
},
253253
},
254254
&quot;questionId&quot;: &quot;A String&quot;, # Read only. The question ID. On creation, it can be provided but the ID must not be already used in the form. If not provided, a new ID is assigned.
255+
&quot;ratingQuestion&quot;: { # A rating question. The user has a range of icons to choose from. # A respondent can choose a rating from a pre-defined set of icons.
256+
&quot;iconType&quot;: &quot;A String&quot;, # Required. The icon type to use for the rating.
257+
&quot;ratingScaleLevel&quot;: 42, # Required. The rating scale level of the rating question.
258+
},
255259
&quot;required&quot;: True or False, # Whether the question must be answered in order for a respondent to submit their response.
256260
&quot;rowQuestion&quot;: { # Configuration for a question that is part of a question group. # A row of a QuestionGroupItem.
257261
&quot;title&quot;: &quot;A String&quot;, # Required. The title for the single row in the QuestionGroupItem.
@@ -371,6 +375,10 @@ <h3>Method Details</h3>
371375
},
372376
},
373377
&quot;questionId&quot;: &quot;A String&quot;, # Read only. The question ID. On creation, it can be provided but the ID must not be already used in the form. If not provided, a new ID is assigned.
378+
&quot;ratingQuestion&quot;: { # A rating question. The user has a range of icons to choose from. # A respondent can choose a rating from a pre-defined set of icons.
379+
&quot;iconType&quot;: &quot;A String&quot;, # Required. The icon type to use for the rating.
380+
&quot;ratingScaleLevel&quot;: 42, # Required. The rating scale level of the rating question.
381+
},
374382
&quot;required&quot;: True or False, # Whether the question must be answered in order for a respondent to submit their response.
375383
&quot;rowQuestion&quot;: { # Configuration for a question that is part of a question group. # A row of a QuestionGroupItem.
376384
&quot;title&quot;: &quot;A String&quot;, # Required. The title for the single row in the QuestionGroupItem.
@@ -570,6 +578,10 @@ <h3>Method Details</h3>
570578
},
571579
},
572580
&quot;questionId&quot;: &quot;A String&quot;, # Read only. The question ID. On creation, it can be provided but the ID must not be already used in the form. If not provided, a new ID is assigned.
581+
&quot;ratingQuestion&quot;: { # A rating question. The user has a range of icons to choose from. # A respondent can choose a rating from a pre-defined set of icons.
582+
&quot;iconType&quot;: &quot;A String&quot;, # Required. The icon type to use for the rating.
583+
&quot;ratingScaleLevel&quot;: 42, # Required. The rating scale level of the rating question.
584+
},
573585
&quot;required&quot;: True or False, # Whether the question must be answered in order for a respondent to submit their response.
574586
&quot;rowQuestion&quot;: { # Configuration for a question that is part of a question group. # A row of a QuestionGroupItem.
575587
&quot;title&quot;: &quot;A String&quot;, # Required. The title for the single row in the QuestionGroupItem.
@@ -689,6 +701,10 @@ <h3>Method Details</h3>
689701
},
690702
},
691703
&quot;questionId&quot;: &quot;A String&quot;, # Read only. The question ID. On creation, it can be provided but the ID must not be already used in the form. If not provided, a new ID is assigned.
704+
&quot;ratingQuestion&quot;: { # A rating question. The user has a range of icons to choose from. # A respondent can choose a rating from a pre-defined set of icons.
705+
&quot;iconType&quot;: &quot;A String&quot;, # Required. The icon type to use for the rating.
706+
&quot;ratingScaleLevel&quot;: 42, # Required. The rating scale level of the rating question.
707+
},
692708
&quot;required&quot;: True or False, # Whether the question must be answered in order for a respondent to submit their response.
693709
&quot;rowQuestion&quot;: { # Configuration for a question that is part of a question group. # A row of a QuestionGroupItem.
694710
&quot;title&quot;: &quot;A String&quot;, # Required. The title for the single row in the QuestionGroupItem.
@@ -900,6 +916,10 @@ <h3>Method Details</h3>
900916
},
901917
},
902918
&quot;questionId&quot;: &quot;A String&quot;, # Read only. The question ID. On creation, it can be provided but the ID must not be already used in the form. If not provided, a new ID is assigned.
919+
&quot;ratingQuestion&quot;: { # A rating question. The user has a range of icons to choose from. # A respondent can choose a rating from a pre-defined set of icons.
920+
&quot;iconType&quot;: &quot;A String&quot;, # Required. The icon type to use for the rating.
921+
&quot;ratingScaleLevel&quot;: 42, # Required. The rating scale level of the rating question.
922+
},
903923
&quot;required&quot;: True or False, # Whether the question must be answered in order for a respondent to submit their response.
904924
&quot;rowQuestion&quot;: { # Configuration for a question that is part of a question group. # A row of a QuestionGroupItem.
905925
&quot;title&quot;: &quot;A String&quot;, # Required. The title for the single row in the QuestionGroupItem.
@@ -1019,6 +1039,10 @@ <h3>Method Details</h3>
10191039
},
10201040
},
10211041
&quot;questionId&quot;: &quot;A String&quot;, # Read only. The question ID. On creation, it can be provided but the ID must not be already used in the form. If not provided, a new ID is assigned.
1042+
&quot;ratingQuestion&quot;: { # A rating question. The user has a range of icons to choose from. # A respondent can choose a rating from a pre-defined set of icons.
1043+
&quot;iconType&quot;: &quot;A String&quot;, # Required. The icon type to use for the rating.
1044+
&quot;ratingScaleLevel&quot;: 42, # Required. The rating scale level of the rating question.
1045+
},
10221046
&quot;required&quot;: True or False, # Whether the question must be answered in order for a respondent to submit their response.
10231047
&quot;rowQuestion&quot;: { # Configuration for a question that is part of a question group. # A row of a QuestionGroupItem.
10241048
&quot;title&quot;: &quot;A String&quot;, # Required. The title for the single row in the QuestionGroupItem.
@@ -1240,6 +1264,10 @@ <h3>Method Details</h3>
12401264
},
12411265
},
12421266
&quot;questionId&quot;: &quot;A String&quot;, # Read only. The question ID. On creation, it can be provided but the ID must not be already used in the form. If not provided, a new ID is assigned.
1267+
&quot;ratingQuestion&quot;: { # A rating question. The user has a range of icons to choose from. # A respondent can choose a rating from a pre-defined set of icons.
1268+
&quot;iconType&quot;: &quot;A String&quot;, # Required. The icon type to use for the rating.
1269+
&quot;ratingScaleLevel&quot;: 42, # Required. The rating scale level of the rating question.
1270+
},
12431271
&quot;required&quot;: True or False, # Whether the question must be answered in order for a respondent to submit their response.
12441272
&quot;rowQuestion&quot;: { # Configuration for a question that is part of a question group. # A row of a QuestionGroupItem.
12451273
&quot;title&quot;: &quot;A String&quot;, # Required. The title for the single row in the QuestionGroupItem.
@@ -1359,6 +1387,10 @@ <h3>Method Details</h3>
13591387
},
13601388
},
13611389
&quot;questionId&quot;: &quot;A String&quot;, # Read only. The question ID. On creation, it can be provided but the ID must not be already used in the form. If not provided, a new ID is assigned.
1390+
&quot;ratingQuestion&quot;: { # A rating question. The user has a range of icons to choose from. # A respondent can choose a rating from a pre-defined set of icons.
1391+
&quot;iconType&quot;: &quot;A String&quot;, # Required. The icon type to use for the rating.
1392+
&quot;ratingScaleLevel&quot;: 42, # Required. The rating scale level of the rating question.
1393+
},
13621394
&quot;required&quot;: True or False, # Whether the question must be answered in order for a respondent to submit their response.
13631395
&quot;rowQuestion&quot;: { # Configuration for a question that is part of a question group. # A row of a QuestionGroupItem.
13641396
&quot;title&quot;: &quot;A String&quot;, # Required. The title for the single row in the QuestionGroupItem.
@@ -1559,6 +1591,10 @@ <h3>Method Details</h3>
15591591
},
15601592
},
15611593
&quot;questionId&quot;: &quot;A String&quot;, # Read only. The question ID. On creation, it can be provided but the ID must not be already used in the form. If not provided, a new ID is assigned.
1594+
&quot;ratingQuestion&quot;: { # A rating question. The user has a range of icons to choose from. # A respondent can choose a rating from a pre-defined set of icons.
1595+
&quot;iconType&quot;: &quot;A String&quot;, # Required. The icon type to use for the rating.
1596+
&quot;ratingScaleLevel&quot;: 42, # Required. The rating scale level of the rating question.
1597+
},
15621598
&quot;required&quot;: True or False, # Whether the question must be answered in order for a respondent to submit their response.
15631599
&quot;rowQuestion&quot;: { # Configuration for a question that is part of a question group. # A row of a QuestionGroupItem.
15641600
&quot;title&quot;: &quot;A String&quot;, # Required. The title for the single row in the QuestionGroupItem.
@@ -1678,6 +1714,10 @@ <h3>Method Details</h3>
16781714
},
16791715
},
16801716
&quot;questionId&quot;: &quot;A String&quot;, # Read only. The question ID. On creation, it can be provided but the ID must not be already used in the form. If not provided, a new ID is assigned.
1717+
&quot;ratingQuestion&quot;: { # A rating question. The user has a range of icons to choose from. # A respondent can choose a rating from a pre-defined set of icons.
1718+
&quot;iconType&quot;: &quot;A String&quot;, # Required. The icon type to use for the rating.
1719+
&quot;ratingScaleLevel&quot;: 42, # Required. The rating scale level of the rating question.
1720+
},
16811721
&quot;required&quot;: True or False, # Whether the question must be answered in order for a respondent to submit their response.
16821722
&quot;rowQuestion&quot;: { # Configuration for a question that is part of a question group. # A row of a QuestionGroupItem.
16831723
&quot;title&quot;: &quot;A String&quot;, # Required. The title for the single row in the QuestionGroupItem.
@@ -1885,6 +1925,10 @@ <h3>Method Details</h3>
18851925
},
18861926
},
18871927
&quot;questionId&quot;: &quot;A String&quot;, # Read only. The question ID. On creation, it can be provided but the ID must not be already used in the form. If not provided, a new ID is assigned.
1928+
&quot;ratingQuestion&quot;: { # A rating question. The user has a range of icons to choose from. # A respondent can choose a rating from a pre-defined set of icons.
1929+
&quot;iconType&quot;: &quot;A String&quot;, # Required. The icon type to use for the rating.
1930+
&quot;ratingScaleLevel&quot;: 42, # Required. The rating scale level of the rating question.
1931+
},
18881932
&quot;required&quot;: True or False, # Whether the question must be answered in order for a respondent to submit their response.
18891933
&quot;rowQuestion&quot;: { # Configuration for a question that is part of a question group. # A row of a QuestionGroupItem.
18901934
&quot;title&quot;: &quot;A String&quot;, # Required. The title for the single row in the QuestionGroupItem.
@@ -2004,6 +2048,10 @@ <h3>Method Details</h3>
20042048
},
20052049
},
20062050
&quot;questionId&quot;: &quot;A String&quot;, # Read only. The question ID. On creation, it can be provided but the ID must not be already used in the form. If not provided, a new ID is assigned.
2051+
&quot;ratingQuestion&quot;: { # A rating question. The user has a range of icons to choose from. # A respondent can choose a rating from a pre-defined set of icons.
2052+
&quot;iconType&quot;: &quot;A String&quot;, # Required. The icon type to use for the rating.
2053+
&quot;ratingScaleLevel&quot;: 42, # Required. The rating scale level of the rating question.
2054+
},
20072055
&quot;required&quot;: True or False, # Whether the question must be answered in order for a respondent to submit their response.
20082056
&quot;rowQuestion&quot;: { # Configuration for a question that is part of a question group. # A row of a QuestionGroupItem.
20092057
&quot;title&quot;: &quot;A String&quot;, # Required. The title for the single row in the QuestionGroupItem.

googleapiclient/discovery_cache/documents/forms.v1.json

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@
423423
}
424424
}
425425
},
426-
"revision": "20240625",
426+
"revision": "20241112",
427427
"rootUrl": "https://forms.googleapis.com/",
428428
"schemas": {
429429
"Answer": {
@@ -1190,6 +1190,10 @@
11901190
"description": "Read only. The question ID. On creation, it can be provided but the ID must not be already used in the form. If not provided, a new ID is assigned.",
11911191
"type": "string"
11921192
},
1193+
"ratingQuestion": {
1194+
"$ref": "RatingQuestion",
1195+
"description": "A respondent can choose a rating from a pre-defined set of icons."
1196+
},
11931197
"required": {
11941198
"description": "Whether the question must be answered in order for a respondent to submit their response.",
11951199
"type": "boolean"
@@ -1261,6 +1265,34 @@
12611265
},
12621266
"type": "object"
12631267
},
1268+
"RatingQuestion": {
1269+
"description": "A rating question. The user has a range of icons to choose from.",
1270+
"id": "RatingQuestion",
1271+
"properties": {
1272+
"iconType": {
1273+
"description": "Required. The icon type to use for the rating.",
1274+
"enum": [
1275+
"RATING_ICON_TYPE_UNSPECIFIED",
1276+
"STAR",
1277+
"HEART",
1278+
"THUMB_UP"
1279+
],
1280+
"enumDescriptions": [
1281+
"Default value. Unused.",
1282+
"A star icon.",
1283+
"A heart icon.",
1284+
"A thumbs down icon."
1285+
],
1286+
"type": "string"
1287+
},
1288+
"ratingScaleLevel": {
1289+
"description": "Required. The rating scale level of the rating question.",
1290+
"format": "int32",
1291+
"type": "integer"
1292+
}
1293+
},
1294+
"type": "object"
1295+
},
12641296
"RenewWatchRequest": {
12651297
"description": "Renew an existing Watch for seven days.",
12661298
"id": "RenewWatchRequest",

0 commit comments

Comments
 (0)