@maxim_mazurok/gapi.client.forms-v1 0.0.20230420 → 0.0.20230502

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.d.ts +633 -317
  2. package/package.json +1 -1
  3. package/tests.ts +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://forms.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230420
12
+ // Revision: 20230502
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -24,51 +24,66 @@ declare namespace gapi.client {
24
24
  namespace forms {
25
25
  interface Answer {
26
26
  /** Output only. The answers to a file upload question. */
27
- fileUploadAnswers?: FileUploadAnswers;
27
+ fileUploadAnswers?:
28
+ FileUploadAnswers;
28
29
  /** Output only. The grade for the answer if the form was a quiz. */
29
- grade?: Grade;
30
+ grade?:
31
+ Grade;
30
32
  /** Output only. The question's ID. See also Question.question_id. */
31
- questionId?: string;
33
+ questionId?:
34
+ string;
32
35
  /** Output only. The specific answers as text. */
33
- textAnswers?: TextAnswers;
36
+ textAnswers?:
37
+ TextAnswers;
34
38
  }
35
39
  interface BatchUpdateFormRequest {
36
40
  /** Whether to return an updated version of the model in the response. */
37
- includeFormInResponse?: boolean;
41
+ includeFormInResponse?:
42
+ boolean;
38
43
  /** Required. The update requests of this batch. */
39
- requests?: Request[];
44
+ requests?:
45
+ Request[];
40
46
  /** Provides control over how write requests are executed. */
41
- writeControl?: WriteControl;
47
+ writeControl?:
48
+ WriteControl;
42
49
  }
43
50
  interface BatchUpdateFormResponse {
44
51
  /**
45
52
  * Based on the bool request field `include_form_in_response`, a form with all applied mutations/updates is returned or not. This may be later than the revision ID created by these
46
53
  * changes.
47
54
  */
48
- form?: Form;
55
+ form?:
56
+ Form;
49
57
  /** The reply of the updates. This maps 1:1 with the update requests, although replies to some requests may be empty. */
50
- replies?: Response[];
58
+ replies?:
59
+ Response[];
51
60
  /** The updated write control after applying the request. */
52
- writeControl?: WriteControl;
61
+ writeControl?:
62
+ WriteControl;
53
63
  }
54
64
  interface ChoiceQuestion {
55
65
  /** Required. List of options that a respondent must choose from. */
56
- options?: Option[];
66
+ options?:
67
+ Option[];
57
68
  /**
58
69
  * Whether the options should be displayed in random order for different instances of the quiz. This is often used to prevent cheating by respondents who might be looking at another
59
70
  * respondent's screen, or to address bias in a survey that might be introduced by always putting the same options first or last.
60
71
  */
61
- shuffle?: boolean;
72
+ shuffle?:
73
+ boolean;
62
74
  /** Required. The type of choice question. */
63
- type?: string;
75
+ type?:
76
+ string;
64
77
  }
65
78
  interface CloudPubsubTopic {
66
79
  /** Required. A fully qualified Pub/Sub topic name to publish the events to. This topic must be owned by the calling project and already exist in Pub/Sub. */
67
- topicName?: string;
80
+ topicName?:
81
+ string;
68
82
  }
69
83
  interface CorrectAnswer {
70
84
  /** Required. The correct answer value. See the documentation for TextAnswer.value for details on how various value types are formatted. */
71
- value?: string;
85
+ value?:
86
+ string;
72
87
  }
73
88
  interface CorrectAnswers {
74
89
  /**
@@ -76,317 +91,422 @@ declare namespace gapi.client {
76
91
  * this list (in other words, multiple correct answers are possible). For multiple-valued (`CHECKBOX`) questions, a response is marked correct if it contains exactly the values in this
77
92
  * list.
78
93
  */
79
- answers?: CorrectAnswer[];
94
+ answers?:
95
+ CorrectAnswer[];
80
96
  }
81
97
  interface CreateItemRequest {
82
98
  /** Required. The item to create. */
83
- item?: Item;
99
+ item?:
100
+ Item;
84
101
  /** Required. Where to place the new item. */
85
- location?: Location;
102
+ location?:
103
+ Location;
86
104
  }
87
105
  interface CreateItemResponse {
88
106
  /** The ID of the created item. */
89
- itemId?: string;
107
+ itemId?:
108
+ string;
90
109
  /** The ID of the question created as part of this item, for a question group it lists IDs of all the questions created for this item. */
91
- questionId?: string[];
110
+ questionId?:
111
+ string[];
92
112
  }
93
113
  interface CreateWatchRequest {
94
114
  /** Required. The watch object. No ID should be set on this object; use `watch_id` instead. */
95
- watch?: Watch;
115
+ watch?:
116
+ Watch;
96
117
  /**
97
118
  * The ID to use for the watch. If specified, the ID must not already be in use. If not specified, an ID is generated. This value should be 4-63 characters, and valid characters are
98
119
  * /a-z-/.
99
120
  */
100
- watchId?: string;
121
+ watchId?:
122
+ string;
101
123
  }
102
124
  interface DateQuestion {
103
125
  /** Whether to include the time as part of the question. */
104
- includeTime?: boolean;
126
+ includeTime?:
127
+ boolean;
105
128
  /** Whether to include the year as part of the question. */
106
- includeYear?: boolean;
129
+ includeYear?:
130
+ boolean;
107
131
  }
108
132
  interface DeleteItemRequest {
109
133
  /** Required. The location of the item to delete. */
110
- location?: Location;
134
+ location?:
135
+ Location;
111
136
  }
112
137
  // tslint:disable-next-line:no-empty-interface
113
138
  interface Empty {
114
139
  }
115
140
  interface ExtraMaterial {
116
141
  /** Text feedback. */
117
- link?: TextLink;
142
+ link?:
143
+ TextLink;
118
144
  /** Video feedback. */
119
- video?: VideoLink;
145
+ video?:
146
+ VideoLink;
120
147
  }
121
148
  interface Feedback {
122
149
  /** Additional information provided as part of the feedback, often used to point the respondent to more reading and resources. */
123
- material?: ExtraMaterial[];
150
+ material?:
151
+ ExtraMaterial[];
124
152
  /** Required. The main text of the feedback. */
125
- text?: string;
153
+ text?:
154
+ string;
126
155
  }
127
156
  interface FileUploadAnswer {
128
157
  /** Output only. The ID of the Google Drive file. */
129
- fileId?: string;
158
+ fileId?:
159
+ string;
130
160
  /** Output only. The file name, as stored in Google Drive on upload. */
131
- fileName?: string;
161
+ fileName?:
162
+ string;
132
163
  /** Output only. The MIME type of the file, as stored in Google Drive on upload. */
133
- mimeType?: string;
164
+ mimeType?:
165
+ string;
134
166
  }
135
167
  interface FileUploadAnswers {
136
168
  /** Output only. All submitted files for a FileUpload question. */
137
- answers?: FileUploadAnswer[];
169
+ answers?:
170
+ FileUploadAnswer[];
138
171
  }
139
172
  interface FileUploadQuestion {
140
173
  /** Required. The ID of the Drive folder where uploaded files are stored. */
141
- folderId?: string;
174
+ folderId?:
175
+ string;
142
176
  /** Maximum number of files that can be uploaded for this question in a single response. */
143
- maxFiles?: number;
177
+ maxFiles?:
178
+ number;
144
179
  /** Maximum number of bytes allowed for any single file uploaded to this question. */
145
- maxFileSize?: string;
180
+ maxFileSize?:
181
+ string;
146
182
  /** File types accepted by this question. */
147
- types?: string[];
183
+ types?:
184
+ string[];
148
185
  }
149
186
  interface Form {
150
187
  /** Output only. The form ID. */
151
- formId?: string;
188
+ formId?:
189
+ string;
152
190
  /** Required. The title and description of the form. */
153
- info?: Info;
191
+ info?:
192
+ Info;
154
193
  /** Required. A list of the form's items, which can include section headers, questions, embedded media, etc. */
155
- items?: Item[];
194
+ items?:
195
+ Item[];
156
196
  /** Output only. The ID of the linked Google Sheet which is accumulating responses from this Form (if such a Sheet exists). */
157
- linkedSheetId?: string;
197
+ linkedSheetId?:
198
+ string;
158
199
  /** Output only. The form URI to share with responders. This opens a page that allows the user to submit responses but not edit the questions. */
159
- responderUri?: string;
200
+ responderUri?:
201
+ string;
160
202
  /**
161
203
  * Output only. The revision ID of the form. Used in the WriteControl in update requests to identify the revision on which the changes are based. The format of the revision ID may
162
204
  * change over time, so it should be treated opaquely. A returned revision ID is only guaranteed to be valid for 24 hours after it has been returned and cannot be shared across users.
163
205
  * If the revision ID is unchanged between calls, then the form has not changed. Conversely, a changed ID (for the same form and user) usually means the form has been updated; however,
164
206
  * a changed ID can also be due to internal factors such as ID format changes.
165
207
  */
166
- revisionId?: string;
208
+ revisionId?:
209
+ string;
167
210
  /** The form's settings. This must be updated with UpdateSettingsRequest; it is ignored during `forms.create` and UpdateFormInfoRequest. */
168
- settings?: FormSettings;
211
+ settings?:
212
+ FormSettings;
169
213
  }
170
214
  interface FormResponse {
171
215
  /** Output only. The actual answers to the questions, keyed by question_id. */
172
- answers?: { [P in string]: Answer };
216
+ answers?:
217
+ { [P in string]: Answer };
173
218
  /** Output only. Timestamp for the first time the response was submitted. */
174
- createTime?: string;
219
+ createTime?:
220
+ string;
175
221
  /** Output only. The form ID. */
176
- formId?: string;
222
+ formId?:
223
+ string;
177
224
  /** Output only. Timestamp for the most recent time the response was submitted. Does not track changes to grades. */
178
- lastSubmittedTime?: string;
225
+ lastSubmittedTime?:
226
+ string;
179
227
  /** Output only. The email address (if collected) for the respondent. */
180
- respondentEmail?: string;
228
+ respondentEmail?:
229
+ string;
181
230
  /** Output only. The response ID. */
182
- responseId?: string;
231
+ responseId?:
232
+ string;
183
233
  /**
184
234
  * Output only. The total number of points the respondent received for their submission Only set if the form was a quiz and the response was graded. This includes points automatically
185
235
  * awarded via autograding adjusted by any manual corrections entered by the form owner.
186
236
  */
187
- totalScore?: number;
237
+ totalScore?:
238
+ number;
188
239
  }
189
240
  interface FormSettings {
190
241
  /** Settings related to quiz forms and grading. */
191
- quizSettings?: QuizSettings;
242
+ quizSettings?:
243
+ QuizSettings;
192
244
  }
193
245
  interface Grade {
194
246
  /**
195
247
  * Output only. Whether the question was answered correctly or not. A zero-point score is not enough to infer incorrectness, since a correctly answered question could be worth zero
196
248
  * points.
197
249
  */
198
- correct?: boolean;
250
+ correct?:
251
+ boolean;
199
252
  /** Output only. Additional feedback given for an answer. */
200
- feedback?: Feedback;
253
+ feedback?:
254
+ Feedback;
201
255
  /** Output only. The numeric score awarded for the answer. */
202
- score?: number;
256
+ score?:
257
+ number;
203
258
  }
204
259
  interface Grading {
205
260
  /** Required. The answer key for the question. Responses are automatically graded based on this field. */
206
- correctAnswers?: CorrectAnswers;
261
+ correctAnswers?:
262
+ CorrectAnswers;
207
263
  /**
208
264
  * The feedback displayed for all answers. This is commonly used for short answer questions when a quiz owner wants to quickly give respondents some sense of whether they answered the
209
265
  * question correctly before they've had a chance to officially grade the response. General feedback cannot be set for automatically graded multiple choice questions.
210
266
  */
211
- generalFeedback?: Feedback;
267
+ generalFeedback?:
268
+ Feedback;
212
269
  /** Required. The maximum number of points a respondent can automatically get for a correct answer. This must not be negative. */
213
- pointValue?: number;
270
+ pointValue?:
271
+ number;
214
272
  /** The feedback displayed for correct responses. This feedback can only be set for multiple choice questions that have correct answers provided. */
215
- whenRight?: Feedback;
273
+ whenRight?:
274
+ Feedback;
216
275
  /** The feedback displayed for incorrect responses. This feedback can only be set for multiple choice questions that have correct answers provided. */
217
- whenWrong?: Feedback;
276
+ whenWrong?:
277
+ Feedback;
218
278
  }
219
279
  interface Grid {
220
280
  /** Required. The choices shared by each question in the grid. In other words, the values of the columns. Only `CHECK_BOX` and `RADIO` choices are allowed. */
221
- columns?: ChoiceQuestion;
281
+ columns?:
282
+ ChoiceQuestion;
222
283
  /** If `true`, the questions are randomly ordered. In other words, the rows appear in a different order for every respondent. */
223
- shuffleQuestions?: boolean;
284
+ shuffleQuestions?:
285
+ boolean;
224
286
  }
225
287
  interface Image {
226
288
  /** A description of the image that is shown on hover and read by screenreaders. */
227
- altText?: string;
289
+ altText?:
290
+ string;
228
291
  /** Output only. A URI from which you can download the image; this is valid only for a limited time. */
229
- contentUri?: string;
292
+ contentUri?:
293
+ string;
230
294
  /** Properties of an image. */
231
- properties?: MediaProperties;
295
+ properties?:
296
+ MediaProperties;
232
297
  /** Input only. The source URI is the URI used to insert the image. The source URI can be empty when fetched. */
233
- sourceUri?: string;
298
+ sourceUri?:
299
+ string;
234
300
  }
235
301
  interface ImageItem {
236
302
  /** Required. The image displayed in the item. */
237
- image?: Image;
303
+ image?:
304
+ Image;
238
305
  }
239
306
  interface Info {
240
307
  /** The description of the form. */
241
- description?: string;
308
+ description?:
309
+ string;
242
310
  /**
243
311
  * Output only. The title of the document which is visible in Drive. If `Info.title` is empty, `document_title` may appear in its place in the Google Forms UI and be visible to
244
312
  * responders. `document_title` can be set on create, but cannot be modified by a batchUpdate request. Please use the [Google Drive
245
313
  * API](https://developers.google.com/drive/api/v3/reference/files/update) if you need to programmatically update `document_title`.
246
314
  */
247
- documentTitle?: string;
315
+ documentTitle?:
316
+ string;
248
317
  /** Required. The title of the form which is visible to responders. */
249
- title?: string;
318
+ title?:
319
+ string;
250
320
  }
251
321
  interface Item {
252
322
  /** The description of the item. */
253
- description?: string;
323
+ description?:
324
+ string;
254
325
  /** Displays an image on the page. */
255
- imageItem?: ImageItem;
326
+ imageItem?:
327
+ ImageItem;
256
328
  /** The item 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. */
257
- itemId?: string;
329
+ itemId?:
330
+ string;
258
331
  /** Starts a new page with a title. */
259
- pageBreakItem?: any;
332
+ pageBreakItem?:
333
+ any;
260
334
  /** Poses one or more questions to the user with a single major prompt. */
261
- questionGroupItem?: QuestionGroupItem;
335
+ questionGroupItem?:
336
+ QuestionGroupItem;
262
337
  /** Poses a question to the user. */
263
- questionItem?: QuestionItem;
338
+ questionItem?:
339
+ QuestionItem;
264
340
  /** Displays a title and description on the page. */
265
- textItem?: any;
341
+ textItem?:
342
+ any;
266
343
  /** The title of the item. */
267
- title?: string;
344
+ title?:
345
+ string;
268
346
  /** Displays a video on the page. */
269
- videoItem?: VideoItem;
347
+ videoItem?:
348
+ VideoItem;
270
349
  }
271
350
  interface ListFormResponsesResponse {
272
351
  /** If set, there are more responses. To get the next page of responses, provide this as `page_token` in a future request. */
273
- nextPageToken?: string;
352
+ nextPageToken?:
353
+ string;
274
354
  /** The returned form responses. Note: The `formId` field is not returned in the `FormResponse` object for list requests. */
275
- responses?: FormResponse[];
355
+ responses?:
356
+ FormResponse[];
276
357
  }
277
358
  interface ListWatchesResponse {
278
359
  /** The returned watches. */
279
- watches?: Watch[];
360
+ watches?:
361
+ Watch[];
280
362
  }
281
363
  interface Location {
282
364
  /** The index of an item in the form. This must be in the range [0..*N*), where *N* is the number of items in the form. */
283
- index?: number;
365
+ index?:
366
+ number;
284
367
  }
285
368
  interface MediaProperties {
286
369
  /** Position of the media. */
287
- alignment?: string;
370
+ alignment?:
371
+ string;
288
372
  /**
289
373
  * The width of the media in pixels. When the media is displayed, it is scaled to the smaller of this value or the width of the displayed form. The original aspect ratio of the media
290
374
  * is preserved. If a width is not specified when the media is added to the form, it is set to the width of the media source. Width must be between 0 and 740, inclusive. Setting width
291
375
  * to 0 or unspecified is only permitted when updating the media source.
292
376
  */
293
- width?: number;
377
+ width?:
378
+ number;
294
379
  }
295
380
  interface MoveItemRequest {
296
381
  /** Required. The new location for the item. */
297
- newLocation?: Location;
382
+ newLocation?:
383
+ Location;
298
384
  /** Required. The location of the item to move. */
299
- originalLocation?: Location;
385
+ originalLocation?:
386
+ Location;
300
387
  }
301
388
  interface Option {
302
389
  /** Section navigation type. */
303
- goToAction?: string;
390
+ goToAction?:
391
+ string;
304
392
  /** Item ID of section header to go to. */
305
- goToSectionId?: string;
393
+ goToSectionId?:
394
+ string;
306
395
  /** Display image as an option. */
307
- image?: Image;
396
+ image?:
397
+ Image;
308
398
  /** Whether the option is "other". Currently only applies to `RADIO` and `CHECKBOX` choice types, but is not allowed in a QuestionGroupItem. */
309
- isOther?: boolean;
399
+ isOther?:
400
+ boolean;
310
401
  /** Required. The choice as presented to the user. */
311
- value?: string;
402
+ value?:
403
+ string;
312
404
  }
313
405
  // tslint:disable-next-line:no-empty-interface
314
406
  interface PageBreakItem {
315
407
  }
316
408
  interface Question {
317
409
  /** A respondent can choose from a pre-defined set of options. */
318
- choiceQuestion?: ChoiceQuestion;
410
+ choiceQuestion?:
411
+ ChoiceQuestion;
319
412
  /** A respondent can enter a date. */
320
- dateQuestion?: DateQuestion;
413
+ dateQuestion?:
414
+ DateQuestion;
321
415
  /** A respondent can upload one or more files. */
322
- fileUploadQuestion?: FileUploadQuestion;
416
+ fileUploadQuestion?:
417
+ FileUploadQuestion;
323
418
  /** Grading setup for the question. */
324
- grading?: Grading;
419
+ grading?:
420
+ Grading;
325
421
  /** 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. */
326
- questionId?: string;
422
+ questionId?:
423
+ string;
327
424
  /** Whether the question must be answered in order for a respondent to submit their response. */
328
- required?: boolean;
425
+ required?:
426
+ boolean;
329
427
  /** A row of a QuestionGroupItem. */
330
- rowQuestion?: RowQuestion;
428
+ rowQuestion?:
429
+ RowQuestion;
331
430
  /** A respondent can choose a number from a range. */
332
- scaleQuestion?: ScaleQuestion;
431
+ scaleQuestion?:
432
+ ScaleQuestion;
333
433
  /** A respondent can enter a free text response. */
334
- textQuestion?: TextQuestion;
434
+ textQuestion?:
435
+ TextQuestion;
335
436
  /** A respondent can enter a time. */
336
- timeQuestion?: TimeQuestion;
437
+ timeQuestion?:
438
+ TimeQuestion;
337
439
  }
338
440
  interface QuestionGroupItem {
339
441
  /** The question group is a grid with rows of multiple choice questions that share the same options. When `grid` is set, all questions in the group must be of kind `row`. */
340
- grid?: Grid;
442
+ grid?:
443
+ Grid;
341
444
  /** The image displayed within the question group above the specific questions. */
342
- image?: Image;
445
+ image?:
446
+ Image;
343
447
  /** Required. A list of questions that belong in this question group. A question must only belong to one group. The `kind` of the group may affect what types of questions are allowed. */
344
- questions?: Question[];
448
+ questions?:
449
+ Question[];
345
450
  }
346
451
  interface QuestionItem {
347
452
  /** The image displayed within the question. */
348
- image?: Image;
453
+ image?:
454
+ Image;
349
455
  /** Required. The displayed question. */
350
- question?: Question;
456
+ question?:
457
+ Question;
351
458
  }
352
459
  interface QuizSettings {
353
460
  /** Whether this form is a quiz or not. When true, responses are graded based on question Grading. Upon setting to false, all question Grading is deleted. */
354
- isQuiz?: boolean;
461
+ isQuiz?:
462
+ boolean;
355
463
  }
356
464
  // tslint:disable-next-line:no-empty-interface
357
465
  interface RenewWatchRequest {
358
466
  }
359
467
  interface Request {
360
468
  /** Create a new item. */
361
- createItem?: CreateItemRequest;
469
+ createItem?:
470
+ CreateItemRequest;
362
471
  /** Delete an item. */
363
- deleteItem?: DeleteItemRequest;
472
+ deleteItem?:
473
+ DeleteItemRequest;
364
474
  /** Move an item to a specified location. */
365
- moveItem?: MoveItemRequest;
475
+ moveItem?:
476
+ MoveItemRequest;
366
477
  /** Update Form's Info. */
367
- updateFormInfo?: UpdateFormInfoRequest;
478
+ updateFormInfo?:
479
+ UpdateFormInfoRequest;
368
480
  /** Update an item. */
369
- updateItem?: UpdateItemRequest;
481
+ updateItem?:
482
+ UpdateItemRequest;
370
483
  /** Updates the Form's settings. */
371
- updateSettings?: UpdateSettingsRequest;
484
+ updateSettings?:
485
+ UpdateSettingsRequest;
372
486
  }
373
487
  interface Response {
374
488
  /** The result of creating an item. */
375
- createItem?: CreateItemResponse;
489
+ createItem?:
490
+ CreateItemResponse;
376
491
  }
377
492
  interface RowQuestion {
378
493
  /** Required. The title for the single row in the QuestionGroupItem. */
379
- title?: string;
494
+ title?:
495
+ string;
380
496
  }
381
497
  interface ScaleQuestion {
382
498
  /** Required. The highest possible value for the scale. */
383
- high?: number;
499
+ high?:
500
+ number;
384
501
  /** The label to display describing the highest point on the scale. */
385
- highLabel?: string;
502
+ highLabel?:
503
+ string;
386
504
  /** Required. The lowest possible value for the scale. */
387
- low?: number;
505
+ low?:
506
+ number;
388
507
  /** The label to display describing the lowest point on the scale. */
389
- lowLabel?: string;
508
+ lowLabel?:
509
+ string;
390
510
  }
391
511
  interface TextAnswer {
392
512
  /**
@@ -396,37 +516,45 @@ declare namespace gapi.client {
396
516
  * and time: YYYY-MM-DD HH:MM e.g. "1986-05-19 14:51" * TimeQuestion: String with time or duration in HH:MM format e.g. "14:51" * RowQuestion within QuestionGroupItem: The answer for
397
517
  * each row of a QuestionGroupItem is represented as a separate Answer. Each will contain one string for `RADIO`-type choices or multiple strings for `CHECKBOX` choices.
398
518
  */
399
- value?: string;
519
+ value?:
520
+ string;
400
521
  }
401
522
  interface TextAnswers {
402
523
  /** Output only. Answers to a question. For multiple-value ChoiceQuestions, each answer is a separate value. */
403
- answers?: TextAnswer[];
524
+ answers?:
525
+ TextAnswer[];
404
526
  }
405
527
  // tslint:disable-next-line:no-empty-interface
406
528
  interface TextItem {
407
529
  }
408
530
  interface TextLink {
409
531
  /** Required. Display text for the URI. */
410
- displayText?: string;
532
+ displayText?:
533
+ string;
411
534
  /** Required. The URI. */
412
- uri?: string;
535
+ uri?:
536
+ string;
413
537
  }
414
538
  interface TextQuestion {
415
539
  /** Whether the question is a paragraph question or not. If not, the question is a short text question. */
416
- paragraph?: boolean;
540
+ paragraph?:
541
+ boolean;
417
542
  }
418
543
  interface TimeQuestion {
419
544
  /** `true` if the question is about an elapsed time. Otherwise it is about a time of day. */
420
- duration?: boolean;
545
+ duration?:
546
+ boolean;
421
547
  }
422
548
  interface UpdateFormInfoRequest {
423
549
  /** The info to update. */
424
- info?: Info;
550
+ info?:
551
+ Info;
425
552
  /**
426
553
  * Required. Only values named in this mask are changed. At least one field must be specified. The root `info` is implied and should not be specified. A single `"*"` can be used as
427
554
  * short-hand for updating every field.
428
555
  */
429
- updateMask?: string;
556
+ updateMask?:
557
+ string;
430
558
  }
431
559
  interface UpdateItemRequest {
432
560
  /**
@@ -434,65 +562,85 @@ declare namespace gapi.client {
434
562
  * generated. This means you can modify an item by getting the form via forms.get, modifying your local copy of that item to be how you want it, and using UpdateItemRequest to write it
435
563
  * back, with the IDs being the same (or not in the field mask).
436
564
  */
437
- item?: Item;
565
+ item?:
566
+ Item;
438
567
  /** Required. The location identifying the item to update. */
439
- location?: Location;
568
+ location?:
569
+ Location;
440
570
  /** Required. Only values named in this mask are changed. */
441
- updateMask?: string;
571
+ updateMask?:
572
+ string;
442
573
  }
443
574
  interface UpdateSettingsRequest {
444
575
  /** Required. The settings to update with. */
445
- settings?: FormSettings;
576
+ settings?:
577
+ FormSettings;
446
578
  /**
447
579
  * Required. Only values named in this mask are changed. At least one field must be specified. The root `settings` is implied and should not be specified. A single `"*"` can be used as
448
580
  * short-hand for updating every field.
449
581
  */
450
- updateMask?: string;
582
+ updateMask?:
583
+ string;
451
584
  }
452
585
  interface Video {
453
586
  /** Properties of a video. */
454
- properties?: MediaProperties;
587
+ properties?:
588
+ MediaProperties;
455
589
  /** Required. A YouTube URI. */
456
- youtubeUri?: string;
590
+ youtubeUri?:
591
+ string;
457
592
  }
458
593
  interface VideoItem {
459
594
  /** The text displayed below the video. */
460
- caption?: string;
595
+ caption?:
596
+ string;
461
597
  /** Required. The video displayed in the item. */
462
- video?: Video;
598
+ video?:
599
+ Video;
463
600
  }
464
601
  interface VideoLink {
465
602
  /** Required. The display text for the link. */
466
- displayText?: string;
603
+ displayText?:
604
+ string;
467
605
  /** The URI of a YouTube video. */
468
- youtubeUri?: string;
606
+ youtubeUri?:
607
+ string;
469
608
  }
470
609
  interface Watch {
471
610
  /** Output only. Timestamp of when this was created. */
472
- createTime?: string;
611
+ createTime?:
612
+ string;
473
613
  /** Output only. The most recent error type for an attempted delivery. To begin watching the form again a call can be made to watches.renew which also clears this error information. */
474
- errorType?: string;
614
+ errorType?:
615
+ string;
475
616
  /** Required. Which event type to watch for. */
476
- eventType?: string;
617
+ eventType?:
618
+ string;
477
619
  /** Output only. Timestamp for when this will expire. Each watches.renew call resets this to seven days in the future. */
478
- expireTime?: string;
620
+ expireTime?:
621
+ string;
479
622
  /** Output only. The ID of this watch. See notes on CreateWatchRequest.watch_id. */
480
- id?: string;
623
+ id?:
624
+ string;
481
625
  /** Output only. The current state of the watch. Additional details about suspended watches can be found by checking the `error_type`. */
482
- state?: string;
626
+ state?:
627
+ string;
483
628
  /** Required. Where to send the notification. */
484
- target?: WatchTarget;
629
+ target?:
630
+ WatchTarget;
485
631
  }
486
632
  interface WatchTarget {
487
633
  /**
488
634
  * A Pub/Sub topic. To receive notifications, the topic must grant publish privileges to the Forms service account `serviceAccount:forms-notifications@system.gserviceaccount.com`. Only
489
635
  * the project that owns a topic may create a watch with it. Pub/Sub delivery guarantees should be considered.
490
636
  */
491
- topic?: CloudPubsubTopic;
637
+ topic?:
638
+ CloudPubsubTopic;
492
639
  }
493
640
  interface WriteControl {
494
641
  /** The revision ID of the form that the write request is applied to. If this is not the latest revision of the form, the request is not processed and returns a 400 bad request error. */
495
- requiredRevisionId?: string;
642
+ requiredRevisionId?:
643
+ string;
496
644
  /**
497
645
  * The target revision ID of the form that the write request is applied to. If changes have occurred after this revision, the changes in this update request are transformed against
498
646
  * those changes. This results in a new revision of the form that incorporates both the changes in the request and the intervening changes, with the server resolving conflicting
@@ -500,74 +648,103 @@ declare namespace gapi.client {
500
648
  * and returns a 400 (Bad Request Error). The request may be retried after reading the latest version of the form. In most cases a target revision ID remains valid for several minutes
501
649
  * after it is read, but for frequently-edited forms this window may be shorter.
502
650
  */
503
- targetRevisionId?: string;
651
+ targetRevisionId?:
652
+ string;
504
653
  }
505
654
  interface ResponsesResource {
506
655
  /** Get one response from the form. */
507
656
  get(request?: {
508
657
  /** V1 error format. */
509
- "$.xgafv"?: string;
658
+ "$.xgafv"?:
659
+ string;
510
660
  /** OAuth access token. */
511
- access_token?: string;
661
+ access_token?:
662
+ string;
512
663
  /** Data format for response. */
513
- alt?: string;
664
+ alt?:
665
+ string;
514
666
  /** JSONP */
515
- callback?: string;
667
+ callback?:
668
+ string;
516
669
  /** Selector specifying which fields to include in a partial response. */
517
- fields?: string;
670
+ fields?:
671
+ string;
518
672
  /** Required. The form ID. */
519
- formId: string;
673
+ formId:
674
+ string;
520
675
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
521
- key?: string;
676
+ key?:
677
+ string;
522
678
  /** OAuth 2.0 token for the current user. */
523
- oauth_token?: string;
679
+ oauth_token?:
680
+ string;
524
681
  /** Returns response with indentations and line breaks. */
525
- prettyPrint?: boolean;
682
+ prettyPrint?:
683
+ boolean;
526
684
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
527
- quotaUser?: string;
685
+ quotaUser?:
686
+ string;
528
687
  /** Required. The response ID within the form. */
529
- responseId: string;
688
+ responseId:
689
+ string;
530
690
  /** Upload protocol for media (e.g. "raw", "multipart"). */
531
- upload_protocol?: string;
691
+ upload_protocol?:
692
+ string;
532
693
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
533
- uploadType?: string;
694
+ uploadType?:
695
+ string;
534
696
  }): client.Request<FormResponse>;
535
697
  /** List a form's responses. */
536
698
  list(request?: {
537
699
  /** V1 error format. */
538
- "$.xgafv"?: string;
700
+ "$.xgafv"?:
701
+ string;
539
702
  /** OAuth access token. */
540
- access_token?: string;
703
+ access_token?:
704
+ string;
541
705
  /** Data format for response. */
542
- alt?: string;
706
+ alt?:
707
+ string;
543
708
  /** JSONP */
544
- callback?: string;
709
+ callback?:
710
+ string;
545
711
  /** Selector specifying which fields to include in a partial response. */
546
- fields?: string;
712
+ fields?:
713
+ string;
547
714
  /**
548
715
  * Which form responses to return. Currently, the only supported filters are: * timestamp > *N* which means to get all form responses submitted after (but not at) timestamp *N*. *
549
716
  * timestamp >= *N* which means to get all form responses submitted at and after timestamp *N*. For both supported filters, timestamp must be formatted in RFC3339 UTC "Zulu"
550
717
  * format. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
551
718
  */
552
- filter?: string;
719
+ filter?:
720
+ string;
553
721
  /** Required. ID of the Form whose responses to list. */
554
- formId: string;
722
+ formId:
723
+ string;
555
724
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
556
- key?: string;
725
+ key?:
726
+ string;
557
727
  /** OAuth 2.0 token for the current user. */
558
- oauth_token?: string;
728
+ oauth_token?:
729
+ string;
559
730
  /** The maximum number of responses to return. The service may return fewer than this value. If unspecified or zero, at most 5000 responses are returned. */
560
- pageSize?: number;
731
+ pageSize?:
732
+ number;
561
733
  /** A page token returned by a previous list response. If this field is set, the form and the values of the filter must be the same as for the original request. */
562
- pageToken?: string;
734
+ pageToken?:
735
+ string;
563
736
  /** Returns response with indentations and line breaks. */
564
- prettyPrint?: boolean;
737
+ prettyPrint?:
738
+ boolean;
565
739
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
566
- quotaUser?: string;
740
+ quotaUser?:
741
+ string;
567
742
  /** Upload protocol for media (e.g. "raw", "multipart"). */
568
- upload_protocol?: string;
743
+ upload_protocol?:
744
+ string;
569
745
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
570
- uploadType?: string;
746
+ uploadType?:
747
+ string;
571
748
  }): client.Request<ListFormResponsesResponse>;
572
749
  }
573
750
  interface WatchesResource {
@@ -577,114 +754,164 @@ declare namespace gapi.client {
577
754
  */
578
755
  create(request: {
579
756
  /** V1 error format. */
580
- "$.xgafv"?: string;
757
+ "$.xgafv"?:
758
+ string;
581
759
  /** OAuth access token. */
582
- access_token?: string;
760
+ access_token?:
761
+ string;
583
762
  /** Data format for response. */
584
- alt?: string;
763
+ alt?:
764
+ string;
585
765
  /** JSONP */
586
- callback?: string;
766
+ callback?:
767
+ string;
587
768
  /** Selector specifying which fields to include in a partial response. */
588
- fields?: string;
769
+ fields?:
770
+ string;
589
771
  /** Required. ID of the Form to watch. */
590
- formId: string;
772
+ formId:
773
+ string;
591
774
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
592
- key?: string;
775
+ key?:
776
+ string;
593
777
  /** OAuth 2.0 token for the current user. */
594
- oauth_token?: string;
778
+ oauth_token?:
779
+ string;
595
780
  /** Returns response with indentations and line breaks. */
596
- prettyPrint?: boolean;
781
+ prettyPrint?:
782
+ boolean;
597
783
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
598
- quotaUser?: string;
784
+ quotaUser?:
785
+ string;
599
786
  /** Upload protocol for media (e.g. "raw", "multipart"). */
600
- upload_protocol?: string;
787
+ upload_protocol?:
788
+ string;
601
789
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
602
- uploadType?: string;
790
+ uploadType?:
791
+ string;
603
792
  /** Request body */
604
- resource: CreateWatchRequest;
793
+ resource:
794
+ CreateWatchRequest;
605
795
  }): client.Request<Watch>;
606
796
  create(request: {
607
797
  /** V1 error format. */
608
- "$.xgafv"?: string;
798
+ "$.xgafv"?:
799
+ string;
609
800
  /** OAuth access token. */
610
- access_token?: string;
801
+ access_token?:
802
+ string;
611
803
  /** Data format for response. */
612
- alt?: string;
804
+ alt?:
805
+ string;
613
806
  /** JSONP */
614
- callback?: string;
807
+ callback?:
808
+ string;
615
809
  /** Selector specifying which fields to include in a partial response. */
616
- fields?: string;
810
+ fields?:
811
+ string;
617
812
  /** Required. ID of the Form to watch. */
618
- formId: string;
813
+ formId:
814
+ string;
619
815
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
620
- key?: string;
816
+ key?:
817
+ string;
621
818
  /** OAuth 2.0 token for the current user. */
622
- oauth_token?: string;
819
+ oauth_token?:
820
+ string;
623
821
  /** Returns response with indentations and line breaks. */
624
- prettyPrint?: boolean;
822
+ prettyPrint?:
823
+ boolean;
625
824
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
626
- quotaUser?: string;
825
+ quotaUser?:
826
+ string;
627
827
  /** Upload protocol for media (e.g. "raw", "multipart"). */
628
- upload_protocol?: string;
828
+ upload_protocol?:
829
+ string;
629
830
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
630
- uploadType?: string;
831
+ uploadType?:
832
+ string;
631
833
  },
632
834
  body: CreateWatchRequest): client.Request<Watch>;
633
835
  /** Delete a watch. */
634
836
  delete(request?: {
635
837
  /** V1 error format. */
636
- "$.xgafv"?: string;
838
+ "$.xgafv"?:
839
+ string;
637
840
  /** OAuth access token. */
638
- access_token?: string;
841
+ access_token?:
842
+ string;
639
843
  /** Data format for response. */
640
- alt?: string;
844
+ alt?:
845
+ string;
641
846
  /** JSONP */
642
- callback?: string;
847
+ callback?:
848
+ string;
643
849
  /** Selector specifying which fields to include in a partial response. */
644
- fields?: string;
850
+ fields?:
851
+ string;
645
852
  /** Required. The ID of the Form. */
646
- formId: string;
853
+ formId:
854
+ string;
647
855
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
648
- key?: string;
856
+ key?:
857
+ string;
649
858
  /** OAuth 2.0 token for the current user. */
650
- oauth_token?: string;
859
+ oauth_token?:
860
+ string;
651
861
  /** Returns response with indentations and line breaks. */
652
- prettyPrint?: boolean;
862
+ prettyPrint?:
863
+ boolean;
653
864
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
654
- quotaUser?: string;
865
+ quotaUser?:
866
+ string;
655
867
  /** Upload protocol for media (e.g. "raw", "multipart"). */
656
- upload_protocol?: string;
868
+ upload_protocol?:
869
+ string;
657
870
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
658
- uploadType?: string;
871
+ uploadType?:
872
+ string;
659
873
  /** Required. The ID of the Watch to delete. */
660
- watchId: string;
874
+ watchId:
875
+ string;
661
876
  }): client.Request<{}>;
662
877
  /** Return a list of the watches owned by the invoking project. The maximum number of watches is two: For each invoker, the limit is one for each event type per form. */
663
878
  list(request?: {
664
879
  /** V1 error format. */
665
- "$.xgafv"?: string;
880
+ "$.xgafv"?:
881
+ string;
666
882
  /** OAuth access token. */
667
- access_token?: string;
883
+ access_token?:
884
+ string;
668
885
  /** Data format for response. */
669
- alt?: string;
886
+ alt?:
887
+ string;
670
888
  /** JSONP */
671
- callback?: string;
889
+ callback?:
890
+ string;
672
891
  /** Selector specifying which fields to include in a partial response. */
673
- fields?: string;
892
+ fields?:
893
+ string;
674
894
  /** Required. ID of the Form whose watches to list. */
675
- formId: string;
895
+ formId:
896
+ string;
676
897
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
677
- key?: string;
898
+ key?:
899
+ string;
678
900
  /** OAuth 2.0 token for the current user. */
679
- oauth_token?: string;
901
+ oauth_token?:
902
+ string;
680
903
  /** Returns response with indentations and line breaks. */
681
- prettyPrint?: boolean;
904
+ prettyPrint?:
905
+ boolean;
682
906
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
683
- quotaUser?: string;
907
+ quotaUser?:
908
+ string;
684
909
  /** Upload protocol for media (e.g. "raw", "multipart"). */
685
- upload_protocol?: string;
910
+ upload_protocol?:
911
+ string;
686
912
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
687
- uploadType?: string;
913
+ uploadType?:
914
+ string;
688
915
  }): client.Request<ListWatchesResponse>;
689
916
  /**
690
917
  * Renew an existing watch for seven days. The state of the watch after renewal is `ACTIVE`, and the `expire_time` is seven days from the renewal. Renewing a watch in an error state
@@ -692,61 +919,88 @@ declare namespace gapi.client {
692
919
  */
693
920
  renew(request: {
694
921
  /** V1 error format. */
695
- "$.xgafv"?: string;
922
+ "$.xgafv"?:
923
+ string;
696
924
  /** OAuth access token. */
697
- access_token?: string;
925
+ access_token?:
926
+ string;
698
927
  /** Data format for response. */
699
- alt?: string;
928
+ alt?:
929
+ string;
700
930
  /** JSONP */
701
- callback?: string;
931
+ callback?:
932
+ string;
702
933
  /** Selector specifying which fields to include in a partial response. */
703
- fields?: string;
934
+ fields?:
935
+ string;
704
936
  /** Required. The ID of the Form. */
705
- formId: string;
937
+ formId:
938
+ string;
706
939
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
707
- key?: string;
940
+ key?:
941
+ string;
708
942
  /** OAuth 2.0 token for the current user. */
709
- oauth_token?: string;
943
+ oauth_token?:
944
+ string;
710
945
  /** Returns response with indentations and line breaks. */
711
- prettyPrint?: boolean;
946
+ prettyPrint?:
947
+ boolean;
712
948
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
713
- quotaUser?: string;
949
+ quotaUser?:
950
+ string;
714
951
  /** Upload protocol for media (e.g. "raw", "multipart"). */
715
- upload_protocol?: string;
952
+ upload_protocol?:
953
+ string;
716
954
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
717
- uploadType?: string;
955
+ uploadType?:
956
+ string;
718
957
  /** Required. The ID of the Watch to renew. */
719
- watchId: string;
958
+ watchId:
959
+ string;
720
960
  /** Request body */
721
- resource: RenewWatchRequest;
961
+ resource:
962
+ RenewWatchRequest;
722
963
  }): client.Request<Watch>;
723
964
  renew(request: {
724
965
  /** V1 error format. */
725
- "$.xgafv"?: string;
966
+ "$.xgafv"?:
967
+ string;
726
968
  /** OAuth access token. */
727
- access_token?: string;
969
+ access_token?:
970
+ string;
728
971
  /** Data format for response. */
729
- alt?: string;
972
+ alt?:
973
+ string;
730
974
  /** JSONP */
731
- callback?: string;
975
+ callback?:
976
+ string;
732
977
  /** Selector specifying which fields to include in a partial response. */
733
- fields?: string;
978
+ fields?:
979
+ string;
734
980
  /** Required. The ID of the Form. */
735
- formId: string;
981
+ formId:
982
+ string;
736
983
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
737
- key?: string;
984
+ key?:
985
+ string;
738
986
  /** OAuth 2.0 token for the current user. */
739
- oauth_token?: string;
987
+ oauth_token?:
988
+ string;
740
989
  /** Returns response with indentations and line breaks. */
741
- prettyPrint?: boolean;
990
+ prettyPrint?:
991
+ boolean;
742
992
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
743
- quotaUser?: string;
993
+ quotaUser?:
994
+ string;
744
995
  /** Upload protocol for media (e.g. "raw", "multipart"). */
745
- upload_protocol?: string;
996
+ upload_protocol?:
997
+ string;
746
998
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
747
- uploadType?: string;
999
+ uploadType?:
1000
+ string;
748
1001
  /** Required. The ID of the Watch to renew. */
749
- watchId: string;
1002
+ watchId:
1003
+ string;
750
1004
  },
751
1005
  body: RenewWatchRequest): client.Request<Watch>;
752
1006
  }
@@ -754,57 +1008,82 @@ declare namespace gapi.client {
754
1008
  /** Change the form with a batch of updates. */
755
1009
  batchUpdate(request: {
756
1010
  /** V1 error format. */
757
- "$.xgafv"?: string;
1011
+ "$.xgafv"?:
1012
+ string;
758
1013
  /** OAuth access token. */
759
- access_token?: string;
1014
+ access_token?:
1015
+ string;
760
1016
  /** Data format for response. */
761
- alt?: string;
1017
+ alt?:
1018
+ string;
762
1019
  /** JSONP */
763
- callback?: string;
1020
+ callback?:
1021
+ string;
764
1022
  /** Selector specifying which fields to include in a partial response. */
765
- fields?: string;
1023
+ fields?:
1024
+ string;
766
1025
  /** Required. The form ID. */
767
- formId: string;
1026
+ formId:
1027
+ string;
768
1028
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
769
- key?: string;
1029
+ key?:
1030
+ string;
770
1031
  /** OAuth 2.0 token for the current user. */
771
- oauth_token?: string;
1032
+ oauth_token?:
1033
+ string;
772
1034
  /** Returns response with indentations and line breaks. */
773
- prettyPrint?: boolean;
1035
+ prettyPrint?:
1036
+ boolean;
774
1037
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
775
- quotaUser?: string;
1038
+ quotaUser?:
1039
+ string;
776
1040
  /** Upload protocol for media (e.g. "raw", "multipart"). */
777
- upload_protocol?: string;
1041
+ upload_protocol?:
1042
+ string;
778
1043
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
779
- uploadType?: string;
1044
+ uploadType?:
1045
+ string;
780
1046
  /** Request body */
781
- resource: BatchUpdateFormRequest;
1047
+ resource:
1048
+ BatchUpdateFormRequest;
782
1049
  }): client.Request<BatchUpdateFormResponse>;
783
1050
  batchUpdate(request: {
784
1051
  /** V1 error format. */
785
- "$.xgafv"?: string;
1052
+ "$.xgafv"?:
1053
+ string;
786
1054
  /** OAuth access token. */
787
- access_token?: string;
1055
+ access_token?:
1056
+ string;
788
1057
  /** Data format for response. */
789
- alt?: string;
1058
+ alt?:
1059
+ string;
790
1060
  /** JSONP */
791
- callback?: string;
1061
+ callback?:
1062
+ string;
792
1063
  /** Selector specifying which fields to include in a partial response. */
793
- fields?: string;
1064
+ fields?:
1065
+ string;
794
1066
  /** Required. The form ID. */
795
- formId: string;
1067
+ formId:
1068
+ string;
796
1069
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
797
- key?: string;
1070
+ key?:
1071
+ string;
798
1072
  /** OAuth 2.0 token for the current user. */
799
- oauth_token?: string;
1073
+ oauth_token?:
1074
+ string;
800
1075
  /** Returns response with indentations and line breaks. */
801
- prettyPrint?: boolean;
1076
+ prettyPrint?:
1077
+ boolean;
802
1078
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
803
- quotaUser?: string;
1079
+ quotaUser?:
1080
+ string;
804
1081
  /** Upload protocol for media (e.g. "raw", "multipart"). */
805
- upload_protocol?: string;
1082
+ upload_protocol?:
1083
+ string;
806
1084
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
807
- uploadType?: string;
1085
+ uploadType?:
1086
+ string;
808
1087
  },
809
1088
  body: BatchUpdateFormRequest): client.Request<BatchUpdateFormResponse>;
810
1089
  /**
@@ -814,84 +1093,121 @@ declare namespace gapi.client {
814
1093
  */
815
1094
  create(request: {
816
1095
  /** V1 error format. */
817
- "$.xgafv"?: string;
1096
+ "$.xgafv"?:
1097
+ string;
818
1098
  /** OAuth access token. */
819
- access_token?: string;
1099
+ access_token?:
1100
+ string;
820
1101
  /** Data format for response. */
821
- alt?: string;
1102
+ alt?:
1103
+ string;
822
1104
  /** JSONP */
823
- callback?: string;
1105
+ callback?:
1106
+ string;
824
1107
  /** Selector specifying which fields to include in a partial response. */
825
- fields?: string;
1108
+ fields?:
1109
+ string;
826
1110
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
827
- key?: string;
1111
+ key?:
1112
+ string;
828
1113
  /** OAuth 2.0 token for the current user. */
829
- oauth_token?: string;
1114
+ oauth_token?:
1115
+ string;
830
1116
  /** Returns response with indentations and line breaks. */
831
- prettyPrint?: boolean;
1117
+ prettyPrint?:
1118
+ boolean;
832
1119
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
833
- quotaUser?: string;
1120
+ quotaUser?:
1121
+ string;
834
1122
  /** Upload protocol for media (e.g. "raw", "multipart"). */
835
- upload_protocol?: string;
1123
+ upload_protocol?:
1124
+ string;
836
1125
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
837
- uploadType?: string;
1126
+ uploadType?:
1127
+ string;
838
1128
  /** Request body */
839
- resource: Form;
1129
+ resource:
1130
+ Form;
840
1131
  }): client.Request<Form>;
841
1132
  create(request: {
842
1133
  /** V1 error format. */
843
- "$.xgafv"?: string;
1134
+ "$.xgafv"?:
1135
+ string;
844
1136
  /** OAuth access token. */
845
- access_token?: string;
1137
+ access_token?:
1138
+ string;
846
1139
  /** Data format for response. */
847
- alt?: string;
1140
+ alt?:
1141
+ string;
848
1142
  /** JSONP */
849
- callback?: string;
1143
+ callback?:
1144
+ string;
850
1145
  /** Selector specifying which fields to include in a partial response. */
851
- fields?: string;
1146
+ fields?:
1147
+ string;
852
1148
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
853
- key?: string;
1149
+ key?:
1150
+ string;
854
1151
  /** OAuth 2.0 token for the current user. */
855
- oauth_token?: string;
1152
+ oauth_token?:
1153
+ string;
856
1154
  /** Returns response with indentations and line breaks. */
857
- prettyPrint?: boolean;
1155
+ prettyPrint?:
1156
+ boolean;
858
1157
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
859
- quotaUser?: string;
1158
+ quotaUser?:
1159
+ string;
860
1160
  /** Upload protocol for media (e.g. "raw", "multipart"). */
861
- upload_protocol?: string;
1161
+ upload_protocol?:
1162
+ string;
862
1163
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
863
- uploadType?: string;
1164
+ uploadType?:
1165
+ string;
864
1166
  },
865
1167
  body: Form): client.Request<Form>;
866
1168
  /** Get a form. */
867
1169
  get(request?: {
868
1170
  /** V1 error format. */
869
- "$.xgafv"?: string;
1171
+ "$.xgafv"?:
1172
+ string;
870
1173
  /** OAuth access token. */
871
- access_token?: string;
1174
+ access_token?:
1175
+ string;
872
1176
  /** Data format for response. */
873
- alt?: string;
1177
+ alt?:
1178
+ string;
874
1179
  /** JSONP */
875
- callback?: string;
1180
+ callback?:
1181
+ string;
876
1182
  /** Selector specifying which fields to include in a partial response. */
877
- fields?: string;
1183
+ fields?:
1184
+ string;
878
1185
  /** Required. The form ID. */
879
- formId: string;
1186
+ formId:
1187
+ string;
880
1188
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
881
- key?: string;
1189
+ key?:
1190
+ string;
882
1191
  /** OAuth 2.0 token for the current user. */
883
- oauth_token?: string;
1192
+ oauth_token?:
1193
+ string;
884
1194
  /** Returns response with indentations and line breaks. */
885
- prettyPrint?: boolean;
1195
+ prettyPrint?:
1196
+ boolean;
886
1197
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
887
- quotaUser?: string;
1198
+ quotaUser?:
1199
+ string;
888
1200
  /** Upload protocol for media (e.g. "raw", "multipart"). */
889
- upload_protocol?: string;
1201
+ upload_protocol?:
1202
+ string;
890
1203
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
891
- uploadType?: string;
1204
+ uploadType?:
1205
+ string;
892
1206
  }): client.Request<Form>;
893
- responses: ResponsesResource;
894
- watches: WatchesResource;
1207
+ responses:
1208
+ ResponsesResource;
1209
+ watches:
1210
+ WatchesResource;
895
1211
  }
896
1212
 
897
1213
  const forms: FormsResource;