@maxim_mazurok/gapi.client.docs-v1 0.0.20230418 → 0.0.20230425

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 +1309 -655
  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://docs.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230418
12
+ // Revision: 20230425
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -24,157 +24,205 @@ declare namespace gapi.client {
24
24
  namespace docs {
25
25
  interface AutoText {
26
26
  /** The suggested deletion IDs. If empty, then there are no suggested deletions of this content. */
27
- suggestedDeletionIds?: string[];
27
+ suggestedDeletionIds?:
28
+ string[];
28
29
  /** The suggested insertion IDs. An AutoText may have multiple insertion IDs if it's a nested suggested change. If empty, then this is not a suggested insertion. */
29
- suggestedInsertionIds?: string[];
30
+ suggestedInsertionIds?:
31
+ string[];
30
32
  /** The suggested text style changes to this AutoText, keyed by suggestion ID. */
31
- suggestedTextStyleChanges?: { [P in string]: SuggestedTextStyle };
33
+ suggestedTextStyleChanges?:
34
+ { [P in string]: SuggestedTextStyle };
32
35
  /** The text style of this AutoText. */
33
- textStyle?: TextStyle;
36
+ textStyle?:
37
+ TextStyle;
34
38
  /** The type of this auto text. */
35
- type?: string;
39
+ type?:
40
+ string;
36
41
  }
37
42
  interface Background {
38
43
  /** The background color. */
39
- color?: OptionalColor;
44
+ color?:
45
+ OptionalColor;
40
46
  }
41
47
  interface BackgroundSuggestionState {
42
48
  /** Indicates whether the current background color has been modified in this suggestion. */
43
- backgroundColorSuggested?: boolean;
49
+ backgroundColorSuggested?:
50
+ boolean;
44
51
  }
45
52
  interface BatchUpdateDocumentRequest {
46
53
  /** A list of updates to apply to the document. */
47
- requests?: Request[];
54
+ requests?:
55
+ Request[];
48
56
  /** Provides control over how write requests are executed. */
49
- writeControl?: WriteControl;
57
+ writeControl?:
58
+ WriteControl;
50
59
  }
51
60
  interface BatchUpdateDocumentResponse {
52
61
  /** The ID of the document to which the updates were applied to. */
53
- documentId?: string;
62
+ documentId?:
63
+ string;
54
64
  /** The reply of the updates. This maps 1:1 with the updates, although replies to some requests may be empty. */
55
- replies?: Response[];
65
+ replies?:
66
+ Response[];
56
67
  /** The updated write control after applying the request. */
57
- writeControl?: WriteControl;
68
+ writeControl?:
69
+ WriteControl;
58
70
  }
59
71
  interface Body {
60
72
  /** The contents of the body. The indexes for the body's content begin at zero. */
61
- content?: StructuralElement[];
73
+ content?:
74
+ StructuralElement[];
62
75
  }
63
76
  interface Bullet {
64
77
  /** The ID of the list this paragraph belongs to. */
65
- listId?: string;
78
+ listId?:
79
+ string;
66
80
  /** The nesting level of this paragraph in the list. */
67
- nestingLevel?: number;
81
+ nestingLevel?:
82
+ number;
68
83
  /** The paragraph-specific text style applied to this bullet. */
69
- textStyle?: TextStyle;
84
+ textStyle?:
85
+ TextStyle;
70
86
  }
71
87
  interface BulletSuggestionState {
72
88
  /** Indicates if there was a suggested change to the list_id. */
73
- listIdSuggested?: boolean;
89
+ listIdSuggested?:
90
+ boolean;
74
91
  /** Indicates if there was a suggested change to the nesting_level. */
75
- nestingLevelSuggested?: boolean;
92
+ nestingLevelSuggested?:
93
+ boolean;
76
94
  /** A mask that indicates which of the fields in text style have been changed in this suggestion. */
77
- textStyleSuggestionState?: TextStyleSuggestionState;
95
+ textStyleSuggestionState?:
96
+ TextStyleSuggestionState;
78
97
  }
79
98
  interface Color {
80
99
  /** The RGB color value. */
81
- rgbColor?: RgbColor;
100
+ rgbColor?:
101
+ RgbColor;
82
102
  }
83
103
  interface ColumnBreak {
84
104
  /** The suggested deletion IDs. If empty, then there are no suggested deletions of this content. */
85
- suggestedDeletionIds?: string[];
105
+ suggestedDeletionIds?:
106
+ string[];
86
107
  /** The suggested insertion IDs. A ColumnBreak may have multiple insertion IDs if it's a nested suggested change. If empty, then this is not a suggested insertion. */
87
- suggestedInsertionIds?: string[];
108
+ suggestedInsertionIds?:
109
+ string[];
88
110
  /** The suggested text style changes to this ColumnBreak, keyed by suggestion ID. */
89
- suggestedTextStyleChanges?: { [P in string]: SuggestedTextStyle };
111
+ suggestedTextStyleChanges?:
112
+ { [P in string]: SuggestedTextStyle };
90
113
  /**
91
114
  * The text style of this ColumnBreak. Similar to text content, like text runs and footnote references, the text style of a column break can affect content layout as well as the
92
115
  * styling of text inserted next to it.
93
116
  */
94
- textStyle?: TextStyle;
117
+ textStyle?:
118
+ TextStyle;
95
119
  }
96
120
  interface CreateFooterRequest {
97
121
  /**
98
122
  * The location of the SectionBreak immediately preceding the section whose SectionStyle this footer should belong to. If this is unset or refers to the first section break in the
99
123
  * document, the footer applies to the document style.
100
124
  */
101
- sectionBreakLocation?: Location;
125
+ sectionBreakLocation?:
126
+ Location;
102
127
  /** The type of footer to create. */
103
- type?: string;
128
+ type?:
129
+ string;
104
130
  }
105
131
  interface CreateFooterResponse {
106
132
  /** The ID of the created footer. */
107
- footerId?: string;
133
+ footerId?:
134
+ string;
108
135
  }
109
136
  interface CreateFootnoteRequest {
110
137
  /**
111
138
  * Inserts the footnote reference at the end of the document body. Footnote references cannot be inserted inside a header, footer or footnote. Since footnote references can only be
112
139
  * inserted in the body, the segment ID field must be empty.
113
140
  */
114
- endOfSegmentLocation?: EndOfSegmentLocation;
141
+ endOfSegmentLocation?:
142
+ EndOfSegmentLocation;
115
143
  /**
116
144
  * Inserts the footnote reference at a specific index in the document. The footnote reference must be inserted inside the bounds of an existing Paragraph. For instance, it cannot be
117
145
  * inserted at a table's start index (i.e. between the table and its preceding paragraph). Footnote references cannot be inserted inside an equation, header, footer or footnote. Since
118
146
  * footnote references can only be inserted in the body, the segment ID field must be empty.
119
147
  */
120
- location?: Location;
148
+ location?:
149
+ Location;
121
150
  }
122
151
  interface CreateFootnoteResponse {
123
152
  /** The ID of the created footnote. */
124
- footnoteId?: string;
153
+ footnoteId?:
154
+ string;
125
155
  }
126
156
  interface CreateHeaderRequest {
127
157
  /**
128
158
  * The location of the SectionBreak which begins the section this header should belong to. If `section_break_location' is unset or if it refers to the first section break in the
129
159
  * document body, the header applies to the DocumentStyle
130
160
  */
131
- sectionBreakLocation?: Location;
161
+ sectionBreakLocation?:
162
+ Location;
132
163
  /** The type of header to create. */
133
- type?: string;
164
+ type?:
165
+ string;
134
166
  }
135
167
  interface CreateHeaderResponse {
136
168
  /** The ID of the created header. */
137
- headerId?: string;
169
+ headerId?:
170
+ string;
138
171
  }
139
172
  interface CreateNamedRangeRequest {
140
173
  /** The name of the NamedRange. Names do not need to be unique. Names must be at least 1 character and no more than 256 characters, measured in UTF-16 code units. */
141
- name?: string;
174
+ name?:
175
+ string;
142
176
  /** The range to apply the name to. */
143
- range?: Range;
177
+ range?:
178
+ Range;
144
179
  }
145
180
  interface CreateNamedRangeResponse {
146
181
  /** The ID of the created named range. */
147
- namedRangeId?: string;
182
+ namedRangeId?:
183
+ string;
148
184
  }
149
185
  interface CreateParagraphBulletsRequest {
150
186
  /** The kinds of bullet glyphs to be used. */
151
- bulletPreset?: string;
187
+ bulletPreset?:
188
+ string;
152
189
  /** The range to apply the bullet preset to. */
153
- range?: Range;
190
+ range?:
191
+ Range;
154
192
  }
155
193
  interface CropProperties {
156
194
  /** The clockwise rotation angle of the crop rectangle around its center, in radians. Rotation is applied after the offsets. */
157
- angle?: number;
195
+ angle?:
196
+ number;
158
197
  /** The offset specifies how far inwards the bottom edge of the crop rectangle is from the bottom edge of the original content as a fraction of the original content's height. */
159
- offsetBottom?: number;
198
+ offsetBottom?:
199
+ number;
160
200
  /** The offset specifies how far inwards the left edge of the crop rectangle is from the left edge of the original content as a fraction of the original content's width. */
161
- offsetLeft?: number;
201
+ offsetLeft?:
202
+ number;
162
203
  /** The offset specifies how far inwards the right edge of the crop rectangle is from the right edge of the original content as a fraction of the original content's width. */
163
- offsetRight?: number;
204
+ offsetRight?:
205
+ number;
164
206
  /** The offset specifies how far inwards the top edge of the crop rectangle is from the top edge of the original content as a fraction of the original content's height. */
165
- offsetTop?: number;
207
+ offsetTop?:
208
+ number;
166
209
  }
167
210
  interface CropPropertiesSuggestionState {
168
211
  /** Indicates if there was a suggested change to angle. */
169
- angleSuggested?: boolean;
212
+ angleSuggested?:
213
+ boolean;
170
214
  /** Indicates if there was a suggested change to offset_bottom. */
171
- offsetBottomSuggested?: boolean;
215
+ offsetBottomSuggested?:
216
+ boolean;
172
217
  /** Indicates if there was a suggested change to offset_left. */
173
- offsetLeftSuggested?: boolean;
218
+ offsetLeftSuggested?:
219
+ boolean;
174
220
  /** Indicates if there was a suggested change to offset_right. */
175
- offsetRightSuggested?: boolean;
221
+ offsetRightSuggested?:
222
+ boolean;
176
223
  /** Indicates if there was a suggested change to offset_top. */
177
- offsetTopSuggested?: boolean;
224
+ offsetTopSuggested?:
225
+ boolean;
178
226
  }
179
227
  interface DeleteContentRangeRequest {
180
228
  /**
@@ -184,79 +232,101 @@ declare namespace gapi.client {
184
232
  * Deleting the start or end of a Table, TableOfContents or Equation without deleting the entire element. * Deleting the newline character before a Table, TableOfContents or
185
233
  * SectionBreak without deleting the element. * Deleting individual rows or cells of a table. Deleting the content within a table cell is allowed.
186
234
  */
187
- range?: Range;
235
+ range?:
236
+ Range;
188
237
  }
189
238
  interface DeleteFooterRequest {
190
239
  /**
191
240
  * The id of the footer to delete. If this footer is defined on DocumentStyle, the reference to this footer is removed, resulting in no footer of that type for the first section of the
192
241
  * document. If this footer is defined on a SectionStyle, the reference to this footer is removed and the footer of that type is now continued from the previous section.
193
242
  */
194
- footerId?: string;
243
+ footerId?:
244
+ string;
195
245
  }
196
246
  interface DeleteHeaderRequest {
197
247
  /**
198
248
  * The id of the header to delete. If this header is defined on DocumentStyle, the reference to this header is removed, resulting in no header of that type for the first section of the
199
249
  * document. If this header is defined on a SectionStyle, the reference to this header is removed and the header of that type is now continued from the previous section.
200
250
  */
201
- headerId?: string;
251
+ headerId?:
252
+ string;
202
253
  }
203
254
  interface DeleteNamedRangeRequest {
204
255
  /** The name of the range(s) to delete. All named ranges with the given name will be deleted. */
205
- name?: string;
256
+ name?:
257
+ string;
206
258
  /** The ID of the named range to delete. */
207
- namedRangeId?: string;
259
+ namedRangeId?:
260
+ string;
208
261
  }
209
262
  interface DeleteParagraphBulletsRequest {
210
263
  /** The range to delete bullets from. */
211
- range?: Range;
264
+ range?:
265
+ Range;
212
266
  }
213
267
  interface DeletePositionedObjectRequest {
214
268
  /** The ID of the positioned object to delete. */
215
- objectId?: string;
269
+ objectId?:
270
+ string;
216
271
  }
217
272
  interface DeleteTableColumnRequest {
218
273
  /**
219
274
  * The reference table cell location from which the column will be deleted. The column this cell spans will be deleted. If this is a merged cell that spans multiple columns, all
220
275
  * columns that the cell spans will be deleted. If no columns remain in the table after this deletion, the whole table is deleted.
221
276
  */
222
- tableCellLocation?: TableCellLocation;
277
+ tableCellLocation?:
278
+ TableCellLocation;
223
279
  }
224
280
  interface DeleteTableRowRequest {
225
281
  /**
226
282
  * The reference table cell location from which the row will be deleted. The row this cell spans will be deleted. If this is a merged cell that spans multiple rows, all rows that the
227
283
  * cell spans will be deleted. If no rows remain in the table after this deletion, the whole table is deleted.
228
284
  */
229
- tableCellLocation?: TableCellLocation;
285
+ tableCellLocation?:
286
+ TableCellLocation;
230
287
  }
231
288
  interface Dimension {
232
289
  /** The magnitude. */
233
- magnitude?: number;
290
+ magnitude?:
291
+ number;
234
292
  /** The units for magnitude. */
235
- unit?: string;
293
+ unit?:
294
+ string;
236
295
  }
237
296
  interface Document {
238
297
  /** Output only. The main body of the document. */
239
- body?: Body;
298
+ body?:
299
+ Body;
240
300
  /** Output only. The ID of the document. */
241
- documentId?: string;
301
+ documentId?:
302
+ string;
242
303
  /** Output only. The style of the document. */
243
- documentStyle?: DocumentStyle;
304
+ documentStyle?:
305
+ DocumentStyle;
244
306
  /** Output only. The footers in the document, keyed by footer ID. */
245
- footers?: { [P in string]: Footer };
307
+ footers?:
308
+ { [P in string]: Footer };
246
309
  /** Output only. The footnotes in the document, keyed by footnote ID. */
247
- footnotes?: { [P in string]: Footnote };
310
+ footnotes?:
311
+ { [P in string]: Footnote };
248
312
  /** Output only. The headers in the document, keyed by header ID. */
249
- headers?: { [P in string]: Header };
313
+ headers?:
314
+ { [P in string]: Header };
250
315
  /** Output only. The inline objects in the document, keyed by object ID. */
251
- inlineObjects?: { [P in string]: InlineObject };
316
+ inlineObjects?:
317
+ { [P in string]: InlineObject };
252
318
  /** Output only. The lists in the document, keyed by list ID. */
253
- lists?: { [P in string]: List };
319
+ lists?:
320
+ { [P in string]: List };
254
321
  /** Output only. The named ranges in the document, keyed by name. */
255
- namedRanges?: { [P in string]: NamedRanges };
322
+ namedRanges?:
323
+ { [P in string]: NamedRanges };
256
324
  /** Output only. The named styles of the document. */
257
- namedStyles?: NamedStyles;
325
+ namedStyles?:
326
+ NamedStyles;
258
327
  /** Output only. The positioned objects in the document, keyed by object ID. */
259
- positionedObjects?: { [P in string]: PositionedObject };
328
+ positionedObjects?:
329
+ { [P in string]: PositionedObject };
260
330
  /**
261
331
  * Output only. The revision ID of the document. Can be used in update requests to specify which revision of a document to apply updates to and how the request should behave if the
262
332
  * document has been edited since that revision. Only populated if the user has edit access to the document. The revision ID is not a sequential number but an opaque string. The format
@@ -264,106 +334,147 @@ declare namespace gapi.client {
264
334
  * revision ID is unchanged between calls, then the document has not changed. Conversely, a changed ID (for the same document and user) usually means the document has been updated.
265
335
  * However, a changed ID can also be due to internal factors such as ID format changes.
266
336
  */
267
- revisionId?: string;
337
+ revisionId?:
338
+ string;
268
339
  /** Output only. The suggested changes to the style of the document, keyed by suggestion ID. */
269
- suggestedDocumentStyleChanges?: { [P in string]: SuggestedDocumentStyle };
340
+ suggestedDocumentStyleChanges?:
341
+ { [P in string]: SuggestedDocumentStyle };
270
342
  /** Output only. The suggested changes to the named styles of the document, keyed by suggestion ID. */
271
- suggestedNamedStylesChanges?: { [P in string]: SuggestedNamedStyles };
343
+ suggestedNamedStylesChanges?:
344
+ { [P in string]: SuggestedNamedStyles };
272
345
  /** Output only. The suggestions view mode applied to the document. Note: When editing a document, changes must be based on a document with SUGGESTIONS_INLINE. */
273
- suggestionsViewMode?: string;
346
+ suggestionsViewMode?:
347
+ string;
274
348
  /** The title of the document. */
275
- title?: string;
349
+ title?:
350
+ string;
276
351
  }
277
352
  interface DocumentStyle {
278
353
  /** The background of the document. Documents cannot have a transparent background color. */
279
- background?: Background;
354
+ background?:
355
+ Background;
280
356
  /** The ID of the default footer. If not set, there's no default footer. This property is read-only. */
281
- defaultFooterId?: string;
357
+ defaultFooterId?:
358
+ string;
282
359
  /** The ID of the default header. If not set, there's no default header. This property is read-only. */
283
- defaultHeaderId?: string;
360
+ defaultHeaderId?:
361
+ string;
284
362
  /**
285
363
  * The ID of the footer used only for even pages. The value of use_even_page_header_footer determines whether to use the default_footer_id or this value for the footer on even pages.
286
364
  * If not set, there's no even page footer. This property is read-only.
287
365
  */
288
- evenPageFooterId?: string;
366
+ evenPageFooterId?:
367
+ string;
289
368
  /**
290
369
  * The ID of the header used only for even pages. The value of use_even_page_header_footer determines whether to use the default_header_id or this value for the header on even pages.
291
370
  * If not set, there's no even page header. This property is read-only.
292
371
  */
293
- evenPageHeaderId?: string;
372
+ evenPageHeaderId?:
373
+ string;
294
374
  /**
295
375
  * The ID of the footer used only for the first page. If not set then a unique footer for the first page does not exist. The value of use_first_page_header_footer determines whether to
296
376
  * use the default_footer_id or this value for the footer on the first page. If not set, there's no first page footer. This property is read-only.
297
377
  */
298
- firstPageFooterId?: string;
378
+ firstPageFooterId?:
379
+ string;
299
380
  /**
300
381
  * The ID of the header used only for the first page. If not set then a unique header for the first page does not exist. The value of use_first_page_header_footer determines whether to
301
382
  * use the default_header_id or this value for the header on the first page. If not set, there's no first page header. This property is read-only.
302
383
  */
303
- firstPageHeaderId?: string;
384
+ firstPageHeaderId?:
385
+ string;
304
386
  /** The bottom page margin. Updating the bottom page margin on the document style clears the bottom page margin on all section styles. */
305
- marginBottom?: Dimension;
387
+ marginBottom?:
388
+ Dimension;
306
389
  /** The amount of space between the bottom of the page and the contents of the footer. */
307
- marginFooter?: Dimension;
390
+ marginFooter?:
391
+ Dimension;
308
392
  /** The amount of space between the top of the page and the contents of the header. */
309
- marginHeader?: Dimension;
393
+ marginHeader?:
394
+ Dimension;
310
395
  /** The left page margin. Updating the left page margin on the document style clears the left page margin on all section styles. It may also cause columns to resize in all sections. */
311
- marginLeft?: Dimension;
396
+ marginLeft?:
397
+ Dimension;
312
398
  /** The right page margin. Updating the right page margin on the document style clears the right page margin on all section styles. It may also cause columns to resize in all sections. */
313
- marginRight?: Dimension;
399
+ marginRight?:
400
+ Dimension;
314
401
  /** The top page margin. Updating the top page margin on the document style clears the top page margin on all section styles. */
315
- marginTop?: Dimension;
402
+ marginTop?:
403
+ Dimension;
316
404
  /** The page number from which to start counting the number of pages. */
317
- pageNumberStart?: number;
405
+ pageNumberStart?:
406
+ number;
318
407
  /** The size of a page in the document. */
319
- pageSize?: Size;
408
+ pageSize?:
409
+ Size;
320
410
  /**
321
411
  * Indicates whether DocumentStyle margin_header, SectionStyle margin_header and DocumentStyle margin_footer, SectionStyle margin_footer are respected. When false, the default values
322
412
  * in the Docs editor for header and footer margin are used. This property is read-only.
323
413
  */
324
- useCustomHeaderFooterMargins?: boolean;
414
+ useCustomHeaderFooterMargins?:
415
+ boolean;
325
416
  /** Indicates whether to use the even page header / footer IDs for the even pages. */
326
- useEvenPageHeaderFooter?: boolean;
417
+ useEvenPageHeaderFooter?:
418
+ boolean;
327
419
  /** Indicates whether to use the first page header / footer IDs for the first page. */
328
- useFirstPageHeaderFooter?: boolean;
420
+ useFirstPageHeaderFooter?:
421
+ boolean;
329
422
  }
330
423
  interface DocumentStyleSuggestionState {
331
424
  /** A mask that indicates which of the fields in background have been changed in this suggestion. */
332
- backgroundSuggestionState?: BackgroundSuggestionState;
425
+ backgroundSuggestionState?:
426
+ BackgroundSuggestionState;
333
427
  /** Indicates if there was a suggested change to default_footer_id. */
334
- defaultFooterIdSuggested?: boolean;
428
+ defaultFooterIdSuggested?:
429
+ boolean;
335
430
  /** Indicates if there was a suggested change to default_header_id. */
336
- defaultHeaderIdSuggested?: boolean;
431
+ defaultHeaderIdSuggested?:
432
+ boolean;
337
433
  /** Indicates if there was a suggested change to even_page_footer_id. */
338
- evenPageFooterIdSuggested?: boolean;
434
+ evenPageFooterIdSuggested?:
435
+ boolean;
339
436
  /** Indicates if there was a suggested change to even_page_header_id. */
340
- evenPageHeaderIdSuggested?: boolean;
437
+ evenPageHeaderIdSuggested?:
438
+ boolean;
341
439
  /** Indicates if there was a suggested change to first_page_footer_id. */
342
- firstPageFooterIdSuggested?: boolean;
440
+ firstPageFooterIdSuggested?:
441
+ boolean;
343
442
  /** Indicates if there was a suggested change to first_page_header_id. */
344
- firstPageHeaderIdSuggested?: boolean;
443
+ firstPageHeaderIdSuggested?:
444
+ boolean;
345
445
  /** Indicates if there was a suggested change to margin_bottom. */
346
- marginBottomSuggested?: boolean;
446
+ marginBottomSuggested?:
447
+ boolean;
347
448
  /** Indicates if there was a suggested change to margin_footer. */
348
- marginFooterSuggested?: boolean;
449
+ marginFooterSuggested?:
450
+ boolean;
349
451
  /** Indicates if there was a suggested change to margin_header. */
350
- marginHeaderSuggested?: boolean;
452
+ marginHeaderSuggested?:
453
+ boolean;
351
454
  /** Indicates if there was a suggested change to margin_left. */
352
- marginLeftSuggested?: boolean;
455
+ marginLeftSuggested?:
456
+ boolean;
353
457
  /** Indicates if there was a suggested change to margin_right. */
354
- marginRightSuggested?: boolean;
458
+ marginRightSuggested?:
459
+ boolean;
355
460
  /** Indicates if there was a suggested change to margin_top. */
356
- marginTopSuggested?: boolean;
461
+ marginTopSuggested?:
462
+ boolean;
357
463
  /** Indicates if there was a suggested change to page_number_start. */
358
- pageNumberStartSuggested?: boolean;
464
+ pageNumberStartSuggested?:
465
+ boolean;
359
466
  /** A mask that indicates which of the fields in size have been changed in this suggestion. */
360
- pageSizeSuggestionState?: SizeSuggestionState;
467
+ pageSizeSuggestionState?:
468
+ SizeSuggestionState;
361
469
  /** Indicates if there was a suggested change to use_custom_header_footer_margins. */
362
- useCustomHeaderFooterMarginsSuggested?: boolean;
470
+ useCustomHeaderFooterMarginsSuggested?:
471
+ boolean;
363
472
  /** Indicates if there was a suggested change to use_even_page_header_footer. */
364
- useEvenPageHeaderFooterSuggested?: boolean;
473
+ useEvenPageHeaderFooterSuggested?:
474
+ boolean;
365
475
  /** Indicates if there was a suggested change to use_first_page_header_footer. */
366
- useFirstPageHeaderFooterSuggested?: boolean;
476
+ useFirstPageHeaderFooterSuggested?:
477
+ boolean;
367
478
  }
368
479
  // tslint:disable-next-line:no-empty-interface
369
480
  interface EmbeddedDrawingProperties {
@@ -373,353 +484,463 @@ declare namespace gapi.client {
373
484
  }
374
485
  interface EmbeddedObject {
375
486
  /** The description of the embedded object. The `title` and `description` are both combined to display alt text. */
376
- description?: string;
487
+ description?:
488
+ string;
377
489
  /** The properties of an embedded drawing. */
378
- embeddedDrawingProperties?: any;
490
+ embeddedDrawingProperties?:
491
+ any;
379
492
  /** The border of the embedded object. */
380
- embeddedObjectBorder?: EmbeddedObjectBorder;
493
+ embeddedObjectBorder?:
494
+ EmbeddedObjectBorder;
381
495
  /** The properties of an image. */
382
- imageProperties?: ImageProperties;
496
+ imageProperties?:
497
+ ImageProperties;
383
498
  /**
384
499
  * A reference to the external linked source content. For example, it contains a reference to the source Google Sheets chart when the embedded object is a linked chart. If unset, then
385
500
  * the embedded object is not linked.
386
501
  */
387
- linkedContentReference?: LinkedContentReference;
502
+ linkedContentReference?:
503
+ LinkedContentReference;
388
504
  /** The bottom margin of the embedded object. */
389
- marginBottom?: Dimension;
505
+ marginBottom?:
506
+ Dimension;
390
507
  /** The left margin of the embedded object. */
391
- marginLeft?: Dimension;
508
+ marginLeft?:
509
+ Dimension;
392
510
  /** The right margin of the embedded object. */
393
- marginRight?: Dimension;
511
+ marginRight?:
512
+ Dimension;
394
513
  /** The top margin of the embedded object. */
395
- marginTop?: Dimension;
514
+ marginTop?:
515
+ Dimension;
396
516
  /** The visible size of the image after cropping. */
397
- size?: Size;
517
+ size?:
518
+ Size;
398
519
  /** The title of the embedded object. The `title` and `description` are both combined to display alt text. */
399
- title?: string;
520
+ title?:
521
+ string;
400
522
  }
401
523
  interface EmbeddedObjectBorder {
402
524
  /** The color of the border. */
403
- color?: OptionalColor;
525
+ color?:
526
+ OptionalColor;
404
527
  /** The dash style of the border. */
405
- dashStyle?: string;
528
+ dashStyle?:
529
+ string;
406
530
  /** The property state of the border property. */
407
- propertyState?: string;
531
+ propertyState?:
532
+ string;
408
533
  /** The width of the border. */
409
- width?: Dimension;
534
+ width?:
535
+ Dimension;
410
536
  }
411
537
  interface EmbeddedObjectBorderSuggestionState {
412
538
  /** Indicates if there was a suggested change to color. */
413
- colorSuggested?: boolean;
539
+ colorSuggested?:
540
+ boolean;
414
541
  /** Indicates if there was a suggested change to dash_style. */
415
- dashStyleSuggested?: boolean;
542
+ dashStyleSuggested?:
543
+ boolean;
416
544
  /** Indicates if there was a suggested change to property_state. */
417
- propertyStateSuggested?: boolean;
545
+ propertyStateSuggested?:
546
+ boolean;
418
547
  /** Indicates if there was a suggested change to width. */
419
- widthSuggested?: boolean;
548
+ widthSuggested?:
549
+ boolean;
420
550
  }
421
551
  interface EmbeddedObjectSuggestionState {
422
552
  /** Indicates if there was a suggested change to description. */
423
- descriptionSuggested?: boolean;
553
+ descriptionSuggested?:
554
+ boolean;
424
555
  /** A mask that indicates which of the fields in embedded_drawing_properties have been changed in this suggestion. */
425
- embeddedDrawingPropertiesSuggestionState?: any;
556
+ embeddedDrawingPropertiesSuggestionState?:
557
+ any;
426
558
  /** A mask that indicates which of the fields in embedded_object_border have been changed in this suggestion. */
427
- embeddedObjectBorderSuggestionState?: EmbeddedObjectBorderSuggestionState;
559
+ embeddedObjectBorderSuggestionState?:
560
+ EmbeddedObjectBorderSuggestionState;
428
561
  /** A mask that indicates which of the fields in image_properties have been changed in this suggestion. */
429
- imagePropertiesSuggestionState?: ImagePropertiesSuggestionState;
562
+ imagePropertiesSuggestionState?:
563
+ ImagePropertiesSuggestionState;
430
564
  /** A mask that indicates which of the fields in linked_content_reference have been changed in this suggestion. */
431
- linkedContentReferenceSuggestionState?: LinkedContentReferenceSuggestionState;
565
+ linkedContentReferenceSuggestionState?:
566
+ LinkedContentReferenceSuggestionState;
432
567
  /** Indicates if there was a suggested change to margin_bottom. */
433
- marginBottomSuggested?: boolean;
568
+ marginBottomSuggested?:
569
+ boolean;
434
570
  /** Indicates if there was a suggested change to margin_left. */
435
- marginLeftSuggested?: boolean;
571
+ marginLeftSuggested?:
572
+ boolean;
436
573
  /** Indicates if there was a suggested change to margin_right. */
437
- marginRightSuggested?: boolean;
574
+ marginRightSuggested?:
575
+ boolean;
438
576
  /** Indicates if there was a suggested change to margin_top. */
439
- marginTopSuggested?: boolean;
577
+ marginTopSuggested?:
578
+ boolean;
440
579
  /** A mask that indicates which of the fields in size have been changed in this suggestion. */
441
- sizeSuggestionState?: SizeSuggestionState;
580
+ sizeSuggestionState?:
581
+ SizeSuggestionState;
442
582
  /** Indicates if there was a suggested change to title. */
443
- titleSuggested?: boolean;
583
+ titleSuggested?:
584
+ boolean;
444
585
  }
445
586
  interface EndOfSegmentLocation {
446
587
  /** The ID of the header, footer or footnote the location is in. An empty segment ID signifies the document's body. */
447
- segmentId?: string;
588
+ segmentId?:
589
+ string;
448
590
  }
449
591
  interface Equation {
450
592
  /** The suggested deletion IDs. If empty, then there are no suggested deletions of this content. */
451
- suggestedDeletionIds?: string[];
593
+ suggestedDeletionIds?:
594
+ string[];
452
595
  /** The suggested insertion IDs. An Equation may have multiple insertion IDs if it's a nested suggested change. If empty, then this is not a suggested insertion. */
453
- suggestedInsertionIds?: string[];
596
+ suggestedInsertionIds?:
597
+ string[];
454
598
  }
455
599
  interface Footer {
456
600
  /** The contents of the footer. The indexes for a footer's content begin at zero. */
457
- content?: StructuralElement[];
601
+ content?:
602
+ StructuralElement[];
458
603
  /** The ID of the footer. */
459
- footerId?: string;
604
+ footerId?:
605
+ string;
460
606
  }
461
607
  interface Footnote {
462
608
  /** The contents of the footnote. The indexes for a footnote's content begin at zero. */
463
- content?: StructuralElement[];
609
+ content?:
610
+ StructuralElement[];
464
611
  /** The ID of the footnote. */
465
- footnoteId?: string;
612
+ footnoteId?:
613
+ string;
466
614
  }
467
615
  interface FootnoteReference {
468
616
  /** The ID of the footnote that contains the content of this footnote reference. */
469
- footnoteId?: string;
617
+ footnoteId?:
618
+ string;
470
619
  /** The rendered number of this footnote. */
471
- footnoteNumber?: string;
620
+ footnoteNumber?:
621
+ string;
472
622
  /** The suggested deletion IDs. If empty, then there are no suggested deletions of this content. */
473
- suggestedDeletionIds?: string[];
623
+ suggestedDeletionIds?:
624
+ string[];
474
625
  /** The suggested insertion IDs. A FootnoteReference may have multiple insertion IDs if it's a nested suggested change. If empty, then this is not a suggested insertion. */
475
- suggestedInsertionIds?: string[];
626
+ suggestedInsertionIds?:
627
+ string[];
476
628
  /** The suggested text style changes to this FootnoteReference, keyed by suggestion ID. */
477
- suggestedTextStyleChanges?: { [P in string]: SuggestedTextStyle };
629
+ suggestedTextStyleChanges?:
630
+ { [P in string]: SuggestedTextStyle };
478
631
  /** The text style of this FootnoteReference. */
479
- textStyle?: TextStyle;
632
+ textStyle?:
633
+ TextStyle;
480
634
  }
481
635
  interface Header {
482
636
  /** The contents of the header. The indexes for a header's content begin at zero. */
483
- content?: StructuralElement[];
637
+ content?:
638
+ StructuralElement[];
484
639
  /** The ID of the header. */
485
- headerId?: string;
640
+ headerId?:
641
+ string;
486
642
  }
487
643
  interface HorizontalRule {
488
644
  /** The suggested deletion IDs. If empty, then there are no suggested deletions of this content. */
489
- suggestedDeletionIds?: string[];
645
+ suggestedDeletionIds?:
646
+ string[];
490
647
  /** The suggested insertion IDs. A HorizontalRule may have multiple insertion IDs if it is a nested suggested change. If empty, then this is not a suggested insertion. */
491
- suggestedInsertionIds?: string[];
648
+ suggestedInsertionIds?:
649
+ string[];
492
650
  /** The suggested text style changes to this HorizontalRule, keyed by suggestion ID. */
493
- suggestedTextStyleChanges?: { [P in string]: SuggestedTextStyle };
651
+ suggestedTextStyleChanges?:
652
+ { [P in string]: SuggestedTextStyle };
494
653
  /**
495
654
  * The text style of this HorizontalRule. Similar to text content, like text runs and footnote references, the text style of a horizontal rule can affect content layout as well as the
496
655
  * styling of text inserted next to it.
497
656
  */
498
- textStyle?: TextStyle;
657
+ textStyle?:
658
+ TextStyle;
499
659
  }
500
660
  interface ImageProperties {
501
661
  /** The clockwise rotation angle of the image, in radians. */
502
- angle?: number;
662
+ angle?:
663
+ number;
503
664
  /** The brightness effect of the image. The value should be in the interval [-1.0, 1.0], where 0 means no effect. */
504
- brightness?: number;
665
+ brightness?:
666
+ number;
505
667
  /**
506
668
  * A URI to the image with a default lifetime of 30 minutes. This URI is tagged with the account of the requester. Anyone with the URI effectively accesses the image as the original
507
669
  * requester. Access to the image may be lost if the document's sharing settings change.
508
670
  */
509
- contentUri?: string;
671
+ contentUri?:
672
+ string;
510
673
  /** The contrast effect of the image. The value should be in the interval [-1.0, 1.0], where 0 means no effect. */
511
- contrast?: number;
674
+ contrast?:
675
+ number;
512
676
  /** The crop properties of the image. */
513
- cropProperties?: CropProperties;
677
+ cropProperties?:
678
+ CropProperties;
514
679
  /** The source URI is the URI used to insert the image. The source URI can be empty. */
515
- sourceUri?: string;
680
+ sourceUri?:
681
+ string;
516
682
  /** The transparency effect of the image. The value should be in the interval [0.0, 1.0], where 0 means no effect and 1 means transparent. */
517
- transparency?: number;
683
+ transparency?:
684
+ number;
518
685
  }
519
686
  interface ImagePropertiesSuggestionState {
520
687
  /** Indicates if there was a suggested change to angle. */
521
- angleSuggested?: boolean;
688
+ angleSuggested?:
689
+ boolean;
522
690
  /** Indicates if there was a suggested change to brightness. */
523
- brightnessSuggested?: boolean;
691
+ brightnessSuggested?:
692
+ boolean;
524
693
  /** Indicates if there was a suggested change to content_uri. */
525
- contentUriSuggested?: boolean;
694
+ contentUriSuggested?:
695
+ boolean;
526
696
  /** Indicates if there was a suggested change to contrast. */
527
- contrastSuggested?: boolean;
697
+ contrastSuggested?:
698
+ boolean;
528
699
  /** A mask that indicates which of the fields in crop_properties have been changed in this suggestion. */
529
- cropPropertiesSuggestionState?: CropPropertiesSuggestionState;
700
+ cropPropertiesSuggestionState?:
701
+ CropPropertiesSuggestionState;
530
702
  /** Indicates if there was a suggested change to source_uri. */
531
- sourceUriSuggested?: boolean;
703
+ sourceUriSuggested?:
704
+ boolean;
532
705
  /** Indicates if there was a suggested change to transparency. */
533
- transparencySuggested?: boolean;
706
+ transparencySuggested?:
707
+ boolean;
534
708
  }
535
709
  interface InlineObject {
536
710
  /** The properties of this inline object. */
537
- inlineObjectProperties?: InlineObjectProperties;
711
+ inlineObjectProperties?:
712
+ InlineObjectProperties;
538
713
  /** The ID of this inline object. Can be used to update an object’s properties. */
539
- objectId?: string;
714
+ objectId?:
715
+ string;
540
716
  /** The suggested deletion IDs. If empty, then there are no suggested deletions of this content. */
541
- suggestedDeletionIds?: string[];
717
+ suggestedDeletionIds?:
718
+ string[];
542
719
  /** The suggested changes to the inline object properties, keyed by suggestion ID. */
543
- suggestedInlineObjectPropertiesChanges?: { [P in string]: SuggestedInlineObjectProperties };
720
+ suggestedInlineObjectPropertiesChanges?:
721
+ { [P in string]: SuggestedInlineObjectProperties };
544
722
  /** The suggested insertion ID. If empty, then this is not a suggested insertion. */
545
- suggestedInsertionId?: string;
723
+ suggestedInsertionId?:
724
+ string;
546
725
  }
547
726
  interface InlineObjectElement {
548
727
  /** The ID of the InlineObject this element contains. */
549
- inlineObjectId?: string;
728
+ inlineObjectId?:
729
+ string;
550
730
  /** The suggested deletion IDs. If empty, then there are no suggested deletions of this content. */
551
- suggestedDeletionIds?: string[];
731
+ suggestedDeletionIds?:
732
+ string[];
552
733
  /** The suggested insertion IDs. An InlineObjectElement may have multiple insertion IDs if it's a nested suggested change. If empty, then this is not a suggested insertion. */
553
- suggestedInsertionIds?: string[];
734
+ suggestedInsertionIds?:
735
+ string[];
554
736
  /** The suggested text style changes to this InlineObject, keyed by suggestion ID. */
555
- suggestedTextStyleChanges?: { [P in string]: SuggestedTextStyle };
737
+ suggestedTextStyleChanges?:
738
+ { [P in string]: SuggestedTextStyle };
556
739
  /**
557
740
  * The text style of this InlineObjectElement. Similar to text content, like text runs and footnote references, the text style of an inline object element can affect content layout as
558
741
  * well as the styling of text inserted next to it.
559
742
  */
560
- textStyle?: TextStyle;
743
+ textStyle?:
744
+ TextStyle;
561
745
  }
562
746
  interface InlineObjectProperties {
563
747
  /** The embedded object of this inline object. */
564
- embeddedObject?: EmbeddedObject;
748
+ embeddedObject?:
749
+ EmbeddedObject;
565
750
  }
566
751
  interface InlineObjectPropertiesSuggestionState {
567
752
  /** A mask that indicates which of the fields in embedded_object have been changed in this suggestion. */
568
- embeddedObjectSuggestionState?: EmbeddedObjectSuggestionState;
753
+ embeddedObjectSuggestionState?:
754
+ EmbeddedObjectSuggestionState;
569
755
  }
570
756
  interface InsertInlineImageRequest {
571
757
  /** Inserts the text at the end of a header, footer or the document body. Inline images cannot be inserted inside a footnote. */
572
- endOfSegmentLocation?: EndOfSegmentLocation;
758
+ endOfSegmentLocation?:
759
+ EndOfSegmentLocation;
573
760
  /**
574
761
  * Inserts the image at a specific index in the document. The image must be inserted inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a table's start
575
762
  * index (i.e. between the table and its preceding paragraph). Inline images cannot be inserted inside a footnote or equation.
576
763
  */
577
- location?: Location;
764
+ location?:
765
+ Location;
578
766
  /**
579
767
  * The size that the image should appear as in the document. This property is optional and the final size of the image in the document is determined by the following rules: * If
580
768
  * neither width nor height is specified, then a default size of the image is calculated based on its resolution. * If one dimension is specified then the other dimension is calculated
581
769
  * to preserve the aspect ratio of the image. * If both width and height are specified, the image is scaled to fit within the provided dimensions while maintaining its aspect ratio.
582
770
  */
583
- objectSize?: Size;
771
+ objectSize?:
772
+ Size;
584
773
  /**
585
774
  * The image URI. The image is fetched once at insertion time and a copy is stored for display inside the document. Images must be less than 50MB in size, cannot exceed 25 megapixels,
586
775
  * and must be in one of PNG, JPEG, or GIF format. The provided URI must be publicly accessible and at most 2 kB in length. The URI itself is saved with the image, and exposed via the
587
776
  * ImageProperties.content_uri field.
588
777
  */
589
- uri?: string;
778
+ uri?:
779
+ string;
590
780
  }
591
781
  interface InsertInlineImageResponse {
592
782
  /** The ID of the created InlineObject. */
593
- objectId?: string;
783
+ objectId?:
784
+ string;
594
785
  }
595
786
  interface InsertInlineSheetsChartResponse {
596
787
  /** The object ID of the inserted chart. */
597
- objectId?: string;
788
+ objectId?:
789
+ string;
598
790
  }
599
791
  interface InsertPageBreakRequest {
600
792
  /**
601
793
  * Inserts the page break at the end of the document body. Page breaks cannot be inserted inside a footnote, header or footer. Since page breaks can only be inserted inside the body,
602
794
  * the segment ID field must be empty.
603
795
  */
604
- endOfSegmentLocation?: EndOfSegmentLocation;
796
+ endOfSegmentLocation?:
797
+ EndOfSegmentLocation;
605
798
  /**
606
799
  * Inserts the page break at a specific index in the document. The page break must be inserted inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a
607
800
  * table's start index (i.e. between the table and its preceding paragraph). Page breaks cannot be inserted inside a table, equation, footnote, header or footer. Since page breaks can
608
801
  * only be inserted inside the body, the segment ID field must be empty.
609
802
  */
610
- location?: Location;
803
+ location?:
804
+ Location;
611
805
  }
612
806
  interface InsertSectionBreakRequest {
613
807
  /**
614
808
  * Inserts a newline and a section break at the end of the document body. Section breaks cannot be inserted inside a footnote, header or footer. Because section breaks can only be
615
809
  * inserted inside the body, the segment ID field must be empty.
616
810
  */
617
- endOfSegmentLocation?: EndOfSegmentLocation;
811
+ endOfSegmentLocation?:
812
+ EndOfSegmentLocation;
618
813
  /**
619
814
  * Inserts a newline and a section break at a specific index in the document. The section break must be inserted inside the bounds of an existing Paragraph. For instance, it cannot be
620
815
  * inserted at a table's start index (i.e. between the table and its preceding paragraph). Section breaks cannot be inserted inside a table, equation, footnote, header, or footer.
621
816
  * Since section breaks can only be inserted inside the body, the segment ID field must be empty.
622
817
  */
623
- location?: Location;
818
+ location?:
819
+ Location;
624
820
  /** The type of section to insert. */
625
- sectionType?: string;
821
+ sectionType?:
822
+ string;
626
823
  }
627
824
  interface InsertTableColumnRequest {
628
825
  /** Whether to insert new column to the right of the reference cell location. - `True`: insert to the right. - `False`: insert to the left. */
629
- insertRight?: boolean;
826
+ insertRight?:
827
+ boolean;
630
828
  /**
631
829
  * The reference table cell location from which columns will be inserted. A new column will be inserted to the left (or right) of the column where the reference cell is. If the
632
830
  * reference cell is a merged cell, a new column will be inserted to the left (or right) of the merged cell.
633
831
  */
634
- tableCellLocation?: TableCellLocation;
832
+ tableCellLocation?:
833
+ TableCellLocation;
635
834
  }
636
835
  interface InsertTableRequest {
637
836
  /** The number of columns in the table. */
638
- columns?: number;
837
+ columns?:
838
+ number;
639
839
  /**
640
840
  * Inserts the table at the end of the given header, footer or document body. A newline character will be inserted before the inserted table. Tables cannot be inserted inside a
641
841
  * footnote.
642
842
  */
643
- endOfSegmentLocation?: EndOfSegmentLocation;
843
+ endOfSegmentLocation?:
844
+ EndOfSegmentLocation;
644
845
  /**
645
846
  * Inserts the table at a specific model index. A newline character will be inserted before the inserted table, therefore the table start index will be at the specified location index
646
847
  * + 1. The table must be inserted inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a table's start index (i.e. between an existing table and its
647
848
  * preceding paragraph). Tables cannot be inserted inside a footnote or equation.
648
849
  */
649
- location?: Location;
850
+ location?:
851
+ Location;
650
852
  /** The number of rows in the table. */
651
- rows?: number;
853
+ rows?:
854
+ number;
652
855
  }
653
856
  interface InsertTableRowRequest {
654
857
  /** Whether to insert new row below the reference cell location. - `True`: insert below the cell. - `False`: insert above the cell. */
655
- insertBelow?: boolean;
858
+ insertBelow?:
859
+ boolean;
656
860
  /**
657
861
  * The reference table cell location from which rows will be inserted. A new row will be inserted above (or below) the row where the reference cell is. If the reference cell is a
658
862
  * merged cell, a new row will be inserted above (or below) the merged cell.
659
863
  */
660
- tableCellLocation?: TableCellLocation;
864
+ tableCellLocation?:
865
+ TableCellLocation;
661
866
  }
662
867
  interface InsertTextRequest {
663
868
  /** Inserts the text at the end of a header, footer, footnote or the document body. */
664
- endOfSegmentLocation?: EndOfSegmentLocation;
869
+ endOfSegmentLocation?:
870
+ EndOfSegmentLocation;
665
871
  /**
666
872
  * Inserts the text at a specific index in the document. Text must be inserted inside the bounds of an existing Paragraph. For instance, text cannot be inserted at a table's start
667
873
  * index (i.e. between the table and its preceding paragraph). The text must be inserted in the preceding paragraph.
668
874
  */
669
- location?: Location;
875
+ location?:
876
+ Location;
670
877
  /**
671
878
  * The text to be inserted. Inserting a newline character will implicitly create a new Paragraph at that index. The paragraph style of the new paragraph will be copied from the
672
879
  * paragraph at the current insertion index, including lists and bullets. Text styles for inserted text will be determined automatically, generally preserving the styling of
673
880
  * neighboring text. In most cases, the text style for the inserted text will match the text immediately before the insertion index. Some control characters (U+0000-U+0008,
674
881
  * U+000C-U+001F) and characters from the Unicode Basic Multilingual Plane Private Use Area (U+E000-U+F8FF) will be stripped out of the inserted text.
675
882
  */
676
- text?: string;
883
+ text?:
884
+ string;
677
885
  }
678
886
  interface Link {
679
887
  /** The ID of a bookmark in this document. */
680
- bookmarkId?: string;
888
+ bookmarkId?:
889
+ string;
681
890
  /** The ID of a heading in this document. */
682
- headingId?: string;
891
+ headingId?:
892
+ string;
683
893
  /** An external URL. */
684
- url?: string;
894
+ url?:
895
+ string;
685
896
  }
686
897
  interface LinkedContentReference {
687
898
  /** A reference to the linked chart. */
688
- sheetsChartReference?: SheetsChartReference;
899
+ sheetsChartReference?:
900
+ SheetsChartReference;
689
901
  }
690
902
  interface LinkedContentReferenceSuggestionState {
691
903
  /** A mask that indicates which of the fields in sheets_chart_reference have been changed in this suggestion. */
692
- sheetsChartReferenceSuggestionState?: SheetsChartReferenceSuggestionState;
904
+ sheetsChartReferenceSuggestionState?:
905
+ SheetsChartReferenceSuggestionState;
693
906
  }
694
907
  interface List {
695
908
  /** The properties of the list. */
696
- listProperties?: ListProperties;
909
+ listProperties?:
910
+ ListProperties;
697
911
  /** The suggested deletion IDs. If empty, then there are no suggested deletions of this list. */
698
- suggestedDeletionIds?: string[];
912
+ suggestedDeletionIds?:
913
+ string[];
699
914
  /** The suggested insertion ID. If empty, then this is not a suggested insertion. */
700
- suggestedInsertionId?: string;
915
+ suggestedInsertionId?:
916
+ string;
701
917
  /** The suggested changes to the list properties, keyed by suggestion ID. */
702
- suggestedListPropertiesChanges?: { [P in string]: SuggestedListProperties };
918
+ suggestedListPropertiesChanges?:
919
+ { [P in string]: SuggestedListProperties };
703
920
  }
704
921
  interface ListProperties {
705
922
  /**
706
923
  * Describes the properties of the bullets at the associated level. A list has at most 9 levels of nesting with nesting level 0 corresponding to the top-most level and nesting level 8
707
924
  * corresponding to the most nested level. The nesting levels are returned in ascending order with the least nested returned first.
708
925
  */
709
- nestingLevels?: NestingLevel[];
926
+ nestingLevels?:
927
+ NestingLevel[];
710
928
  }
711
929
  interface ListPropertiesSuggestionState {
712
930
  /**
713
931
  * A mask that indicates which of the fields on the corresponding NestingLevel in nesting_levels have been changed in this suggestion. The nesting level suggestion states are returned
714
932
  * in ascending order of the nesting level with the least nested returned first.
715
933
  */
716
- nestingLevelsSuggestionStates?: NestingLevelSuggestionState[];
934
+ nestingLevelsSuggestionStates?:
935
+ NestingLevelSuggestionState[];
717
936
  }
718
937
  interface Location {
719
938
  /** The zero-based index, in UTF-16 code units. The index is relative to the beginning of the segment specified by segment_id. */
720
- index?: number;
939
+ index?:
940
+ number;
721
941
  /** The ID of the header, footer or footnote the location is in. An empty segment ID signifies the document's body. */
722
- segmentId?: string;
942
+ segmentId?:
943
+ string;
723
944
  }
724
945
  interface MergeTableCellsRequest {
725
946
  /**
@@ -727,52 +948,67 @@ declare namespace gapi.client {
727
948
  * upper-left cell of the range when the content direction is left to right, and the upper-right cell of the range otherwise. If the range is non-rectangular (which can occur in some
728
949
  * cases where the range covers cells that are already merged or where the table is non-rectangular), a 400 bad request error is returned.
729
950
  */
730
- tableRange?: TableRange;
951
+ tableRange?:
952
+ TableRange;
731
953
  }
732
954
  interface NamedRange {
733
955
  /** The name of the named range. */
734
- name?: string;
956
+ name?:
957
+ string;
735
958
  /** The ID of the named range. */
736
- namedRangeId?: string;
959
+ namedRangeId?:
960
+ string;
737
961
  /** The ranges that belong to this named range. */
738
- ranges?: Range[];
962
+ ranges?:
963
+ Range[];
739
964
  }
740
965
  interface NamedRanges {
741
966
  /** The name that all the named ranges share. */
742
- name?: string;
967
+ name?:
968
+ string;
743
969
  /** The NamedRanges that share the same name. */
744
- namedRanges?: NamedRange[];
970
+ namedRanges?:
971
+ NamedRange[];
745
972
  }
746
973
  interface NamedStyle {
747
974
  /** The type of this named style. */
748
- namedStyleType?: string;
975
+ namedStyleType?:
976
+ string;
749
977
  /** The paragraph style of this named style. */
750
- paragraphStyle?: ParagraphStyle;
978
+ paragraphStyle?:
979
+ ParagraphStyle;
751
980
  /** The text style of this named style. */
752
- textStyle?: TextStyle;
981
+ textStyle?:
982
+ TextStyle;
753
983
  }
754
984
  interface NamedStyles {
755
985
  /** The named styles. There's an entry for each of the possible named style types. */
756
- styles?: NamedStyle[];
986
+ styles?:
987
+ NamedStyle[];
757
988
  }
758
989
  interface NamedStylesSuggestionState {
759
990
  /**
760
991
  * A mask that indicates which of the fields on the corresponding NamedStyle in styles have been changed in this suggestion. The order of these named style suggestion states matches
761
992
  * the order of the corresponding named style within the named styles suggestion.
762
993
  */
763
- stylesSuggestionStates?: NamedStyleSuggestionState[];
994
+ stylesSuggestionStates?:
995
+ NamedStyleSuggestionState[];
764
996
  }
765
997
  interface NamedStyleSuggestionState {
766
998
  /** The named style type that this suggestion state corresponds to. This field is provided as a convenience for matching the NamedStyleSuggestionState with its corresponding NamedStyle. */
767
- namedStyleType?: string;
999
+ namedStyleType?:
1000
+ string;
768
1001
  /** A mask that indicates which of the fields in paragraph style have been changed in this suggestion. */
769
- paragraphStyleSuggestionState?: ParagraphStyleSuggestionState;
1002
+ paragraphStyleSuggestionState?:
1003
+ ParagraphStyleSuggestionState;
770
1004
  /** A mask that indicates which of the fields in text style have been changed in this suggestion. */
771
- textStyleSuggestionState?: TextStyleSuggestionState;
1005
+ textStyleSuggestionState?:
1006
+ TextStyleSuggestionState;
772
1007
  }
773
1008
  interface NestingLevel {
774
1009
  /** The alignment of the bullet within the space allotted for rendering the bullet. */
775
- bulletAlignment?: string;
1010
+ bulletAlignment?:
1011
+ string;
776
1012
  /**
777
1013
  * The format string used by bullets at this level of nesting. The glyph format contains one or more placeholders, and these placeholders are replaced with the appropriate values
778
1014
  * depending on the glyph_type or glyph_symbol. The placeholders follow the pattern `%[nesting_level]`. Furthermore, placeholders can have prefixes and suffixes. Thus, the glyph format
@@ -783,927 +1019,1240 @@ declare namespace gapi.client {
783
1019
  * have DECIMAL glyph types, this would result in a list with rendered glyphs `1.` `2.` ` 2.1.` ` 2.2.` `3.` For nesting levels that are ordered, the string that replaces a placeholder
784
1020
  * in the glyph format for a particular paragraph depends on the paragraph's order within the list.
785
1021
  */
786
- glyphFormat?: string;
1022
+ glyphFormat?:
1023
+ string;
787
1024
  /**
788
1025
  * A custom glyph symbol used by bullets when paragraphs at this level of nesting are unordered. The glyph symbol replaces placeholders within the glyph_format. For example, if the
789
1026
  * glyph_symbol is the solid circle corresponding to Unicode U+25cf code point and the glyph_format is `%0`, the rendered glyph would be the solid circle.
790
1027
  */
791
- glyphSymbol?: string;
1028
+ glyphSymbol?:
1029
+ string;
792
1030
  /**
793
1031
  * The type of glyph used by bullets when paragraphs at this level of nesting are ordered. The glyph type determines the type of glyph used to replace placeholders within the
794
1032
  * glyph_format when paragraphs at this level of nesting are ordered. For example, if the nesting level is 0, the glyph_format is `%0.` and the glyph type is DECIMAL, then the rendered
795
1033
  * glyph would replace the placeholder `%0` in the glyph format with a number corresponding to list item's order within the list.
796
1034
  */
797
- glyphType?: string;
1035
+ glyphType?:
1036
+ string;
798
1037
  /** The amount of indentation for the first line of paragraphs at this level of nesting. */
799
- indentFirstLine?: Dimension;
1038
+ indentFirstLine?:
1039
+ Dimension;
800
1040
  /** The amount of indentation for paragraphs at this level of nesting. Applied to the side that corresponds to the start of the text, based on the paragraph's content direction. */
801
- indentStart?: Dimension;
1041
+ indentStart?:
1042
+ Dimension;
802
1043
  /**
803
1044
  * The number of the first list item at this nesting level. A value of 0 is treated as a value of 1 for lettered lists and Roman numeral lists. For values of both 0 and 1, lettered and
804
1045
  * Roman numeral lists will begin at `a` and `i` respectively. This value is ignored for nesting levels with unordered glyphs.
805
1046
  */
806
- startNumber?: number;
1047
+ startNumber?:
1048
+ number;
807
1049
  /** The text style of bullets at this level of nesting. */
808
- textStyle?: TextStyle;
1050
+ textStyle?:
1051
+ TextStyle;
809
1052
  }
810
1053
  interface NestingLevelSuggestionState {
811
1054
  /** Indicates if there was a suggested change to bullet_alignment. */
812
- bulletAlignmentSuggested?: boolean;
1055
+ bulletAlignmentSuggested?:
1056
+ boolean;
813
1057
  /** Indicates if there was a suggested change to glyph_format. */
814
- glyphFormatSuggested?: boolean;
1058
+ glyphFormatSuggested?:
1059
+ boolean;
815
1060
  /** Indicates if there was a suggested change to glyph_symbol. */
816
- glyphSymbolSuggested?: boolean;
1061
+ glyphSymbolSuggested?:
1062
+ boolean;
817
1063
  /** Indicates if there was a suggested change to glyph_type. */
818
- glyphTypeSuggested?: boolean;
1064
+ glyphTypeSuggested?:
1065
+ boolean;
819
1066
  /** Indicates if there was a suggested change to indent_first_line. */
820
- indentFirstLineSuggested?: boolean;
1067
+ indentFirstLineSuggested?:
1068
+ boolean;
821
1069
  /** Indicates if there was a suggested change to indent_start. */
822
- indentStartSuggested?: boolean;
1070
+ indentStartSuggested?:
1071
+ boolean;
823
1072
  /** Indicates if there was a suggested change to start_number. */
824
- startNumberSuggested?: boolean;
1073
+ startNumberSuggested?:
1074
+ boolean;
825
1075
  /** A mask that indicates which of the fields in text style have been changed in this suggestion. */
826
- textStyleSuggestionState?: TextStyleSuggestionState;
1076
+ textStyleSuggestionState?:
1077
+ TextStyleSuggestionState;
827
1078
  }
828
1079
  interface ObjectReferences {
829
1080
  /** The object IDs. */
830
- objectIds?: string[];
1081
+ objectIds?:
1082
+ string[];
831
1083
  }
832
1084
  interface OptionalColor {
833
1085
  /** If set, this will be used as an opaque color. If unset, this represents a transparent color. */
834
- color?: Color;
1086
+ color?:
1087
+ Color;
835
1088
  }
836
1089
  interface PageBreak {
837
1090
  /** The suggested deletion IDs. If empty, then there are no suggested deletions of this content. */
838
- suggestedDeletionIds?: string[];
1091
+ suggestedDeletionIds?:
1092
+ string[];
839
1093
  /** The suggested insertion IDs. A PageBreak may have multiple insertion IDs if it's a nested suggested change. If empty, then this is not a suggested insertion. */
840
- suggestedInsertionIds?: string[];
1094
+ suggestedInsertionIds?:
1095
+ string[];
841
1096
  /** The suggested text style changes to this PageBreak, keyed by suggestion ID. */
842
- suggestedTextStyleChanges?: { [P in string]: SuggestedTextStyle };
1097
+ suggestedTextStyleChanges?:
1098
+ { [P in string]: SuggestedTextStyle };
843
1099
  /**
844
1100
  * The text style of this PageBreak. Similar to text content, like text runs and footnote references, the text style of a page break can affect content layout as well as the styling of
845
1101
  * text inserted next to it.
846
1102
  */
847
- textStyle?: TextStyle;
1103
+ textStyle?:
1104
+ TextStyle;
848
1105
  }
849
1106
  interface Paragraph {
850
1107
  /** The bullet for this paragraph. If not present, the paragraph does not belong to a list. */
851
- bullet?: Bullet;
1108
+ bullet?:
1109
+ Bullet;
852
1110
  /** The content of the paragraph, broken down into its component parts. */
853
- elements?: ParagraphElement[];
1111
+ elements?:
1112
+ ParagraphElement[];
854
1113
  /** The style of this paragraph. */
855
- paragraphStyle?: ParagraphStyle;
1114
+ paragraphStyle?:
1115
+ ParagraphStyle;
856
1116
  /** The IDs of the positioned objects tethered to this paragraph. */
857
- positionedObjectIds?: string[];
1117
+ positionedObjectIds?:
1118
+ string[];
858
1119
  /** The suggested changes to this paragraph's bullet. */
859
- suggestedBulletChanges?: { [P in string]: SuggestedBullet };
1120
+ suggestedBulletChanges?:
1121
+ { [P in string]: SuggestedBullet };
860
1122
  /** The suggested paragraph style changes to this paragraph, keyed by suggestion ID. */
861
- suggestedParagraphStyleChanges?: { [P in string]: SuggestedParagraphStyle };
1123
+ suggestedParagraphStyleChanges?:
1124
+ { [P in string]: SuggestedParagraphStyle };
862
1125
  /** The IDs of the positioned objects suggested to be attached to this paragraph, keyed by suggestion ID. */
863
- suggestedPositionedObjectIds?: { [P in string]: ObjectReferences };
1126
+ suggestedPositionedObjectIds?:
1127
+ { [P in string]: ObjectReferences };
864
1128
  }
865
1129
  interface ParagraphBorder {
866
1130
  /** The color of the border. */
867
- color?: OptionalColor;
1131
+ color?:
1132
+ OptionalColor;
868
1133
  /** The dash style of the border. */
869
- dashStyle?: string;
1134
+ dashStyle?:
1135
+ string;
870
1136
  /** The padding of the border. */
871
- padding?: Dimension;
1137
+ padding?:
1138
+ Dimension;
872
1139
  /** The width of the border. */
873
- width?: Dimension;
1140
+ width?:
1141
+ Dimension;
874
1142
  }
875
1143
  interface ParagraphElement {
876
1144
  /** An auto text paragraph element. */
877
- autoText?: AutoText;
1145
+ autoText?:
1146
+ AutoText;
878
1147
  /** A column break paragraph element. */
879
- columnBreak?: ColumnBreak;
1148
+ columnBreak?:
1149
+ ColumnBreak;
880
1150
  /** The zero-base end index of this paragraph element, exclusive, in UTF-16 code units. */
881
- endIndex?: number;
1151
+ endIndex?:
1152
+ number;
882
1153
  /** An equation paragraph element. */
883
- equation?: Equation;
1154
+ equation?:
1155
+ Equation;
884
1156
  /** A footnote reference paragraph element. */
885
- footnoteReference?: FootnoteReference;
1157
+ footnoteReference?:
1158
+ FootnoteReference;
886
1159
  /** A horizontal rule paragraph element. */
887
- horizontalRule?: HorizontalRule;
1160
+ horizontalRule?:
1161
+ HorizontalRule;
888
1162
  /** An inline object paragraph element. */
889
- inlineObjectElement?: InlineObjectElement;
1163
+ inlineObjectElement?:
1164
+ InlineObjectElement;
890
1165
  /** A page break paragraph element. */
891
- pageBreak?: PageBreak;
1166
+ pageBreak?:
1167
+ PageBreak;
892
1168
  /** A paragraph element that links to a person or email address. */
893
- person?: Person;
1169
+ person?:
1170
+ Person;
894
1171
  /** A paragraph element that links to a Google resource (such as a file in Google Drive, a YouTube video, or a Calendar event.) */
895
- richLink?: RichLink;
1172
+ richLink?:
1173
+ RichLink;
896
1174
  /** The zero-based start index of this paragraph element, in UTF-16 code units. */
897
- startIndex?: number;
1175
+ startIndex?:
1176
+ number;
898
1177
  /** A text run paragraph element. */
899
- textRun?: TextRun;
1178
+ textRun?:
1179
+ TextRun;
900
1180
  }
901
1181
  interface ParagraphStyle {
902
1182
  /** The text alignment for this paragraph. */
903
- alignment?: string;
1183
+ alignment?:
1184
+ string;
904
1185
  /** Whether to avoid widows and orphans for the paragraph. If unset, the value is inherited from the parent. */
905
- avoidWidowAndOrphan?: boolean;
1186
+ avoidWidowAndOrphan?:
1187
+ boolean;
906
1188
  /**
907
1189
  * The border between this paragraph and the next and previous paragraphs. If unset, the value is inherited from the parent. The between border is rendered when the adjacent paragraph
908
1190
  * has the same border and indent properties. Paragraph borders cannot be partially updated. When changing a paragraph border, the new border must be specified in its entirety.
909
1191
  */
910
- borderBetween?: ParagraphBorder;
1192
+ borderBetween?:
1193
+ ParagraphBorder;
911
1194
  /**
912
1195
  * The border at the bottom of this paragraph. If unset, the value is inherited from the parent. The bottom border is rendered when the paragraph below has different border and indent
913
1196
  * properties. Paragraph borders cannot be partially updated. When changing a paragraph border, the new border must be specified in its entirety.
914
1197
  */
915
- borderBottom?: ParagraphBorder;
1198
+ borderBottom?:
1199
+ ParagraphBorder;
916
1200
  /**
917
1201
  * The border to the left of this paragraph. If unset, the value is inherited from the parent. Paragraph borders cannot be partially updated. When changing a paragraph border, the new
918
1202
  * border must be specified in its entirety.
919
1203
  */
920
- borderLeft?: ParagraphBorder;
1204
+ borderLeft?:
1205
+ ParagraphBorder;
921
1206
  /**
922
1207
  * The border to the right of this paragraph. If unset, the value is inherited from the parent. Paragraph borders cannot be partially updated. When changing a paragraph border, the new
923
1208
  * border must be specified in its entirety.
924
1209
  */
925
- borderRight?: ParagraphBorder;
1210
+ borderRight?:
1211
+ ParagraphBorder;
926
1212
  /**
927
1213
  * The border at the top of this paragraph. If unset, the value is inherited from the parent. The top border is rendered when the paragraph above has different border and indent
928
1214
  * properties. Paragraph borders cannot be partially updated. When changing a paragraph border, the new border must be specified in its entirety.
929
1215
  */
930
- borderTop?: ParagraphBorder;
1216
+ borderTop?:
1217
+ ParagraphBorder;
931
1218
  /** The text direction of this paragraph. If unset, the value defaults to LEFT_TO_RIGHT since paragraph direction is not inherited. */
932
- direction?: string;
1219
+ direction?:
1220
+ string;
933
1221
  /** The heading ID of the paragraph. If empty, then this paragraph is not a heading. This property is read-only. */
934
- headingId?: string;
1222
+ headingId?:
1223
+ string;
935
1224
  /**
936
1225
  * The amount of indentation for the paragraph on the side that corresponds to the end of the text, based on the current paragraph direction. If unset, the value is inherited from the
937
1226
  * parent.
938
1227
  */
939
- indentEnd?: Dimension;
1228
+ indentEnd?:
1229
+ Dimension;
940
1230
  /** The amount of indentation for the first line of the paragraph. If unset, the value is inherited from the parent. */
941
- indentFirstLine?: Dimension;
1231
+ indentFirstLine?:
1232
+ Dimension;
942
1233
  /**
943
1234
  * The amount of indentation for the paragraph on the side that corresponds to the start of the text, based on the current paragraph direction. If unset, the value is inherited from
944
1235
  * the parent.
945
1236
  */
946
- indentStart?: Dimension;
1237
+ indentStart?:
1238
+ Dimension;
947
1239
  /** Whether all lines of the paragraph should be laid out on the same page or column if possible. If unset, the value is inherited from the parent. */
948
- keepLinesTogether?: boolean;
1240
+ keepLinesTogether?:
1241
+ boolean;
949
1242
  /** Whether at least a part of this paragraph should be laid out on the same page or column as the next paragraph if possible. If unset, the value is inherited from the parent. */
950
- keepWithNext?: boolean;
1243
+ keepWithNext?:
1244
+ boolean;
951
1245
  /** The amount of space between lines, as a percentage of normal, where normal is represented as 100.0. If unset, the value is inherited from the parent. */
952
- lineSpacing?: number;
1246
+ lineSpacing?:
1247
+ number;
953
1248
  /**
954
1249
  * The named style type of the paragraph. Since updating the named style type affects other properties within ParagraphStyle, the named style type is applied before the other
955
1250
  * properties are updated.
956
1251
  */
957
- namedStyleType?: string;
1252
+ namedStyleType?:
1253
+ string;
958
1254
  /**
959
1255
  * Whether the current paragraph should always start at the beginning of a page. If unset, the value is inherited from the parent. Attempting to update page_break_before for paragraphs
960
1256
  * in unsupported regions, including Table, Header, Footer and Footnote, can result in an invalid document state that returns a 400 bad request error.
961
1257
  */
962
- pageBreakBefore?: boolean;
1258
+ pageBreakBefore?:
1259
+ boolean;
963
1260
  /** The shading of the paragraph. If unset, the value is inherited from the parent. */
964
- shading?: Shading;
1261
+ shading?:
1262
+ Shading;
965
1263
  /** The amount of extra space above the paragraph. If unset, the value is inherited from the parent. */
966
- spaceAbove?: Dimension;
1264
+ spaceAbove?:
1265
+ Dimension;
967
1266
  /** The amount of extra space below the paragraph. If unset, the value is inherited from the parent. */
968
- spaceBelow?: Dimension;
1267
+ spaceBelow?:
1268
+ Dimension;
969
1269
  /** The spacing mode for the paragraph. */
970
- spacingMode?: string;
1270
+ spacingMode?:
1271
+ string;
971
1272
  /** A list of the tab stops for this paragraph. The list of tab stops is not inherited. This property is read-only. */
972
- tabStops?: TabStop[];
1273
+ tabStops?:
1274
+ TabStop[];
973
1275
  }
974
1276
  interface ParagraphStyleSuggestionState {
975
1277
  /** Indicates if there was a suggested change to alignment. */
976
- alignmentSuggested?: boolean;
1278
+ alignmentSuggested?:
1279
+ boolean;
977
1280
  /** Indicates if there was a suggested change to avoid_widow_and_orphan. */
978
- avoidWidowAndOrphanSuggested?: boolean;
1281
+ avoidWidowAndOrphanSuggested?:
1282
+ boolean;
979
1283
  /** Indicates if there was a suggested change to border_between. */
980
- borderBetweenSuggested?: boolean;
1284
+ borderBetweenSuggested?:
1285
+ boolean;
981
1286
  /** Indicates if there was a suggested change to border_bottom. */
982
- borderBottomSuggested?: boolean;
1287
+ borderBottomSuggested?:
1288
+ boolean;
983
1289
  /** Indicates if there was a suggested change to border_left. */
984
- borderLeftSuggested?: boolean;
1290
+ borderLeftSuggested?:
1291
+ boolean;
985
1292
  /** Indicates if there was a suggested change to border_right. */
986
- borderRightSuggested?: boolean;
1293
+ borderRightSuggested?:
1294
+ boolean;
987
1295
  /** Indicates if there was a suggested change to border_top. */
988
- borderTopSuggested?: boolean;
1296
+ borderTopSuggested?:
1297
+ boolean;
989
1298
  /** Indicates if there was a suggested change to direction. */
990
- directionSuggested?: boolean;
1299
+ directionSuggested?:
1300
+ boolean;
991
1301
  /** Indicates if there was a suggested change to heading_id. */
992
- headingIdSuggested?: boolean;
1302
+ headingIdSuggested?:
1303
+ boolean;
993
1304
  /** Indicates if there was a suggested change to indent_end. */
994
- indentEndSuggested?: boolean;
1305
+ indentEndSuggested?:
1306
+ boolean;
995
1307
  /** Indicates if there was a suggested change to indent_first_line. */
996
- indentFirstLineSuggested?: boolean;
1308
+ indentFirstLineSuggested?:
1309
+ boolean;
997
1310
  /** Indicates if there was a suggested change to indent_start. */
998
- indentStartSuggested?: boolean;
1311
+ indentStartSuggested?:
1312
+ boolean;
999
1313
  /** Indicates if there was a suggested change to keep_lines_together. */
1000
- keepLinesTogetherSuggested?: boolean;
1314
+ keepLinesTogetherSuggested?:
1315
+ boolean;
1001
1316
  /** Indicates if there was a suggested change to keep_with_next. */
1002
- keepWithNextSuggested?: boolean;
1317
+ keepWithNextSuggested?:
1318
+ boolean;
1003
1319
  /** Indicates if there was a suggested change to line_spacing. */
1004
- lineSpacingSuggested?: boolean;
1320
+ lineSpacingSuggested?:
1321
+ boolean;
1005
1322
  /** Indicates if there was a suggested change to named_style_type. */
1006
- namedStyleTypeSuggested?: boolean;
1323
+ namedStyleTypeSuggested?:
1324
+ boolean;
1007
1325
  /** Indicates if there was a suggested change to page_break_before. */
1008
- pageBreakBeforeSuggested?: boolean;
1326
+ pageBreakBeforeSuggested?:
1327
+ boolean;
1009
1328
  /** A mask that indicates which of the fields in shading have been changed in this suggestion. */
1010
- shadingSuggestionState?: ShadingSuggestionState;
1329
+ shadingSuggestionState?:
1330
+ ShadingSuggestionState;
1011
1331
  /** Indicates if there was a suggested change to space_above. */
1012
- spaceAboveSuggested?: boolean;
1332
+ spaceAboveSuggested?:
1333
+ boolean;
1013
1334
  /** Indicates if there was a suggested change to space_below. */
1014
- spaceBelowSuggested?: boolean;
1335
+ spaceBelowSuggested?:
1336
+ boolean;
1015
1337
  /** Indicates if there was a suggested change to spacing_mode. */
1016
- spacingModeSuggested?: boolean;
1338
+ spacingModeSuggested?:
1339
+ boolean;
1017
1340
  }
1018
1341
  interface Person {
1019
1342
  /** Output only. The unique ID of this link. */
1020
- personId?: string;
1343
+ personId?:
1344
+ string;
1021
1345
  /** Output only. The properties of this Person. This field is always present. */
1022
- personProperties?: PersonProperties;
1346
+ personProperties?:
1347
+ PersonProperties;
1023
1348
  /**
1024
1349
  * IDs for suggestions that remove this person link from the document. A Person might have multiple deletion IDs if, for example, multiple users suggest deleting it. If empty, then
1025
1350
  * this person link isn't suggested for deletion.
1026
1351
  */
1027
- suggestedDeletionIds?: string[];
1352
+ suggestedDeletionIds?:
1353
+ string[];
1028
1354
  /**
1029
1355
  * IDs for suggestions that insert this person link into the document. A Person might have multiple insertion IDs if it's a nested suggested change (a suggestion within a suggestion
1030
1356
  * made by a different user, for example). If empty, then this person link isn't a suggested insertion.
1031
1357
  */
1032
- suggestedInsertionIds?: string[];
1358
+ suggestedInsertionIds?:
1359
+ string[];
1033
1360
  /** The suggested text style changes to this Person, keyed by suggestion ID. */
1034
- suggestedTextStyleChanges?: { [P in string]: SuggestedTextStyle };
1361
+ suggestedTextStyleChanges?:
1362
+ { [P in string]: SuggestedTextStyle };
1035
1363
  /** The text style of this Person. */
1036
- textStyle?: TextStyle;
1364
+ textStyle?:
1365
+ TextStyle;
1037
1366
  }
1038
1367
  interface PersonProperties {
1039
1368
  /** Output only. The email address linked to this Person. This field is always present. */
1040
- email?: string;
1369
+ email?:
1370
+ string;
1041
1371
  /** Output only. The name of the person if it's displayed in the link text instead of the person's email address. */
1042
- name?: string;
1372
+ name?:
1373
+ string;
1043
1374
  }
1044
1375
  interface PinTableHeaderRowsRequest {
1045
1376
  /** The number of table rows to pin, where 0 implies that all rows are unpinned. */
1046
- pinnedHeaderRowsCount?: number;
1377
+ pinnedHeaderRowsCount?:
1378
+ number;
1047
1379
  /** The location where the table starts in the document. */
1048
- tableStartLocation?: Location;
1380
+ tableStartLocation?:
1381
+ Location;
1049
1382
  }
1050
1383
  interface PositionedObject {
1051
1384
  /** The ID of this positioned object. */
1052
- objectId?: string;
1385
+ objectId?:
1386
+ string;
1053
1387
  /** The properties of this positioned object. */
1054
- positionedObjectProperties?: PositionedObjectProperties;
1388
+ positionedObjectProperties?:
1389
+ PositionedObjectProperties;
1055
1390
  /** The suggested deletion IDs. If empty, then there are no suggested deletions of this content. */
1056
- suggestedDeletionIds?: string[];
1391
+ suggestedDeletionIds?:
1392
+ string[];
1057
1393
  /** The suggested insertion ID. If empty, then this is not a suggested insertion. */
1058
- suggestedInsertionId?: string;
1394
+ suggestedInsertionId?:
1395
+ string;
1059
1396
  /** The suggested changes to the positioned object properties, keyed by suggestion ID. */
1060
- suggestedPositionedObjectPropertiesChanges?: { [P in string]: SuggestedPositionedObjectProperties };
1397
+ suggestedPositionedObjectPropertiesChanges?:
1398
+ { [P in string]: SuggestedPositionedObjectProperties };
1061
1399
  }
1062
1400
  interface PositionedObjectPositioning {
1063
1401
  /** The layout of this positioned object. */
1064
- layout?: string;
1402
+ layout?:
1403
+ string;
1065
1404
  /**
1066
1405
  * The offset of the left edge of the positioned object relative to the beginning of the Paragraph it's tethered to. The exact positioning of the object can depend on other content in
1067
1406
  * the document and the document's styling.
1068
1407
  */
1069
- leftOffset?: Dimension;
1408
+ leftOffset?:
1409
+ Dimension;
1070
1410
  /**
1071
1411
  * The offset of the top edge of the positioned object relative to the beginning of the Paragraph it's tethered to. The exact positioning of the object can depend on other content in
1072
1412
  * the document and the document's styling.
1073
1413
  */
1074
- topOffset?: Dimension;
1414
+ topOffset?:
1415
+ Dimension;
1075
1416
  }
1076
1417
  interface PositionedObjectPositioningSuggestionState {
1077
1418
  /** Indicates if there was a suggested change to layout. */
1078
- layoutSuggested?: boolean;
1419
+ layoutSuggested?:
1420
+ boolean;
1079
1421
  /** Indicates if there was a suggested change to left_offset. */
1080
- leftOffsetSuggested?: boolean;
1422
+ leftOffsetSuggested?:
1423
+ boolean;
1081
1424
  /** Indicates if there was a suggested change to top_offset. */
1082
- topOffsetSuggested?: boolean;
1425
+ topOffsetSuggested?:
1426
+ boolean;
1083
1427
  }
1084
1428
  interface PositionedObjectProperties {
1085
1429
  /** The embedded object of this positioned object. */
1086
- embeddedObject?: EmbeddedObject;
1430
+ embeddedObject?:
1431
+ EmbeddedObject;
1087
1432
  /** The positioning of this positioned object relative to the newline of the Paragraph that references this positioned object. */
1088
- positioning?: PositionedObjectPositioning;
1433
+ positioning?:
1434
+ PositionedObjectPositioning;
1089
1435
  }
1090
1436
  interface PositionedObjectPropertiesSuggestionState {
1091
1437
  /** A mask that indicates which of the fields in embedded_object have been changed in this suggestion. */
1092
- embeddedObjectSuggestionState?: EmbeddedObjectSuggestionState;
1438
+ embeddedObjectSuggestionState?:
1439
+ EmbeddedObjectSuggestionState;
1093
1440
  /** A mask that indicates which of the fields in positioning have been changed in this suggestion. */
1094
- positioningSuggestionState?: PositionedObjectPositioningSuggestionState;
1441
+ positioningSuggestionState?:
1442
+ PositionedObjectPositioningSuggestionState;
1095
1443
  }
1096
1444
  interface Range {
1097
1445
  /**
1098
1446
  * The zero-based end index of this range, exclusive, in UTF-16 code units. In all current uses, an end index must be provided. This field is an Int32Value in order to accommodate
1099
1447
  * future use cases with open-ended ranges.
1100
1448
  */
1101
- endIndex?: number;
1449
+ endIndex?:
1450
+ number;
1102
1451
  /** The ID of the header, footer, or footnote that this range is contained in. An empty segment ID signifies the document's body. */
1103
- segmentId?: string;
1452
+ segmentId?:
1453
+ string;
1104
1454
  /**
1105
1455
  * The zero-based start index of this range, in UTF-16 code units. In all current uses, a start index must be provided. This field is an Int32Value in order to accommodate future use
1106
1456
  * cases with open-ended ranges.
1107
1457
  */
1108
- startIndex?: number;
1458
+ startIndex?:
1459
+ number;
1109
1460
  }
1110
1461
  interface ReplaceAllTextRequest {
1111
1462
  /** Finds text in the document matching this substring. */
1112
- containsText?: SubstringMatchCriteria;
1463
+ containsText?:
1464
+ SubstringMatchCriteria;
1113
1465
  /** The text that will replace the matched text. */
1114
- replaceText?: string;
1466
+ replaceText?:
1467
+ string;
1115
1468
  }
1116
1469
  interface ReplaceAllTextResponse {
1117
1470
  /** The number of occurrences changed by replacing all text. */
1118
- occurrencesChanged?: number;
1471
+ occurrencesChanged?:
1472
+ number;
1119
1473
  }
1120
1474
  interface ReplaceImageRequest {
1121
1475
  /** The ID of the existing image that will be replaced. The ID can be retrieved from the response of a get request. */
1122
- imageObjectId?: string;
1476
+ imageObjectId?:
1477
+ string;
1123
1478
  /** The replacement method. */
1124
- imageReplaceMethod?: string;
1479
+ imageReplaceMethod?:
1480
+ string;
1125
1481
  /**
1126
1482
  * The URI of the new image. The image is fetched once at insertion time and a copy is stored for display inside the document. Images must be less than 50MB, cannot exceed 25
1127
1483
  * megapixels, and must be in PNG, JPEG, or GIF format. The provided URI can't surpass 2 KB in length. The URI is saved with the image, and exposed through the
1128
1484
  * ImageProperties.source_uri field.
1129
1485
  */
1130
- uri?: string;
1486
+ uri?:
1487
+ string;
1131
1488
  }
1132
1489
  interface ReplaceNamedRangeContentRequest {
1133
1490
  /** The ID of the named range whose content will be replaced. If there is no named range with the given ID a 400 bad request error is returned. */
1134
- namedRangeId?: string;
1491
+ namedRangeId?:
1492
+ string;
1135
1493
  /**
1136
1494
  * The name of the NamedRanges whose content will be replaced. If there are multiple named ranges with the given name, then the content of each one will be replaced. If there are no
1137
1495
  * named ranges with the given name, then the request will be a no-op.
1138
1496
  */
1139
- namedRangeName?: string;
1497
+ namedRangeName?:
1498
+ string;
1140
1499
  /** Replaces the content of the specified named range(s) with the given text. */
1141
- text?: string;
1500
+ text?:
1501
+ string;
1142
1502
  }
1143
1503
  interface Request {
1144
1504
  /** Creates a footer. */
1145
- createFooter?: CreateFooterRequest;
1505
+ createFooter?:
1506
+ CreateFooterRequest;
1146
1507
  /** Creates a footnote. */
1147
- createFootnote?: CreateFootnoteRequest;
1508
+ createFootnote?:
1509
+ CreateFootnoteRequest;
1148
1510
  /** Creates a header. */
1149
- createHeader?: CreateHeaderRequest;
1511
+ createHeader?:
1512
+ CreateHeaderRequest;
1150
1513
  /** Creates a named range. */
1151
- createNamedRange?: CreateNamedRangeRequest;
1514
+ createNamedRange?:
1515
+ CreateNamedRangeRequest;
1152
1516
  /** Creates bullets for paragraphs. */
1153
- createParagraphBullets?: CreateParagraphBulletsRequest;
1517
+ createParagraphBullets?:
1518
+ CreateParagraphBulletsRequest;
1154
1519
  /** Deletes content from the document. */
1155
- deleteContentRange?: DeleteContentRangeRequest;
1520
+ deleteContentRange?:
1521
+ DeleteContentRangeRequest;
1156
1522
  /** Deletes a footer from the document. */
1157
- deleteFooter?: DeleteFooterRequest;
1523
+ deleteFooter?:
1524
+ DeleteFooterRequest;
1158
1525
  /** Deletes a header from the document. */
1159
- deleteHeader?: DeleteHeaderRequest;
1526
+ deleteHeader?:
1527
+ DeleteHeaderRequest;
1160
1528
  /** Deletes a named range. */
1161
- deleteNamedRange?: DeleteNamedRangeRequest;
1529
+ deleteNamedRange?:
1530
+ DeleteNamedRangeRequest;
1162
1531
  /** Deletes bullets from paragraphs. */
1163
- deleteParagraphBullets?: DeleteParagraphBulletsRequest;
1532
+ deleteParagraphBullets?:
1533
+ DeleteParagraphBulletsRequest;
1164
1534
  /** Deletes a positioned object from the document. */
1165
- deletePositionedObject?: DeletePositionedObjectRequest;
1535
+ deletePositionedObject?:
1536
+ DeletePositionedObjectRequest;
1166
1537
  /** Deletes a column from a table. */
1167
- deleteTableColumn?: DeleteTableColumnRequest;
1538
+ deleteTableColumn?:
1539
+ DeleteTableColumnRequest;
1168
1540
  /** Deletes a row from a table. */
1169
- deleteTableRow?: DeleteTableRowRequest;
1541
+ deleteTableRow?:
1542
+ DeleteTableRowRequest;
1170
1543
  /** Inserts an inline image at the specified location. */
1171
- insertInlineImage?: InsertInlineImageRequest;
1544
+ insertInlineImage?:
1545
+ InsertInlineImageRequest;
1172
1546
  /** Inserts a page break at the specified location. */
1173
- insertPageBreak?: InsertPageBreakRequest;
1547
+ insertPageBreak?:
1548
+ InsertPageBreakRequest;
1174
1549
  /** Inserts a section break at the specified location. */
1175
- insertSectionBreak?: InsertSectionBreakRequest;
1550
+ insertSectionBreak?:
1551
+ InsertSectionBreakRequest;
1176
1552
  /** Inserts a table at the specified location. */
1177
- insertTable?: InsertTableRequest;
1553
+ insertTable?:
1554
+ InsertTableRequest;
1178
1555
  /** Inserts an empty column into a table. */
1179
- insertTableColumn?: InsertTableColumnRequest;
1556
+ insertTableColumn?:
1557
+ InsertTableColumnRequest;
1180
1558
  /** Inserts an empty row into a table. */
1181
- insertTableRow?: InsertTableRowRequest;
1559
+ insertTableRow?:
1560
+ InsertTableRowRequest;
1182
1561
  /** Inserts text at the specified location. */
1183
- insertText?: InsertTextRequest;
1562
+ insertText?:
1563
+ InsertTextRequest;
1184
1564
  /** Merges cells in a table. */
1185
- mergeTableCells?: MergeTableCellsRequest;
1565
+ mergeTableCells?:
1566
+ MergeTableCellsRequest;
1186
1567
  /** Updates the number of pinned header rows in a table. */
1187
- pinTableHeaderRows?: PinTableHeaderRowsRequest;
1568
+ pinTableHeaderRows?:
1569
+ PinTableHeaderRowsRequest;
1188
1570
  /** Replaces all instances of the specified text. */
1189
- replaceAllText?: ReplaceAllTextRequest;
1571
+ replaceAllText?:
1572
+ ReplaceAllTextRequest;
1190
1573
  /** Replaces an image in the document. */
1191
- replaceImage?: ReplaceImageRequest;
1574
+ replaceImage?:
1575
+ ReplaceImageRequest;
1192
1576
  /** Replaces the content in a named range. */
1193
- replaceNamedRangeContent?: ReplaceNamedRangeContentRequest;
1577
+ replaceNamedRangeContent?:
1578
+ ReplaceNamedRangeContentRequest;
1194
1579
  /** Unmerges cells in a table. */
1195
- unmergeTableCells?: UnmergeTableCellsRequest;
1580
+ unmergeTableCells?:
1581
+ UnmergeTableCellsRequest;
1196
1582
  /** Updates the style of the document. */
1197
- updateDocumentStyle?: UpdateDocumentStyleRequest;
1583
+ updateDocumentStyle?:
1584
+ UpdateDocumentStyleRequest;
1198
1585
  /** Updates the paragraph style at the specified range. */
1199
- updateParagraphStyle?: UpdateParagraphStyleRequest;
1586
+ updateParagraphStyle?:
1587
+ UpdateParagraphStyleRequest;
1200
1588
  /** Updates the section style of the specified range. */
1201
- updateSectionStyle?: UpdateSectionStyleRequest;
1589
+ updateSectionStyle?:
1590
+ UpdateSectionStyleRequest;
1202
1591
  /** Updates the style of table cells. */
1203
- updateTableCellStyle?: UpdateTableCellStyleRequest;
1592
+ updateTableCellStyle?:
1593
+ UpdateTableCellStyleRequest;
1204
1594
  /** Updates the properties of columns in a table. */
1205
- updateTableColumnProperties?: UpdateTableColumnPropertiesRequest;
1595
+ updateTableColumnProperties?:
1596
+ UpdateTableColumnPropertiesRequest;
1206
1597
  /** Updates the row style in a table. */
1207
- updateTableRowStyle?: UpdateTableRowStyleRequest;
1598
+ updateTableRowStyle?:
1599
+ UpdateTableRowStyleRequest;
1208
1600
  /** Updates the text style at the specified range. */
1209
- updateTextStyle?: UpdateTextStyleRequest;
1601
+ updateTextStyle?:
1602
+ UpdateTextStyleRequest;
1210
1603
  }
1211
1604
  interface Response {
1212
1605
  /** The result of creating a footer. */
1213
- createFooter?: CreateFooterResponse;
1606
+ createFooter?:
1607
+ CreateFooterResponse;
1214
1608
  /** The result of creating a footnote. */
1215
- createFootnote?: CreateFootnoteResponse;
1609
+ createFootnote?:
1610
+ CreateFootnoteResponse;
1216
1611
  /** The result of creating a header. */
1217
- createHeader?: CreateHeaderResponse;
1612
+ createHeader?:
1613
+ CreateHeaderResponse;
1218
1614
  /** The result of creating a named range. */
1219
- createNamedRange?: CreateNamedRangeResponse;
1615
+ createNamedRange?:
1616
+ CreateNamedRangeResponse;
1220
1617
  /** The result of inserting an inline image. */
1221
- insertInlineImage?: InsertInlineImageResponse;
1618
+ insertInlineImage?:
1619
+ InsertInlineImageResponse;
1222
1620
  /** The result of inserting an inline Google Sheets chart. */
1223
- insertInlineSheetsChart?: InsertInlineSheetsChartResponse;
1621
+ insertInlineSheetsChart?:
1622
+ InsertInlineSheetsChartResponse;
1224
1623
  /** The result of replacing text. */
1225
- replaceAllText?: ReplaceAllTextResponse;
1624
+ replaceAllText?:
1625
+ ReplaceAllTextResponse;
1226
1626
  }
1227
1627
  interface RgbColor {
1228
1628
  /** The blue component of the color, from 0.0 to 1.0. */
1229
- blue?: number;
1629
+ blue?:
1630
+ number;
1230
1631
  /** The green component of the color, from 0.0 to 1.0. */
1231
- green?: number;
1632
+ green?:
1633
+ number;
1232
1634
  /** The red component of the color, from 0.0 to 1.0. */
1233
- red?: number;
1635
+ red?:
1636
+ number;
1234
1637
  }
1235
1638
  interface RichLink {
1236
1639
  /** Output only. The ID of this link. */
1237
- richLinkId?: string;
1640
+ richLinkId?:
1641
+ string;
1238
1642
  /** Output only. The properties of this RichLink. This field is always present. */
1239
- richLinkProperties?: RichLinkProperties;
1643
+ richLinkProperties?:
1644
+ RichLinkProperties;
1240
1645
  /**
1241
1646
  * IDs for suggestions that remove this link from the document. A RichLink might have multiple deletion IDs if, for example, multiple users suggest deleting it. If empty, then this
1242
1647
  * person link isn't suggested for deletion.
1243
1648
  */
1244
- suggestedDeletionIds?: string[];
1649
+ suggestedDeletionIds?:
1650
+ string[];
1245
1651
  /**
1246
1652
  * IDs for suggestions that insert this link into the document. A RichLink might have multiple insertion IDs if it's a nested suggested change (a suggestion within a suggestion made by
1247
1653
  * a different user, for example). If empty, then this person link isn't a suggested insertion.
1248
1654
  */
1249
- suggestedInsertionIds?: string[];
1655
+ suggestedInsertionIds?:
1656
+ string[];
1250
1657
  /** The suggested text style changes to this RichLink, keyed by suggestion ID. */
1251
- suggestedTextStyleChanges?: { [P in string]: SuggestedTextStyle };
1658
+ suggestedTextStyleChanges?:
1659
+ { [P in string]: SuggestedTextStyle };
1252
1660
  /** The text style of this RichLink. */
1253
- textStyle?: TextStyle;
1661
+ textStyle?:
1662
+ TextStyle;
1254
1663
  }
1255
1664
  interface RichLinkProperties {
1256
1665
  /** Output only. The [MIME type](https://developers.google.com/drive/api/v3/mime-types) of the RichLink, if there's one (for example, when it's a file in Drive). */
1257
- mimeType?: string;
1666
+ mimeType?:
1667
+ string;
1258
1668
  /**
1259
1669
  * Output only. The title of the RichLink as displayed in the link. This title matches the title of the linked resource at the time of the insertion or last update of the link. This
1260
1670
  * field is always present.
1261
1671
  */
1262
- title?: string;
1672
+ title?:
1673
+ string;
1263
1674
  /** Output only. The URI to the RichLink. This is always present. */
1264
- uri?: string;
1675
+ uri?:
1676
+ string;
1265
1677
  }
1266
1678
  interface SectionBreak {
1267
1679
  /** The style of the section after this section break. */
1268
- sectionStyle?: SectionStyle;
1680
+ sectionStyle?:
1681
+ SectionStyle;
1269
1682
  /** The suggested deletion IDs. If empty, then there are no suggested deletions of this content. */
1270
- suggestedDeletionIds?: string[];
1683
+ suggestedDeletionIds?:
1684
+ string[];
1271
1685
  /** The suggested insertion IDs. A SectionBreak may have multiple insertion IDs if it's a nested suggested change. If empty, then this is not a suggested insertion. */
1272
- suggestedInsertionIds?: string[];
1686
+ suggestedInsertionIds?:
1687
+ string[];
1273
1688
  }
1274
1689
  interface SectionColumnProperties {
1275
1690
  /** The padding at the end of the column. */
1276
- paddingEnd?: Dimension;
1691
+ paddingEnd?:
1692
+ Dimension;
1277
1693
  /** Output only. The width of the column. */
1278
- width?: Dimension;
1694
+ width?:
1695
+ Dimension;
1279
1696
  }
1280
1697
  interface SectionStyle {
1281
1698
  /**
1282
1699
  * The section's columns properties. If empty, the section contains one column with the default properties in the Docs editor. A section can be updated to have no more than 3 columns.
1283
1700
  * When updating this property, setting a concrete value is required. Unsetting this property will result in a 400 bad request error.
1284
1701
  */
1285
- columnProperties?: SectionColumnProperties[];
1702
+ columnProperties?:
1703
+ SectionColumnProperties[];
1286
1704
  /**
1287
1705
  * The style of column separators. This style can be set even when there's one column in the section. When updating this property, setting a concrete value is required. Unsetting this
1288
1706
  * property results in a 400 bad request error.
1289
1707
  */
1290
- columnSeparatorStyle?: string;
1708
+ columnSeparatorStyle?:
1709
+ string;
1291
1710
  /**
1292
1711
  * The content direction of this section. If unset, the value defaults to LEFT_TO_RIGHT. When updating this property, setting a concrete value is required. Unsetting this property
1293
1712
  * results in a 400 bad request error.
1294
1713
  */
1295
- contentDirection?: string;
1714
+ contentDirection?:
1715
+ string;
1296
1716
  /**
1297
1717
  * The ID of the default footer. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from
1298
1718
  * DocumentStyle's default_footer_id. This property is read-only.
1299
1719
  */
1300
- defaultFooterId?: string;
1720
+ defaultFooterId?:
1721
+ string;
1301
1722
  /**
1302
1723
  * The ID of the default header. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from
1303
1724
  * DocumentStyle's default_header_id. This property is read-only.
1304
1725
  */
1305
- defaultHeaderId?: string;
1726
+ defaultHeaderId?:
1727
+ string;
1306
1728
  /**
1307
1729
  * The ID of the footer used only for even pages. If the value of DocumentStyle's use_even_page_header_footer is true, this value is used for the footers on even pages in the section.
1308
1730
  * If it is false, the footers on even pages use the default_footer_id. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first
1309
1731
  * SectionBreak, it inherits from DocumentStyle's even_page_footer_id. This property is read-only.
1310
1732
  */
1311
- evenPageFooterId?: string;
1733
+ evenPageFooterId?:
1734
+ string;
1312
1735
  /**
1313
1736
  * The ID of the header used only for even pages. If the value of DocumentStyle's use_even_page_header_footer is true, this value is used for the headers on even pages in the section.
1314
1737
  * If it is false, the headers on even pages use the default_header_id. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first
1315
1738
  * SectionBreak, it inherits from DocumentStyle's even_page_header_id. This property is read-only.
1316
1739
  */
1317
- evenPageHeaderId?: string;
1740
+ evenPageHeaderId?:
1741
+ string;
1318
1742
  /**
1319
1743
  * The ID of the footer used only for the first page of the section. If use_first_page_header_footer is true, this value is used for the footer on the first page of the section. If
1320
1744
  * it's false, the footer on the first page of the section uses the default_footer_id. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset
1321
1745
  * in the first SectionBreak, it inherits from DocumentStyle's first_page_footer_id. This property is read-only.
1322
1746
  */
1323
- firstPageFooterId?: string;
1747
+ firstPageFooterId?:
1748
+ string;
1324
1749
  /**
1325
1750
  * The ID of the header used only for the first page of the section. If use_first_page_header_footer is true, this value is used for the header on the first page of the section. If
1326
1751
  * it's false, the header on the first page of the section uses the default_header_id. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset
1327
1752
  * in the first SectionBreak, it inherits from DocumentStyle's first_page_header_id. This property is read-only.
1328
1753
  */
1329
- firstPageHeaderId?: string;
1754
+ firstPageHeaderId?:
1755
+ string;
1330
1756
  /**
1331
1757
  * The bottom page margin of the section. If unset, the value defaults to margin_bottom from DocumentStyle. When updating this property, setting a concrete value is required. Unsetting
1332
1758
  * this property results in a 400 bad request error.
1333
1759
  */
1334
- marginBottom?: Dimension;
1760
+ marginBottom?:
1761
+ Dimension;
1335
1762
  /**
1336
1763
  * The footer margin of the section. If unset, the value defaults to margin_footer from DocumentStyle. If updated, use_custom_header_footer_margins is set to true on DocumentStyle. The
1337
1764
  * value of use_custom_header_footer_margins on DocumentStyle indicates if a footer margin is being respected for this section When updating this property, setting a concrete value is
1338
1765
  * required. Unsetting this property results in a 400 bad request error.
1339
1766
  */
1340
- marginFooter?: Dimension;
1767
+ marginFooter?:
1768
+ Dimension;
1341
1769
  /**
1342
1770
  * The header margin of the section. If unset, the value defaults to margin_header from DocumentStyle. If updated, use_custom_header_footer_margins is set to true on DocumentStyle. The
1343
1771
  * value of use_custom_header_footer_margins on DocumentStyle indicates if a header margin is being respected for this section. When updating this property, setting a concrete value is
1344
1772
  * required. Unsetting this property results in a 400 bad request error.
1345
1773
  */
1346
- marginHeader?: Dimension;
1774
+ marginHeader?:
1775
+ Dimension;
1347
1776
  /**
1348
1777
  * The left page margin of the section. If unset, the value defaults to margin_left from DocumentStyle. Updating the left margin causes columns in this section to resize. Since the
1349
1778
  * margin affects column width, it's applied before column properties. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad
1350
1779
  * request error.
1351
1780
  */
1352
- marginLeft?: Dimension;
1781
+ marginLeft?:
1782
+ Dimension;
1353
1783
  /**
1354
1784
  * The right page margin of the section. If unset, the value defaults to margin_right from DocumentStyle. Updating the right margin causes columns in this section to resize. Since the
1355
1785
  * margin affects column width, it's applied before column properties. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad
1356
1786
  * request error.
1357
1787
  */
1358
- marginRight?: Dimension;
1788
+ marginRight?:
1789
+ Dimension;
1359
1790
  /**
1360
1791
  * The top page margin of the section. If unset, the value defaults to margin_top from DocumentStyle. When updating this property, setting a concrete value is required. Unsetting this
1361
1792
  * property results in a 400 bad request error.
1362
1793
  */
1363
- marginTop?: Dimension;
1794
+ marginTop?:
1795
+ Dimension;
1364
1796
  /**
1365
1797
  * The page number from which to start counting the number of pages for this section. If unset, page numbering continues from the previous section. If the value is unset in the first
1366
1798
  * SectionBreak, refer to DocumentStyle's page_number_start. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request
1367
1799
  * error.
1368
1800
  */
1369
- pageNumberStart?: number;
1801
+ pageNumberStart?:
1802
+ number;
1370
1803
  /** Output only. The type of section. */
1371
- sectionType?: string;
1804
+ sectionType?:
1805
+ string;
1372
1806
  /**
1373
1807
  * Indicates whether to use the first page header / footer IDs for the first page of the section. If unset, it inherits from DocumentStyle's use_first_page_header_footer for the first
1374
1808
  * section. If the value is unset for subsequent sectors, it should be interpreted as false. When updating this property, setting a concrete value is required. Unsetting this property
1375
1809
  * results in a 400 bad request error.
1376
1810
  */
1377
- useFirstPageHeaderFooter?: boolean;
1811
+ useFirstPageHeaderFooter?:
1812
+ boolean;
1378
1813
  }
1379
1814
  interface Shading {
1380
1815
  /** The background color of this paragraph shading. */
1381
- backgroundColor?: OptionalColor;
1816
+ backgroundColor?:
1817
+ OptionalColor;
1382
1818
  }
1383
1819
  interface ShadingSuggestionState {
1384
1820
  /** Indicates if there was a suggested change to the Shading. */
1385
- backgroundColorSuggested?: boolean;
1821
+ backgroundColorSuggested?:
1822
+ boolean;
1386
1823
  }
1387
1824
  interface SheetsChartReference {
1388
1825
  /** The ID of the specific chart in the Google Sheets spreadsheet that's embedded. */
1389
- chartId?: number;
1826
+ chartId?:
1827
+ number;
1390
1828
  /** The ID of the Google Sheets spreadsheet that contains the source chart. */
1391
- spreadsheetId?: string;
1829
+ spreadsheetId?:
1830
+ string;
1392
1831
  }
1393
1832
  interface SheetsChartReferenceSuggestionState {
1394
1833
  /** Indicates if there was a suggested change to chart_id. */
1395
- chartIdSuggested?: boolean;
1834
+ chartIdSuggested?:
1835
+ boolean;
1396
1836
  /** Indicates if there was a suggested change to spreadsheet_id. */
1397
- spreadsheetIdSuggested?: boolean;
1837
+ spreadsheetIdSuggested?:
1838
+ boolean;
1398
1839
  }
1399
1840
  interface Size {
1400
1841
  /** The height of the object. */
1401
- height?: Dimension;
1842
+ height?:
1843
+ Dimension;
1402
1844
  /** The width of the object. */
1403
- width?: Dimension;
1845
+ width?:
1846
+ Dimension;
1404
1847
  }
1405
1848
  interface SizeSuggestionState {
1406
1849
  /** Indicates if there was a suggested change to height. */
1407
- heightSuggested?: boolean;
1850
+ heightSuggested?:
1851
+ boolean;
1408
1852
  /** Indicates if there was a suggested change to width. */
1409
- widthSuggested?: boolean;
1853
+ widthSuggested?:
1854
+ boolean;
1410
1855
  }
1411
1856
  interface StructuralElement {
1412
1857
  /** The zero-based end index of this structural element, exclusive, in UTF-16 code units. */
1413
- endIndex?: number;
1858
+ endIndex?:
1859
+ number;
1414
1860
  /** A paragraph type of structural element. */
1415
- paragraph?: Paragraph;
1861
+ paragraph?:
1862
+ Paragraph;
1416
1863
  /** A section break type of structural element. */
1417
- sectionBreak?: SectionBreak;
1864
+ sectionBreak?:
1865
+ SectionBreak;
1418
1866
  /** The zero-based start index of this structural element, in UTF-16 code units. */
1419
- startIndex?: number;
1867
+ startIndex?:
1868
+ number;
1420
1869
  /** A table type of structural element. */
1421
- table?: Table;
1870
+ table?:
1871
+ Table;
1422
1872
  /** A table of contents type of structural element. */
1423
- tableOfContents?: TableOfContents;
1873
+ tableOfContents?:
1874
+ TableOfContents;
1424
1875
  }
1425
1876
  interface SubstringMatchCriteria {
1426
1877
  /** Indicates whether the search should respect case: - `True`: the search is case sensitive. - `False`: the search is case insensitive. */
1427
- matchCase?: boolean;
1878
+ matchCase?:
1879
+ boolean;
1428
1880
  /** The text to search for in the document. */
1429
- text?: string;
1881
+ text?:
1882
+ string;
1430
1883
  }
1431
1884
  interface SuggestedBullet {
1432
1885
  /** A Bullet that only includes the changes made in this suggestion. This can be used along with the bullet_suggestion_state to see which fields have changed and their new values. */
1433
- bullet?: Bullet;
1886
+ bullet?:
1887
+ Bullet;
1434
1888
  /** A mask that indicates which of the fields on the base Bullet have been changed in this suggestion. */
1435
- bulletSuggestionState?: BulletSuggestionState;
1889
+ bulletSuggestionState?:
1890
+ BulletSuggestionState;
1436
1891
  }
1437
1892
  interface SuggestedDocumentStyle {
1438
1893
  /**
1439
1894
  * A DocumentStyle that only includes the changes made in this suggestion. This can be used along with the document_style_suggestion_state to see which fields have changed and their
1440
1895
  * new values.
1441
1896
  */
1442
- documentStyle?: DocumentStyle;
1897
+ documentStyle?:
1898
+ DocumentStyle;
1443
1899
  /** A mask that indicates which of the fields on the base DocumentStyle have been changed in this suggestion. */
1444
- documentStyleSuggestionState?: DocumentStyleSuggestionState;
1900
+ documentStyleSuggestionState?:
1901
+ DocumentStyleSuggestionState;
1445
1902
  }
1446
1903
  interface SuggestedInlineObjectProperties {
1447
1904
  /**
1448
1905
  * An InlineObjectProperties that only includes the changes made in this suggestion. This can be used along with the inline_object_properties_suggestion_state to see which fields have
1449
1906
  * changed and their new values.
1450
1907
  */
1451
- inlineObjectProperties?: InlineObjectProperties;
1908
+ inlineObjectProperties?:
1909
+ InlineObjectProperties;
1452
1910
  /** A mask that indicates which of the fields on the base InlineObjectProperties have been changed in this suggestion. */
1453
- inlineObjectPropertiesSuggestionState?: InlineObjectPropertiesSuggestionState;
1911
+ inlineObjectPropertiesSuggestionState?:
1912
+ InlineObjectPropertiesSuggestionState;
1454
1913
  }
1455
1914
  interface SuggestedListProperties {
1456
1915
  /**
1457
1916
  * A ListProperties that only includes the changes made in this suggestion. This can be used along with the list_properties_suggestion_state to see which fields have changed and their
1458
1917
  * new values.
1459
1918
  */
1460
- listProperties?: ListProperties;
1919
+ listProperties?:
1920
+ ListProperties;
1461
1921
  /** A mask that indicates which of the fields on the base ListProperties have been changed in this suggestion. */
1462
- listPropertiesSuggestionState?: ListPropertiesSuggestionState;
1922
+ listPropertiesSuggestionState?:
1923
+ ListPropertiesSuggestionState;
1463
1924
  }
1464
1925
  interface SuggestedNamedStyles {
1465
1926
  /**
1466
1927
  * A NamedStyles that only includes the changes made in this suggestion. This can be used along with the named_styles_suggestion_state to see which fields have changed and their new
1467
1928
  * values.
1468
1929
  */
1469
- namedStyles?: NamedStyles;
1930
+ namedStyles?:
1931
+ NamedStyles;
1470
1932
  /** A mask that indicates which of the fields on the base NamedStyles have been changed in this suggestion. */
1471
- namedStylesSuggestionState?: NamedStylesSuggestionState;
1933
+ namedStylesSuggestionState?:
1934
+ NamedStylesSuggestionState;
1472
1935
  }
1473
1936
  interface SuggestedParagraphStyle {
1474
1937
  /**
1475
1938
  * A ParagraphStyle that only includes the changes made in this suggestion. This can be used along with the paragraph_style_suggestion_state to see which fields have changed and their
1476
1939
  * new values.
1477
1940
  */
1478
- paragraphStyle?: ParagraphStyle;
1941
+ paragraphStyle?:
1942
+ ParagraphStyle;
1479
1943
  /** A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. */
1480
- paragraphStyleSuggestionState?: ParagraphStyleSuggestionState;
1944
+ paragraphStyleSuggestionState?:
1945
+ ParagraphStyleSuggestionState;
1481
1946
  }
1482
1947
  interface SuggestedPositionedObjectProperties {
1483
1948
  /**
1484
1949
  * A PositionedObjectProperties that only includes the changes made in this suggestion. This can be used along with the positioned_object_properties_suggestion_state to see which
1485
1950
  * fields have changed and their new values.
1486
1951
  */
1487
- positionedObjectProperties?: PositionedObjectProperties;
1952
+ positionedObjectProperties?:
1953
+ PositionedObjectProperties;
1488
1954
  /** A mask that indicates which of the fields on the base PositionedObjectProperties have been changed in this suggestion. */
1489
- positionedObjectPropertiesSuggestionState?: PositionedObjectPropertiesSuggestionState;
1955
+ positionedObjectPropertiesSuggestionState?:
1956
+ PositionedObjectPropertiesSuggestionState;
1490
1957
  }
1491
1958
  interface SuggestedTableCellStyle {
1492
1959
  /**
1493
1960
  * A TableCellStyle that only includes the changes made in this suggestion. This can be used along with the table_cell_style_suggestion_state to see which fields have changed and their
1494
1961
  * new values.
1495
1962
  */
1496
- tableCellStyle?: TableCellStyle;
1963
+ tableCellStyle?:
1964
+ TableCellStyle;
1497
1965
  /** A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. */
1498
- tableCellStyleSuggestionState?: TableCellStyleSuggestionState;
1966
+ tableCellStyleSuggestionState?:
1967
+ TableCellStyleSuggestionState;
1499
1968
  }
1500
1969
  interface SuggestedTableRowStyle {
1501
1970
  /**
1502
1971
  * A TableRowStyle that only includes the changes made in this suggestion. This can be used along with the table_row_style_suggestion_state to see which fields have changed and their
1503
1972
  * new values.
1504
1973
  */
1505
- tableRowStyle?: TableRowStyle;
1974
+ tableRowStyle?:
1975
+ TableRowStyle;
1506
1976
  /** A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. */
1507
- tableRowStyleSuggestionState?: TableRowStyleSuggestionState;
1977
+ tableRowStyleSuggestionState?:
1978
+ TableRowStyleSuggestionState;
1508
1979
  }
1509
1980
  interface SuggestedTextStyle {
1510
1981
  /**
1511
1982
  * A TextStyle that only includes the changes made in this suggestion. This can be used along with the text_style_suggestion_state to see which fields have changed and their new
1512
1983
  * values.
1513
1984
  */
1514
- textStyle?: TextStyle;
1985
+ textStyle?:
1986
+ TextStyle;
1515
1987
  /** A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. */
1516
- textStyleSuggestionState?: TextStyleSuggestionState;
1988
+ textStyleSuggestionState?:
1989
+ TextStyleSuggestionState;
1517
1990
  }
1518
1991
  interface Table {
1519
1992
  /** Number of columns in the table. It's possible for a table to be non-rectangular, so some rows may have a different number of cells. */
1520
- columns?: number;
1993
+ columns?:
1994
+ number;
1521
1995
  /** Number of rows in the table. */
1522
- rows?: number;
1996
+ rows?:
1997
+ number;
1523
1998
  /** The suggested deletion IDs. If empty, then there are no suggested deletions of this content. */
1524
- suggestedDeletionIds?: string[];
1999
+ suggestedDeletionIds?:
2000
+ string[];
1525
2001
  /** The suggested insertion IDs. A Table may have multiple insertion IDs if it's a nested suggested change. If empty, then this is not a suggested insertion. */
1526
- suggestedInsertionIds?: string[];
2002
+ suggestedInsertionIds?:
2003
+ string[];
1527
2004
  /** The contents and style of each row. */
1528
- tableRows?: TableRow[];
2005
+ tableRows?:
2006
+ TableRow[];
1529
2007
  /** The style of the table. */
1530
- tableStyle?: TableStyle;
2008
+ tableStyle?:
2009
+ TableStyle;
1531
2010
  }
1532
2011
  interface TableCell {
1533
2012
  /** The content of the cell. */
1534
- content?: StructuralElement[];
2013
+ content?:
2014
+ StructuralElement[];
1535
2015
  /** The zero-based end index of this cell, exclusive, in UTF-16 code units. */
1536
- endIndex?: number;
2016
+ endIndex?:
2017
+ number;
1537
2018
  /** The zero-based start index of this cell, in UTF-16 code units. */
1538
- startIndex?: number;
2019
+ startIndex?:
2020
+ number;
1539
2021
  /** The suggested deletion IDs. If empty, then there are no suggested deletions of this content. */
1540
- suggestedDeletionIds?: string[];
2022
+ suggestedDeletionIds?:
2023
+ string[];
1541
2024
  /** The suggested insertion IDs. A TableCell may have multiple insertion IDs if it's a nested suggested change. If empty, then this is not a suggested insertion. */
1542
- suggestedInsertionIds?: string[];
2025
+ suggestedInsertionIds?:
2026
+ string[];
1543
2027
  /** The suggested changes to the table cell style, keyed by suggestion ID. */
1544
- suggestedTableCellStyleChanges?: { [P in string]: SuggestedTableCellStyle };
2028
+ suggestedTableCellStyleChanges?:
2029
+ { [P in string]: SuggestedTableCellStyle };
1545
2030
  /** The style of the cell. */
1546
- tableCellStyle?: TableCellStyle;
2031
+ tableCellStyle?:
2032
+ TableCellStyle;
1547
2033
  }
1548
2034
  interface TableCellBorder {
1549
2035
  /** The color of the border. This color cannot be transparent. */
1550
- color?: OptionalColor;
2036
+ color?:
2037
+ OptionalColor;
1551
2038
  /** The dash style of the border. */
1552
- dashStyle?: string;
2039
+ dashStyle?:
2040
+ string;
1553
2041
  /** The width of the border. */
1554
- width?: Dimension;
2042
+ width?:
2043
+ Dimension;
1555
2044
  }
1556
2045
  interface TableCellLocation {
1557
2046
  /** The zero-based column index. For example, the second column in the table has a column index of 1. */
1558
- columnIndex?: number;
2047
+ columnIndex?:
2048
+ number;
1559
2049
  /** The zero-based row index. For example, the second row in the table has a row index of 1. */
1560
- rowIndex?: number;
2050
+ rowIndex?:
2051
+ number;
1561
2052
  /** The location where the table starts in the document. */
1562
- tableStartLocation?: Location;
2053
+ tableStartLocation?:
2054
+ Location;
1563
2055
  }
1564
2056
  interface TableCellStyle {
1565
2057
  /** The background color of the cell. */
1566
- backgroundColor?: OptionalColor;
2058
+ backgroundColor?:
2059
+ OptionalColor;
1567
2060
  /** The bottom border of the cell. */
1568
- borderBottom?: TableCellBorder;
2061
+ borderBottom?:
2062
+ TableCellBorder;
1569
2063
  /** The left border of the cell. */
1570
- borderLeft?: TableCellBorder;
2064
+ borderLeft?:
2065
+ TableCellBorder;
1571
2066
  /** The right border of the cell. */
1572
- borderRight?: TableCellBorder;
2067
+ borderRight?:
2068
+ TableCellBorder;
1573
2069
  /** The top border of the cell. */
1574
- borderTop?: TableCellBorder;
2070
+ borderTop?:
2071
+ TableCellBorder;
1575
2072
  /** The column span of the cell. This property is read-only. */
1576
- columnSpan?: number;
2073
+ columnSpan?:
2074
+ number;
1577
2075
  /** The alignment of the content in the table cell. The default alignment matches the alignment for newly created table cells in the Docs editor. */
1578
- contentAlignment?: string;
2076
+ contentAlignment?:
2077
+ string;
1579
2078
  /** The bottom padding of the cell. */
1580
- paddingBottom?: Dimension;
2079
+ paddingBottom?:
2080
+ Dimension;
1581
2081
  /** The left padding of the cell. */
1582
- paddingLeft?: Dimension;
2082
+ paddingLeft?:
2083
+ Dimension;
1583
2084
  /** The right padding of the cell. */
1584
- paddingRight?: Dimension;
2085
+ paddingRight?:
2086
+ Dimension;
1585
2087
  /** The top padding of the cell. */
1586
- paddingTop?: Dimension;
2088
+ paddingTop?:
2089
+ Dimension;
1587
2090
  /** The row span of the cell. This property is read-only. */
1588
- rowSpan?: number;
2091
+ rowSpan?:
2092
+ number;
1589
2093
  }
1590
2094
  interface TableCellStyleSuggestionState {
1591
2095
  /** Indicates if there was a suggested change to background_color. */
1592
- backgroundColorSuggested?: boolean;
2096
+ backgroundColorSuggested?:
2097
+ boolean;
1593
2098
  /** Indicates if there was a suggested change to border_bottom. */
1594
- borderBottomSuggested?: boolean;
2099
+ borderBottomSuggested?:
2100
+ boolean;
1595
2101
  /** Indicates if there was a suggested change to border_left. */
1596
- borderLeftSuggested?: boolean;
2102
+ borderLeftSuggested?:
2103
+ boolean;
1597
2104
  /** Indicates if there was a suggested change to border_right. */
1598
- borderRightSuggested?: boolean;
2105
+ borderRightSuggested?:
2106
+ boolean;
1599
2107
  /** Indicates if there was a suggested change to border_top. */
1600
- borderTopSuggested?: boolean;
2108
+ borderTopSuggested?:
2109
+ boolean;
1601
2110
  /** Indicates if there was a suggested change to column_span. */
1602
- columnSpanSuggested?: boolean;
2111
+ columnSpanSuggested?:
2112
+ boolean;
1603
2113
  /** Indicates if there was a suggested change to content_alignment. */
1604
- contentAlignmentSuggested?: boolean;
2114
+ contentAlignmentSuggested?:
2115
+ boolean;
1605
2116
  /** Indicates if there was a suggested change to padding_bottom. */
1606
- paddingBottomSuggested?: boolean;
2117
+ paddingBottomSuggested?:
2118
+ boolean;
1607
2119
  /** Indicates if there was a suggested change to padding_left. */
1608
- paddingLeftSuggested?: boolean;
2120
+ paddingLeftSuggested?:
2121
+ boolean;
1609
2122
  /** Indicates if there was a suggested change to padding_right. */
1610
- paddingRightSuggested?: boolean;
2123
+ paddingRightSuggested?:
2124
+ boolean;
1611
2125
  /** Indicates if there was a suggested change to padding_top. */
1612
- paddingTopSuggested?: boolean;
2126
+ paddingTopSuggested?:
2127
+ boolean;
1613
2128
  /** Indicates if there was a suggested change to row_span. */
1614
- rowSpanSuggested?: boolean;
2129
+ rowSpanSuggested?:
2130
+ boolean;
1615
2131
  }
1616
2132
  interface TableColumnProperties {
1617
2133
  /** The width of the column. Set when the column's `width_type` is FIXED_WIDTH. */
1618
- width?: Dimension;
2134
+ width?:
2135
+ Dimension;
1619
2136
  /** The width type of the column. */
1620
- widthType?: string;
2137
+ widthType?:
2138
+ string;
1621
2139
  }
1622
2140
  interface TableOfContents {
1623
2141
  /** The content of the table of contents. */
1624
- content?: StructuralElement[];
2142
+ content?:
2143
+ StructuralElement[];
1625
2144
  /** The suggested deletion IDs. If empty, then there are no suggested deletions of this content. */
1626
- suggestedDeletionIds?: string[];
2145
+ suggestedDeletionIds?:
2146
+ string[];
1627
2147
  /** The suggested insertion IDs. A TableOfContents may have multiple insertion IDs if it is a nested suggested change. If empty, then this is not a suggested insertion. */
1628
- suggestedInsertionIds?: string[];
2148
+ suggestedInsertionIds?:
2149
+ string[];
1629
2150
  }
1630
2151
  interface TableRange {
1631
2152
  /** The column span of the table range. */
1632
- columnSpan?: number;
2153
+ columnSpan?:
2154
+ number;
1633
2155
  /** The row span of the table range. */
1634
- rowSpan?: number;
2156
+ rowSpan?:
2157
+ number;
1635
2158
  /** The cell location where the table range starts. */
1636
- tableCellLocation?: TableCellLocation;
2159
+ tableCellLocation?:
2160
+ TableCellLocation;
1637
2161
  }
1638
2162
  interface TableRow {
1639
2163
  /** The zero-based end index of this row, exclusive, in UTF-16 code units. */
1640
- endIndex?: number;
2164
+ endIndex?:
2165
+ number;
1641
2166
  /** The zero-based start index of this row, in UTF-16 code units. */
1642
- startIndex?: number;
2167
+ startIndex?:
2168
+ number;
1643
2169
  /** The suggested deletion IDs. If empty, then there are no suggested deletions of this content. */
1644
- suggestedDeletionIds?: string[];
2170
+ suggestedDeletionIds?:
2171
+ string[];
1645
2172
  /** The suggested insertion IDs. A TableRow may have multiple insertion IDs if it's a nested suggested change. If empty, then this is not a suggested insertion. */
1646
- suggestedInsertionIds?: string[];
2173
+ suggestedInsertionIds?:
2174
+ string[];
1647
2175
  /** The suggested style changes to this row, keyed by suggestion ID. */
1648
- suggestedTableRowStyleChanges?: { [P in string]: SuggestedTableRowStyle };
2176
+ suggestedTableRowStyleChanges?:
2177
+ { [P in string]: SuggestedTableRowStyle };
1649
2178
  /**
1650
2179
  * The contents and style of each cell in this row. It's possible for a table to be non-rectangular, so some rows may have a different number of cells than other rows in the same
1651
2180
  * table.
1652
2181
  */
1653
- tableCells?: TableCell[];
2182
+ tableCells?:
2183
+ TableCell[];
1654
2184
  /** The style of the table row. */
1655
- tableRowStyle?: TableRowStyle;
2185
+ tableRowStyle?:
2186
+ TableRowStyle;
1656
2187
  }
1657
2188
  interface TableRowStyle {
1658
2189
  /** The minimum height of the row. The row will be rendered in the Docs editor at a height equal to or greater than this value in order to show all the content in the row's cells. */
1659
- minRowHeight?: Dimension;
2190
+ minRowHeight?:
2191
+ Dimension;
1660
2192
  /** Whether the row cannot overflow across page or column boundaries. */
1661
- preventOverflow?: boolean;
2193
+ preventOverflow?:
2194
+ boolean;
1662
2195
  /** Whether the row is a table header. */
1663
- tableHeader?: boolean;
2196
+ tableHeader?:
2197
+ boolean;
1664
2198
  }
1665
2199
  interface TableRowStyleSuggestionState {
1666
2200
  /** Indicates if there was a suggested change to min_row_height. */
1667
- minRowHeightSuggested?: boolean;
2201
+ minRowHeightSuggested?:
2202
+ boolean;
1668
2203
  }
1669
2204
  interface TableStyle {
1670
2205
  /** The properties of each column. Note that in Docs, tables contain rows and rows contain cells, similar to HTML. So the properties for a row can be found on the row's table_row_style. */
1671
- tableColumnProperties?: TableColumnProperties[];
2206
+ tableColumnProperties?:
2207
+ TableColumnProperties[];
1672
2208
  }
1673
2209
  interface TabStop {
1674
2210
  /** The alignment of this tab stop. If unset, the value defaults to START. */
1675
- alignment?: string;
2211
+ alignment?:
2212
+ string;
1676
2213
  /** The offset between this tab stop and the start margin. */
1677
- offset?: Dimension;
2214
+ offset?:
2215
+ Dimension;
1678
2216
  }
1679
2217
  interface TextRun {
1680
2218
  /** The text of this run. Any non-text elements in the run are replaced with the Unicode character U+E907. */
1681
- content?: string;
2219
+ content?:
2220
+ string;
1682
2221
  /** The suggested deletion IDs. If empty, then there are no suggested deletions of this content. */
1683
- suggestedDeletionIds?: string[];
2222
+ suggestedDeletionIds?:
2223
+ string[];
1684
2224
  /** The suggested insertion IDs. A TextRun may have multiple insertion IDs if it's a nested suggested change. If empty, then this is not a suggested insertion. */
1685
- suggestedInsertionIds?: string[];
2225
+ suggestedInsertionIds?:
2226
+ string[];
1686
2227
  /** The suggested text style changes to this run, keyed by suggestion ID. */
1687
- suggestedTextStyleChanges?: { [P in string]: SuggestedTextStyle };
2228
+ suggestedTextStyleChanges?:
2229
+ { [P in string]: SuggestedTextStyle };
1688
2230
  /** The text style of this run. */
1689
- textStyle?: TextStyle;
2231
+ textStyle?:
2232
+ TextStyle;
1690
2233
  }
1691
2234
  interface TextStyle {
1692
2235
  /** The background color of the text. If set, the color is either an RGB color or transparent, depending on the `color` field. */
1693
- backgroundColor?: OptionalColor;
2236
+ backgroundColor?:
2237
+ OptionalColor;
1694
2238
  /**
1695
2239
  * The text's vertical offset from its normal position. Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically rendered in a smaller font size, computed based on the
1696
2240
  * `font_size` field. Changes in this field don't affect the `font_size`.
1697
2241
  */
1698
- baselineOffset?: string;
2242
+ baselineOffset?:
2243
+ string;
1699
2244
  /** Whether or not the text is rendered as bold. */
1700
- bold?: boolean;
2245
+ bold?:
2246
+ boolean;
1701
2247
  /** The size of the text's font. */
1702
- fontSize?: Dimension;
2248
+ fontSize?:
2249
+ Dimension;
1703
2250
  /** The foreground color of the text. If set, the color is either an RGB color or transparent, depending on the `color` field. */
1704
- foregroundColor?: OptionalColor;
2251
+ foregroundColor?:
2252
+ OptionalColor;
1705
2253
  /** Whether or not the text is italicized. */
1706
- italic?: boolean;
2254
+ italic?:
2255
+ boolean;
1707
2256
  /**
1708
2257
  * The hyperlink destination of the text. If unset, there's no link. Links are not inherited from parent text. Changing the link in an update request causes some other changes to the
1709
2258
  * text style of the range: * When setting a link, the text foreground color will be updated to the default link color and the text will be underlined. If these fields are modified in
@@ -1713,43 +2262,59 @@ declare namespace gapi.client {
1713
2262
  * style of the range to match the style of the preceding text (or the default text styles if the preceding text is another link) unless different styles are being set in the same
1714
2263
  * request.
1715
2264
  */
1716
- link?: Link;
2265
+ link?:
2266
+ Link;
1717
2267
  /** Whether or not the text is in small capital letters. */
1718
- smallCaps?: boolean;
2268
+ smallCaps?:
2269
+ boolean;
1719
2270
  /** Whether or not the text is struck through. */
1720
- strikethrough?: boolean;
2271
+ strikethrough?:
2272
+ boolean;
1721
2273
  /** Whether or not the text is underlined. */
1722
- underline?: boolean;
2274
+ underline?:
2275
+ boolean;
1723
2276
  /**
1724
2277
  * The font family and rendered weight of the text. If an update request specifies values for both `weighted_font_family` and `bold`, the `weighted_font_family` is applied first, then
1725
2278
  * `bold`. If `weighted_font_family#weight` is not set, it defaults to `400`. If `weighted_font_family` is set, then `weighted_font_family#font_family` must also be set with a
1726
2279
  * non-empty value. Otherwise, a 400 bad request error is returned.
1727
2280
  */
1728
- weightedFontFamily?: WeightedFontFamily;
2281
+ weightedFontFamily?:
2282
+ WeightedFontFamily;
1729
2283
  }
1730
2284
  interface TextStyleSuggestionState {
1731
2285
  /** Indicates if there was a suggested change to background_color. */
1732
- backgroundColorSuggested?: boolean;
2286
+ backgroundColorSuggested?:
2287
+ boolean;
1733
2288
  /** Indicates if there was a suggested change to baseline_offset. */
1734
- baselineOffsetSuggested?: boolean;
2289
+ baselineOffsetSuggested?:
2290
+ boolean;
1735
2291
  /** Indicates if there was a suggested change to bold. */
1736
- boldSuggested?: boolean;
2292
+ boldSuggested?:
2293
+ boolean;
1737
2294
  /** Indicates if there was a suggested change to font_size. */
1738
- fontSizeSuggested?: boolean;
2295
+ fontSizeSuggested?:
2296
+ boolean;
1739
2297
  /** Indicates if there was a suggested change to foreground_color. */
1740
- foregroundColorSuggested?: boolean;
2298
+ foregroundColorSuggested?:
2299
+ boolean;
1741
2300
  /** Indicates if there was a suggested change to italic. */
1742
- italicSuggested?: boolean;
2301
+ italicSuggested?:
2302
+ boolean;
1743
2303
  /** Indicates if there was a suggested change to link. */
1744
- linkSuggested?: boolean;
2304
+ linkSuggested?:
2305
+ boolean;
1745
2306
  /** Indicates if there was a suggested change to small_caps. */
1746
- smallCapsSuggested?: boolean;
2307
+ smallCapsSuggested?:
2308
+ boolean;
1747
2309
  /** Indicates if there was a suggested change to strikethrough. */
1748
- strikethroughSuggested?: boolean;
2310
+ strikethroughSuggested?:
2311
+ boolean;
1749
2312
  /** Indicates if there was a suggested change to underline. */
1750
- underlineSuggested?: boolean;
2313
+ underlineSuggested?:
2314
+ boolean;
1751
2315
  /** Indicates if there was a suggested change to weighted_font_family. */
1752
- weightedFontFamilySuggested?: boolean;
2316
+ weightedFontFamilySuggested?:
2317
+ boolean;
1753
2318
  }
1754
2319
  interface UnmergeTableCellsRequest {
1755
2320
  /**
@@ -1757,19 +2322,22 @@ declare namespace gapi.client {
1757
2322
  * range has no merged cells, the request will do nothing. If there is text in any of the merged cells, the text will remain in the "head" cell of the resulting block of unmerged
1758
2323
  * cells. The "head" cell is the upper-left cell when the content direction is from left to right, and the upper-right otherwise.
1759
2324
  */
1760
- tableRange?: TableRange;
2325
+ tableRange?:
2326
+ TableRange;
1761
2327
  }
1762
2328
  interface UpdateDocumentStyleRequest {
1763
2329
  /**
1764
2330
  * The styles to set on the document. Certain document style changes may cause other changes in order to mirror the behavior of the Docs editor. See the documentation of DocumentStyle
1765
2331
  * for more information.
1766
2332
  */
1767
- documentStyle?: DocumentStyle;
2333
+ documentStyle?:
2334
+ DocumentStyle;
1768
2335
  /**
1769
2336
  * The fields that should be updated. At least one field must be specified. The root `document_style` is implied and should not be specified. A single `"*"` can be used as short-hand
1770
2337
  * for listing every field. For example to update the background, set `fields` to `"background"`.
1771
2338
  */
1772
- fields?: string;
2339
+ fields?:
2340
+ string;
1773
2341
  }
1774
2342
  interface UpdateParagraphStyleRequest {
1775
2343
  /**
@@ -1777,28 +2345,34 @@ declare namespace gapi.client {
1777
2345
  * for listing every field. For example, to update the paragraph style's alignment property, set `fields` to `"alignment"`. To reset a property to its default value, include its field
1778
2346
  * name in the field mask but leave the field itself unset.
1779
2347
  */
1780
- fields?: string;
2348
+ fields?:
2349
+ string;
1781
2350
  /**
1782
2351
  * The styles to set on the paragraphs. Certain paragraph style changes may cause other changes in order to mirror the behavior of the Docs editor. See the documentation of
1783
2352
  * ParagraphStyle for more information.
1784
2353
  */
1785
- paragraphStyle?: ParagraphStyle;
2354
+ paragraphStyle?:
2355
+ ParagraphStyle;
1786
2356
  /** The range overlapping the paragraphs to style. */
1787
- range?: Range;
2357
+ range?:
2358
+ Range;
1788
2359
  }
1789
2360
  interface UpdateSectionStyleRequest {
1790
2361
  /**
1791
2362
  * The fields that should be updated. At least one field must be specified. The root `section_style` is implied and must not be specified. A single `"*"` can be used as short-hand for
1792
2363
  * listing every field. For example to update the left margin, set `fields` to `"margin_left"`.
1793
2364
  */
1794
- fields?: string;
2365
+ fields?:
2366
+ string;
1795
2367
  /** The range overlapping the sections to style. Because section breaks can only be inserted inside the body, the segment ID field must be empty. */
1796
- range?: Range;
2368
+ range?:
2369
+ Range;
1797
2370
  /**
1798
2371
  * The styles to be set on the section. Certain section style changes may cause other changes in order to mirror the behavior of the Docs editor. See the documentation of SectionStyle
1799
2372
  * for more information.
1800
2373
  */
1801
- sectionStyle?: SectionStyle;
2374
+ sectionStyle?:
2375
+ SectionStyle;
1802
2376
  }
1803
2377
  interface UpdateTableCellStyleRequest {
1804
2378
  /**
@@ -1806,43 +2380,55 @@ declare namespace gapi.client {
1806
2380
  * for listing every field. For example to update the table cell background color, set `fields` to `"backgroundColor"`. To reset a property to its default value, include its field name
1807
2381
  * in the field mask but leave the field itself unset.
1808
2382
  */
1809
- fields?: string;
2383
+ fields?:
2384
+ string;
1810
2385
  /**
1811
2386
  * The style to set on the table cells. When updating borders, if a cell shares a border with an adjacent cell, the corresponding border property of the adjacent cell is updated as
1812
2387
  * well. Borders that are merged and invisible are not updated. Since updating a border shared by adjacent cells in the same request can cause conflicting border updates, border
1813
2388
  * updates are applied in the following order: - `border_right` - `border_left` - `border_bottom` - `border_top`
1814
2389
  */
1815
- tableCellStyle?: TableCellStyle;
2390
+ tableCellStyle?:
2391
+ TableCellStyle;
1816
2392
  /** The table range representing the subset of the table to which the updates are applied. */
1817
- tableRange?: TableRange;
2393
+ tableRange?:
2394
+ TableRange;
1818
2395
  /** The location where the table starts in the document. When specified, the updates are applied to all the cells in the table. */
1819
- tableStartLocation?: Location;
2396
+ tableStartLocation?:
2397
+ Location;
1820
2398
  }
1821
2399
  interface UpdateTableColumnPropertiesRequest {
1822
2400
  /** The list of zero-based column indices whose property should be updated. If no indices are specified, all columns will be updated. */
1823
- columnIndices?: number[];
2401
+ columnIndices?:
2402
+ number[];
1824
2403
  /**
1825
2404
  * The fields that should be updated. At least one field must be specified. The root `tableColumnProperties` is implied and should not be specified. A single `"*"` can be used as
1826
2405
  * short-hand for listing every field. For example to update the column width, set `fields` to `"width"`.
1827
2406
  */
1828
- fields?: string;
2407
+ fields?:
2408
+ string;
1829
2409
  /** The table column properties to update. If the value of `table_column_properties#width` is less than 5 points (5/72 inch), a 400 bad request error is returned. */
1830
- tableColumnProperties?: TableColumnProperties;
2410
+ tableColumnProperties?:
2411
+ TableColumnProperties;
1831
2412
  /** The location where the table starts in the document. */
1832
- tableStartLocation?: Location;
2413
+ tableStartLocation?:
2414
+ Location;
1833
2415
  }
1834
2416
  interface UpdateTableRowStyleRequest {
1835
2417
  /**
1836
2418
  * The fields that should be updated. At least one field must be specified. The root `tableRowStyle` is implied and should not be specified. A single `"*"` can be used as short-hand
1837
2419
  * for listing every field. For example to update the minimum row height, set `fields` to `"min_row_height"`.
1838
2420
  */
1839
- fields?: string;
2421
+ fields?:
2422
+ string;
1840
2423
  /** The list of zero-based row indices whose style should be updated. If no indices are specified, all rows will be updated. */
1841
- rowIndices?: number[];
2424
+ rowIndices?:
2425
+ number[];
1842
2426
  /** The styles to be set on the rows. */
1843
- tableRowStyle?: TableRowStyle;
2427
+ tableRowStyle?:
2428
+ TableRowStyle;
1844
2429
  /** The location where the table starts in the document. */
1845
- tableStartLocation?: Location;
2430
+ tableStartLocation?:
2431
+ Location;
1846
2432
  }
1847
2433
  interface UpdateTextStyleRequest {
1848
2434
  /**
@@ -1850,24 +2436,28 @@ declare namespace gapi.client {
1850
2436
  * listing every field. For example, to update the text style to bold, set `fields` to `"bold"`. To reset a property to its default value, include its field name in the field mask but
1851
2437
  * leave the field itself unset.
1852
2438
  */
1853
- fields?: string;
2439
+ fields?:
2440
+ string;
1854
2441
  /**
1855
2442
  * The range of text to style. The range may be extended to include adjacent newlines. If the range fully contains a paragraph belonging to a list, the paragraph's bullet is also
1856
2443
  * updated with the matching text style. Ranges cannot be inserted inside a relative UpdateTextStyleRequest.
1857
2444
  */
1858
- range?: Range;
2445
+ range?:
2446
+ Range;
1859
2447
  /**
1860
2448
  * The styles to set on the text. If the value for a particular style matches that of the parent, that style will be set to inherit. Certain text style changes may cause other changes
1861
2449
  * in order to to mirror the behavior of the Docs editor. See the documentation of TextStyle for more information.
1862
2450
  */
1863
- textStyle?: TextStyle;
2451
+ textStyle?:
2452
+ TextStyle;
1864
2453
  }
1865
2454
  interface WeightedFontFamily {
1866
2455
  /**
1867
2456
  * The font family of the text. The font family can be any font from the Font menu in Docs or from [Google Fonts] (https://fonts.google.com/). If the font name is unrecognized, the
1868
2457
  * text is rendered in `Arial`.
1869
2458
  */
1870
- fontFamily?: string;
2459
+ fontFamily?:
2460
+ string;
1871
2461
  /**
1872
2462
  * The weight of the font. This field can have any value that's a multiple of `100` between `100` and `900`, inclusive. This range corresponds to the numerical values described in the
1873
2463
  * CSS 2.1 Specification, [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with non-numerical values disallowed. The default value is `400` ("normal"). The font
@@ -1876,14 +2466,16 @@ declare namespace gapi.client {
1876
2466
  * `400` but is less than `700`, the rendered weight is `700`. * If the weight is greater than or equal to `700`, the rendered weight is equal to the weight. * If the text is not bold,
1877
2467
  * the rendered weight is equal to the weight.
1878
2468
  */
1879
- weight?: number;
2469
+ weight?:
2470
+ number;
1880
2471
  }
1881
2472
  interface WriteControl {
1882
2473
  /**
1883
2474
  * The optional revision ID of the document the write request is applied to. If this is not the latest revision of the document, the request is not processed and returns a 400 bad
1884
2475
  * request error. When a required revision ID is returned in a response, it indicates the revision ID of the document after the request was applied.
1885
2476
  */
1886
- requiredRevisionId?: string;
2477
+ requiredRevisionId?:
2478
+ string;
1887
2479
  /**
1888
2480
  * The optional target revision ID of the document the write request is applied to. If collaborator changes have occurred after the document was read using the API, the changes
1889
2481
  * produced by this write request are applied against the collaborator changes. This results in a new revision of the document that incorporates both the collaborator changes and the
@@ -1892,7 +2484,8 @@ declare namespace gapi.client {
1892
2484
  * returns a 400 bad request error. The request should be tried again after retrieving the latest version of the document. Usually a revision ID remains valid for use as a target
1893
2485
  * revision for several minutes after it's read, but for frequently edited documents this window might be shorter.
1894
2486
  */
1895
- targetRevisionId?: string;
2487
+ targetRevisionId?:
2488
+ string;
1896
2489
  }
1897
2490
  interface DocumentsResource {
1898
2491
  /**
@@ -1905,142 +2498,203 @@ declare namespace gapi.client {
1905
2498
  */
1906
2499
  batchUpdate(request: {
1907
2500
  /** V1 error format. */
1908
- "$.xgafv"?: string;
2501
+ "$.xgafv"?:
2502
+ string;
1909
2503
  /** OAuth access token. */
1910
- access_token?: string;
2504
+ access_token?:
2505
+ string;
1911
2506
  /** Data format for response. */
1912
- alt?: string;
2507
+ alt?:
2508
+ string;
1913
2509
  /** JSONP */
1914
- callback?: string;
2510
+ callback?:
2511
+ string;
1915
2512
  /** The ID of the document to update. */
1916
- documentId: string;
2513
+ documentId:
2514
+ string;
1917
2515
  /** Selector specifying which fields to include in a partial response. */
1918
- fields?: string;
2516
+ fields?:
2517
+ string;
1919
2518
  /** 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. */
1920
- key?: string;
2519
+ key?:
2520
+ string;
1921
2521
  /** OAuth 2.0 token for the current user. */
1922
- oauth_token?: string;
2522
+ oauth_token?:
2523
+ string;
1923
2524
  /** Returns response with indentations and line breaks. */
1924
- prettyPrint?: boolean;
2525
+ prettyPrint?:
2526
+ boolean;
1925
2527
  /** 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. */
1926
- quotaUser?: string;
2528
+ quotaUser?:
2529
+ string;
1927
2530
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1928
- upload_protocol?: string;
2531
+ upload_protocol?:
2532
+ string;
1929
2533
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1930
- uploadType?: string;
2534
+ uploadType?:
2535
+ string;
1931
2536
  /** Request body */
1932
- resource: BatchUpdateDocumentRequest;
2537
+ resource:
2538
+ BatchUpdateDocumentRequest;
1933
2539
  }): client.Request<BatchUpdateDocumentResponse>;
1934
2540
  batchUpdate(request: {
1935
2541
  /** V1 error format. */
1936
- "$.xgafv"?: string;
2542
+ "$.xgafv"?:
2543
+ string;
1937
2544
  /** OAuth access token. */
1938
- access_token?: string;
2545
+ access_token?:
2546
+ string;
1939
2547
  /** Data format for response. */
1940
- alt?: string;
2548
+ alt?:
2549
+ string;
1941
2550
  /** JSONP */
1942
- callback?: string;
2551
+ callback?:
2552
+ string;
1943
2553
  /** The ID of the document to update. */
1944
- documentId: string;
2554
+ documentId:
2555
+ string;
1945
2556
  /** Selector specifying which fields to include in a partial response. */
1946
- fields?: string;
2557
+ fields?:
2558
+ string;
1947
2559
  /** 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. */
1948
- key?: string;
2560
+ key?:
2561
+ string;
1949
2562
  /** OAuth 2.0 token for the current user. */
1950
- oauth_token?: string;
2563
+ oauth_token?:
2564
+ string;
1951
2565
  /** Returns response with indentations and line breaks. */
1952
- prettyPrint?: boolean;
2566
+ prettyPrint?:
2567
+ boolean;
1953
2568
  /** 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. */
1954
- quotaUser?: string;
2569
+ quotaUser?:
2570
+ string;
1955
2571
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1956
- upload_protocol?: string;
2572
+ upload_protocol?:
2573
+ string;
1957
2574
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1958
- uploadType?: string;
2575
+ uploadType?:
2576
+ string;
1959
2577
  },
1960
2578
  body: BatchUpdateDocumentRequest): client.Request<BatchUpdateDocumentResponse>;
1961
2579
  /** Creates a blank document using the title given in the request. Other fields in the request, including any provided content, are ignored. Returns the created document. */
1962
2580
  create(request: {
1963
2581
  /** V1 error format. */
1964
- "$.xgafv"?: string;
2582
+ "$.xgafv"?:
2583
+ string;
1965
2584
  /** OAuth access token. */
1966
- access_token?: string;
2585
+ access_token?:
2586
+ string;
1967
2587
  /** Data format for response. */
1968
- alt?: string;
2588
+ alt?:
2589
+ string;
1969
2590
  /** JSONP */
1970
- callback?: string;
2591
+ callback?:
2592
+ string;
1971
2593
  /** Selector specifying which fields to include in a partial response. */
1972
- fields?: string;
2594
+ fields?:
2595
+ string;
1973
2596
  /** 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. */
1974
- key?: string;
2597
+ key?:
2598
+ string;
1975
2599
  /** OAuth 2.0 token for the current user. */
1976
- oauth_token?: string;
2600
+ oauth_token?:
2601
+ string;
1977
2602
  /** Returns response with indentations and line breaks. */
1978
- prettyPrint?: boolean;
2603
+ prettyPrint?:
2604
+ boolean;
1979
2605
  /** 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. */
1980
- quotaUser?: string;
2606
+ quotaUser?:
2607
+ string;
1981
2608
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1982
- upload_protocol?: string;
2609
+ upload_protocol?:
2610
+ string;
1983
2611
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1984
- uploadType?: string;
2612
+ uploadType?:
2613
+ string;
1985
2614
  /** Request body */
1986
- resource: Document;
2615
+ resource:
2616
+ Document;
1987
2617
  }): client.Request<Document>;
1988
2618
  create(request: {
1989
2619
  /** V1 error format. */
1990
- "$.xgafv"?: string;
2620
+ "$.xgafv"?:
2621
+ string;
1991
2622
  /** OAuth access token. */
1992
- access_token?: string;
2623
+ access_token?:
2624
+ string;
1993
2625
  /** Data format for response. */
1994
- alt?: string;
2626
+ alt?:
2627
+ string;
1995
2628
  /** JSONP */
1996
- callback?: string;
2629
+ callback?:
2630
+ string;
1997
2631
  /** Selector specifying which fields to include in a partial response. */
1998
- fields?: string;
2632
+ fields?:
2633
+ string;
1999
2634
  /** 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. */
2000
- key?: string;
2635
+ key?:
2636
+ string;
2001
2637
  /** OAuth 2.0 token for the current user. */
2002
- oauth_token?: string;
2638
+ oauth_token?:
2639
+ string;
2003
2640
  /** Returns response with indentations and line breaks. */
2004
- prettyPrint?: boolean;
2641
+ prettyPrint?:
2642
+ boolean;
2005
2643
  /** 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. */
2006
- quotaUser?: string;
2644
+ quotaUser?:
2645
+ string;
2007
2646
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2008
- upload_protocol?: string;
2647
+ upload_protocol?:
2648
+ string;
2009
2649
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2010
- uploadType?: string;
2650
+ uploadType?:
2651
+ string;
2011
2652
  },
2012
2653
  body: Document): client.Request<Document>;
2013
2654
  /** Gets the latest version of the specified document. */
2014
2655
  get(request?: {
2015
2656
  /** V1 error format. */
2016
- "$.xgafv"?: string;
2657
+ "$.xgafv"?:
2658
+ string;
2017
2659
  /** OAuth access token. */
2018
- access_token?: string;
2660
+ access_token?:
2661
+ string;
2019
2662
  /** Data format for response. */
2020
- alt?: string;
2663
+ alt?:
2664
+ string;
2021
2665
  /** JSONP */
2022
- callback?: string;
2666
+ callback?:
2667
+ string;
2023
2668
  /** The ID of the document to retrieve. */
2024
- documentId: string;
2669
+ documentId:
2670
+ string;
2025
2671
  /** Selector specifying which fields to include in a partial response. */
2026
- fields?: string;
2672
+ fields?:
2673
+ string;
2027
2674
  /** 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. */
2028
- key?: string;
2675
+ key?:
2676
+ string;
2029
2677
  /** OAuth 2.0 token for the current user. */
2030
- oauth_token?: string;
2678
+ oauth_token?:
2679
+ string;
2031
2680
  /** Returns response with indentations and line breaks. */
2032
- prettyPrint?: boolean;
2681
+ prettyPrint?:
2682
+ boolean;
2033
2683
  /** 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. */
2034
- quotaUser?: string;
2684
+ quotaUser?:
2685
+ string;
2035
2686
  /**
2036
2687
  * The suggestions view mode to apply to the document. This allows viewing the document with all suggestions inline, accepted or rejected. If one is not specified,
2037
2688
  * DEFAULT_FOR_CURRENT_ACCESS is used.
2038
2689
  */
2039
- suggestionsViewMode?: string;
2690
+ suggestionsViewMode?:
2691
+ string;
2040
2692
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2041
- upload_protocol?: string;
2693
+ upload_protocol?:
2694
+ string;
2042
2695
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2043
- uploadType?: string;
2696
+ uploadType?:
2697
+ string;
2044
2698
  }): client.Request<Document>;
2045
2699
  }
2046
2700