@maxim_mazurok/gapi.client.slides-v1 0.0.20230412 → 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 +1099 -550
  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://slides.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230412
12
+ // Revision: 20230425
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -24,19 +24,26 @@ declare namespace gapi.client {
24
24
  namespace slides {
25
25
  interface AffineTransform {
26
26
  /** The X coordinate scaling element. */
27
- scaleX?: number;
27
+ scaleX?:
28
+ number;
28
29
  /** The Y coordinate scaling element. */
29
- scaleY?: number;
30
+ scaleY?:
31
+ number;
30
32
  /** The X coordinate shearing element. */
31
- shearX?: number;
33
+ shearX?:
34
+ number;
32
35
  /** The Y coordinate shearing element. */
33
- shearY?: number;
36
+ shearY?:
37
+ number;
34
38
  /** The X coordinate translation element. */
35
- translateX?: number;
39
+ translateX?:
40
+ number;
36
41
  /** The Y coordinate translation element. */
37
- translateY?: number;
42
+ translateY?:
43
+ number;
38
44
  /** The units for translate elements. */
39
- unit?: string;
45
+ unit?:
46
+ string;
40
47
  }
41
48
  interface Autofit {
42
49
  /**
@@ -44,61 +51,80 @@ declare namespace gapi.client {
44
51
  * to NONE if a request is made that might affect text fitting within its bounding text box. In this case the font_scale is applied to the font_size and the line_spacing_reduction is
45
52
  * applied to the line_spacing. Both properties are also reset to default values.
46
53
  */
47
- autofitType?: string;
54
+ autofitType?:
55
+ string;
48
56
  /**
49
57
  * The font scale applied to the shape. For shapes with autofit_type NONE or SHAPE_AUTOFIT, this value is the default value of 1. For TEXT_AUTOFIT, this value multiplied by the
50
58
  * font_size gives the font size that is rendered in the editor. This property is read-only.
51
59
  */
52
- fontScale?: number;
60
+ fontScale?:
61
+ number;
53
62
  /**
54
63
  * The line spacing reduction applied to the shape. For shapes with autofit_type NONE or SHAPE_AUTOFIT, this value is the default value of 0. For TEXT_AUTOFIT, this value subtracted
55
64
  * from the line_spacing gives the line spacing that is rendered in the editor. This property is read-only.
56
65
  */
57
- lineSpacingReduction?: number;
66
+ lineSpacingReduction?:
67
+ number;
58
68
  }
59
69
  interface AutoText {
60
70
  /** The rendered content of this auto text, if available. */
61
- content?: string;
71
+ content?:
72
+ string;
62
73
  /** The styling applied to this auto text. */
63
- style?: TextStyle;
74
+ style?:
75
+ TextStyle;
64
76
  /** The type of this auto text. */
65
- type?: string;
77
+ type?:
78
+ string;
66
79
  }
67
80
  interface BatchUpdatePresentationRequest {
68
81
  /** A list of updates to apply to the presentation. */
69
- requests?: Request[];
82
+ requests?:
83
+ Request[];
70
84
  /** Provides control over how write requests are executed. */
71
- writeControl?: WriteControl;
85
+ writeControl?:
86
+ WriteControl;
72
87
  }
73
88
  interface BatchUpdatePresentationResponse {
74
89
  /** The presentation the updates were applied to. */
75
- presentationId?: string;
90
+ presentationId?:
91
+ string;
76
92
  /** The reply of the updates. This maps 1:1 with the updates, although replies to some requests may be empty. */
77
- replies?: Response[];
93
+ replies?:
94
+ Response[];
78
95
  /** The updated write control after applying the request. */
79
- writeControl?: WriteControl;
96
+ writeControl?:
97
+ WriteControl;
80
98
  }
81
99
  interface Bullet {
82
100
  /** The paragraph specific text style applied to this bullet. */
83
- bulletStyle?: TextStyle;
101
+ bulletStyle?:
102
+ TextStyle;
84
103
  /** The rendered bullet glyph for this paragraph. */
85
- glyph?: string;
104
+ glyph?:
105
+ string;
86
106
  /** The ID of the list this paragraph belongs to. */
87
- listId?: string;
107
+ listId?:
108
+ string;
88
109
  /** The nesting level of this paragraph in the list. */
89
- nestingLevel?: number;
110
+ nestingLevel?:
111
+ number;
90
112
  }
91
113
  interface ColorScheme {
92
114
  /** The ThemeColorType and corresponding concrete color pairs. */
93
- colors?: ThemeColorPair[];
115
+ colors?:
116
+ ThemeColorPair[];
94
117
  }
95
118
  interface ColorStop {
96
119
  /** The alpha value of this color in the gradient band. Defaults to 1.0, fully opaque. */
97
- alpha?: number;
120
+ alpha?:
121
+ number;
98
122
  /** The color of the gradient stop. */
99
- color?: OpaqueColor;
123
+ color?:
124
+ OpaqueColor;
100
125
  /** The relative position of the color stop in the gradient band measured in percentage. The value should be in the interval [0.0, 1.0]. */
101
- position?: number;
126
+ position?:
127
+ number;
102
128
  }
103
129
  interface CreateImageRequest {
104
130
  /**
@@ -107,23 +133,27 @@ declare namespace gapi.client {
107
133
  * default size of the image is used. The PageElementProperties.transform property is optional. If you don't specify a transform, the image will be placed at the top-left corner of the
108
134
  * page.
109
135
  */
110
- elementProperties?: PageElementProperties;
136
+ elementProperties?:
137
+ PageElementProperties;
111
138
  /**
112
139
  * A user-supplied object ID. If you specify an ID, it must be unique among all pages and page elements in the presentation. The ID must start with an alphanumeric character or an
113
140
  * underscore (matches regex `[a-zA-Z0-9_]`); remaining characters may include those as well as a hyphen or colon (matches regex `[a-zA-Z0-9_-:]`). The length of the ID must not be
114
141
  * less than 5 or greater than 50. If you don't specify an ID, a unique one is generated.
115
142
  */
116
- objectId?: string;
143
+ objectId?:
144
+ string;
117
145
  /**
118
146
  * The image URL. The image is fetched once at insertion time and a copy is stored for display inside the presentation. Images must be less than 50 MB in size, can't exceed 25
119
147
  * megapixels, and must be in one of PNG, JPEG, or GIF formats. The provided URL must be publicly accessible and up to 2 KB in length. The URL is saved with the image, and exposed
120
148
  * through the Image.source_url field.
121
149
  */
122
- url?: string;
150
+ url?:
151
+ string;
123
152
  }
124
153
  interface CreateImageResponse {
125
154
  /** The object ID of the created image. */
126
- objectId?: string;
155
+ objectId?:
156
+ string;
127
157
  }
128
158
  interface CreateLineRequest {
129
159
  /**
@@ -131,122 +161,151 @@ declare namespace gapi.client {
131
161
  * `category` and a `line_category`, the `category` takes precedence. If you do not specify a value for `category`, but specify a value for `line_category`, then the specified
132
162
  * `line_category` value is used. If you do not specify either, then STRAIGHT is used.
133
163
  */
134
- category?: string;
164
+ category?:
165
+ string;
135
166
  /** The element properties for the line. */
136
- elementProperties?: PageElementProperties;
167
+ elementProperties?:
168
+ PageElementProperties;
137
169
  /**
138
170
  * The category of the line to be created. *Deprecated*: use `category` instead. The exact line type created is determined based on the category and how it's routed to connect to other
139
171
  * page elements. If you specify both a `category` and a `line_category`, the `category` takes precedence.
140
172
  */
141
- lineCategory?: string;
173
+ lineCategory?:
174
+ string;
142
175
  /**
143
176
  * A user-supplied object ID. If you specify an ID, it must be unique among all pages and page elements in the presentation. The ID must start with an alphanumeric character or an
144
177
  * underscore (matches regex `[a-zA-Z0-9_]`); remaining characters may include those as well as a hyphen or colon (matches regex `[a-zA-Z0-9_-:]`). The length of the ID must not be
145
178
  * less than 5 or greater than 50. If you don't specify an ID, a unique one is generated.
146
179
  */
147
- objectId?: string;
180
+ objectId?:
181
+ string;
148
182
  }
149
183
  interface CreateLineResponse {
150
184
  /** The object ID of the created line. */
151
- objectId?: string;
185
+ objectId?:
186
+ string;
152
187
  }
153
188
  interface CreateParagraphBulletsRequest {
154
189
  /** The kinds of bullet glyphs to be used. Defaults to the `BULLET_DISC_CIRCLE_SQUARE` preset. */
155
- bulletPreset?: string;
190
+ bulletPreset?:
191
+ string;
156
192
  /** The optional table cell location if the text to be modified is in a table cell. If present, the object_id must refer to a table. */
157
- cellLocation?: TableCellLocation;
193
+ cellLocation?:
194
+ TableCellLocation;
158
195
  /** The object ID of the shape or table containing the text to add bullets to. */
159
- objectId?: string;
196
+ objectId?:
197
+ string;
160
198
  /** The range of text to apply the bullet presets to, based on TextElement indexes. */
161
- textRange?: Range;
199
+ textRange?:
200
+ Range;
162
201
  }
163
202
  interface CreateShapeRequest {
164
203
  /** The element properties for the shape. */
165
- elementProperties?: PageElementProperties;
204
+ elementProperties?:
205
+ PageElementProperties;
166
206
  /**
167
207
  * A user-supplied object ID. If you specify an ID, it must be unique among all pages and page elements in the presentation. The ID must start with an alphanumeric character or an
168
208
  * underscore (matches regex `[a-zA-Z0-9_]`); remaining characters may include those as well as a hyphen or colon (matches regex `[a-zA-Z0-9_-:]`). The length of the ID must not be
169
209
  * less than 5 or greater than 50. If empty, a unique identifier will be generated.
170
210
  */
171
- objectId?: string;
211
+ objectId?:
212
+ string;
172
213
  /** The shape type. */
173
- shapeType?: string;
214
+ shapeType?:
215
+ string;
174
216
  }
175
217
  interface CreateShapeResponse {
176
218
  /** The object ID of the created shape. */
177
- objectId?: string;
219
+ objectId?:
220
+ string;
178
221
  }
179
222
  interface CreateSheetsChartRequest {
180
223
  /** The ID of the specific chart in the Google Sheets spreadsheet. */
181
- chartId?: number;
224
+ chartId?:
225
+ number;
182
226
  /**
183
227
  * The element properties for the chart. When the aspect ratio of the provided size does not match the chart aspect ratio, the chart is scaled and centered with respect to the size in
184
228
  * order to maintain aspect ratio. The provided transform is applied after this operation.
185
229
  */
186
- elementProperties?: PageElementProperties;
230
+ elementProperties?:
231
+ PageElementProperties;
187
232
  /** The mode with which the chart is linked to the source spreadsheet. When not specified, the chart will be an image that is not linked. */
188
- linkingMode?: string;
233
+ linkingMode?:
234
+ string;
189
235
  /**
190
236
  * A user-supplied object ID. If specified, the ID must be unique among all pages and page elements in the presentation. The ID should start with a word character [a-zA-Z0-9_] and then
191
237
  * followed by any number of the following characters [a-zA-Z0-9_-:]. The length of the ID should not be less than 5 or greater than 50. If empty, a unique identifier will be
192
238
  * generated.
193
239
  */
194
- objectId?: string;
240
+ objectId?:
241
+ string;
195
242
  /**
196
243
  * The ID of the Google Sheets spreadsheet that contains the chart. You might need to add a resource key to the HTTP header for a subset of old files. For more information, see [Access
197
244
  * link-shared files using resource keys](https://developers.google.com/drive/api/v3/resource-keys).
198
245
  */
199
- spreadsheetId?: string;
246
+ spreadsheetId?:
247
+ string;
200
248
  }
201
249
  interface CreateSheetsChartResponse {
202
250
  /** The object ID of the created chart. */
203
- objectId?: string;
251
+ objectId?:
252
+ string;
204
253
  }
205
254
  interface CreateSlideRequest {
206
255
  /** The optional zero-based index indicating where to insert the slides. If you don't specify an index, the slide is created at the end. */
207
- insertionIndex?: number;
256
+ insertionIndex?:
257
+ number;
208
258
  /**
209
259
  * A user-supplied object ID. If you specify an ID, it must be unique among all pages and page elements in the presentation. The ID must start with an alphanumeric character or an
210
260
  * underscore (matches regex `[a-zA-Z0-9_]`); remaining characters may include those as well as a hyphen or colon (matches regex `[a-zA-Z0-9_-:]`). The ID length must be between 5 and
211
261
  * 50 characters, inclusive. If you don't specify an ID, a unique one is generated.
212
262
  */
213
- objectId?: string;
263
+ objectId?:
264
+ string;
214
265
  /**
215
266
  * An optional list of object ID mappings from the placeholder(s) on the layout to the placeholders that are created on the slide from the specified layout. Can only be used when
216
267
  * `slide_layout_reference` is specified.
217
268
  */
218
- placeholderIdMappings?: LayoutPlaceholderIdMapping[];
269
+ placeholderIdMappings?:
270
+ LayoutPlaceholderIdMapping[];
219
271
  /**
220
272
  * Layout reference of the slide to be inserted, based on the *current master*, which is one of the following: - The master of the previous slide index. - The master of the first
221
273
  * slide, if the insertion_index is zero. - The first master in the presentation, if there are no slides. If the LayoutReference is not found in the current master, a 400 bad request
222
274
  * error is returned. If you don't specify a layout reference, the slide uses the predefined `BLANK` layout.
223
275
  */
224
- slideLayoutReference?: LayoutReference;
276
+ slideLayoutReference?:
277
+ LayoutReference;
225
278
  }
226
279
  interface CreateSlideResponse {
227
280
  /** The object ID of the created slide. */
228
- objectId?: string;
281
+ objectId?:
282
+ string;
229
283
  }
230
284
  interface CreateTableRequest {
231
285
  /** Number of columns in the table. */
232
- columns?: number;
286
+ columns?:
287
+ number;
233
288
  /**
234
289
  * The element properties for the table. The table will be created at the provided size, subject to a minimum size. If no size is provided, the table will be automatically sized. Table
235
290
  * transforms must have a scale of 1 and no shear components. If no transform is provided, the table will be centered on the page.
236
291
  */
237
- elementProperties?: PageElementProperties;
292
+ elementProperties?:
293
+ PageElementProperties;
238
294
  /**
239
295
  * A user-supplied object ID. If you specify an ID, it must be unique among all pages and page elements in the presentation. The ID must start with an alphanumeric character or an
240
296
  * underscore (matches regex `[a-zA-Z0-9_]`); remaining characters may include those as well as a hyphen or colon (matches regex `[a-zA-Z0-9_-:]`). The length of the ID must not be
241
297
  * less than 5 or greater than 50. If you don't specify an ID, a unique one is generated.
242
298
  */
243
- objectId?: string;
299
+ objectId?:
300
+ string;
244
301
  /** Number of rows in the table. */
245
- rows?: number;
302
+ rows?:
303
+ number;
246
304
  }
247
305
  interface CreateTableResponse {
248
306
  /** The object ID of the created table. */
249
- objectId?: string;
307
+ objectId?:
308
+ string;
250
309
  }
251
310
  interface CreateVideoRequest {
252
311
  /**
@@ -254,76 +313,96 @@ declare namespace gapi.client {
254
313
  * PageElementProperties.transform property is optional. The transform must not have shear components. If you don't specify a transform, the video will be placed at the top left corner
255
314
  * of the page.
256
315
  */
257
- elementProperties?: PageElementProperties;
316
+ elementProperties?:
317
+ PageElementProperties;
258
318
  /**
259
319
  * The video source's unique identifier for this video. e.g. For YouTube video https://www.youtube.com/watch?v=7U3axjORYZ0, the ID is 7U3axjORYZ0. For a Google Drive video
260
320
  * https://drive.google.com/file/d/1xCgQLFTJi5_Xl8DgW_lcUYq5e-q6Hi5Q the ID is 1xCgQLFTJi5_Xl8DgW_lcUYq5e-q6Hi5Q. To access a Google Drive video file, you might need to add a resource
261
321
  * key to the HTTP header for a subset of old files. For more information, see [Access link-shared files using resource keys](https://developers.google.com/drive/api/v3/resource-keys).
262
322
  */
263
- id?: string;
323
+ id?:
324
+ string;
264
325
  /**
265
326
  * A user-supplied object ID. If you specify an ID, it must be unique among all pages and page elements in the presentation. The ID must start with an alphanumeric character or an
266
327
  * underscore (matches regex `[a-zA-Z0-9_]`); remaining characters may include those as well as a hyphen or colon (matches regex `[a-zA-Z0-9_-:]`). The length of the ID must not be
267
328
  * less than 5 or greater than 50. If you don't specify an ID, a unique one is generated.
268
329
  */
269
- objectId?: string;
330
+ objectId?:
331
+ string;
270
332
  /** The video source. */
271
- source?: string;
333
+ source?:
334
+ string;
272
335
  }
273
336
  interface CreateVideoResponse {
274
337
  /** The object ID of the created video. */
275
- objectId?: string;
338
+ objectId?:
339
+ string;
276
340
  }
277
341
  interface CropProperties {
278
342
  /** The rotation angle of the crop window around its center, in radians. Rotation angle is applied after the offset. */
279
- angle?: number;
343
+ angle?:
344
+ number;
280
345
  /** The offset specifies the bottom edge of the crop rectangle that is located above the original bounding rectangle bottom edge, relative to the object's original height. */
281
- bottomOffset?: number;
346
+ bottomOffset?:
347
+ number;
282
348
  /** The offset specifies the left edge of the crop rectangle that is located to the right of the original bounding rectangle left edge, relative to the object's original width. */
283
- leftOffset?: number;
349
+ leftOffset?:
350
+ number;
284
351
  /** The offset specifies the right edge of the crop rectangle that is located to the left of the original bounding rectangle right edge, relative to the object's original width. */
285
- rightOffset?: number;
352
+ rightOffset?:
353
+ number;
286
354
  /** The offset specifies the top edge of the crop rectangle that is located below the original bounding rectangle top edge, relative to the object's original height. */
287
- topOffset?: number;
355
+ topOffset?:
356
+ number;
288
357
  }
289
358
  interface DeleteObjectRequest {
290
359
  /**
291
360
  * The object ID of the page or page element to delete. If after a delete operation a group contains only 1 or no page elements, the group is also deleted. If a placeholder is deleted
292
361
  * on a layout, any empty inheriting placeholders are also deleted.
293
362
  */
294
- objectId?: string;
363
+ objectId?:
364
+ string;
295
365
  }
296
366
  interface DeleteParagraphBulletsRequest {
297
367
  /** The optional table cell location if the text to be modified is in a table cell. If present, the object_id must refer to a table. */
298
- cellLocation?: TableCellLocation;
368
+ cellLocation?:
369
+ TableCellLocation;
299
370
  /** The object ID of the shape or table containing the text to delete bullets from. */
300
- objectId?: string;
371
+ objectId?:
372
+ string;
301
373
  /** The range of text to delete bullets from, based on TextElement indexes. */
302
- textRange?: Range;
374
+ textRange?:
375
+ Range;
303
376
  }
304
377
  interface DeleteTableColumnRequest {
305
378
  /**
306
379
  * The reference table cell location from which a column will be deleted. The column this cell spans will be deleted. If this is a merged cell, multiple columns will be deleted. If no
307
380
  * columns remain in the table after this deletion, the whole table is deleted.
308
381
  */
309
- cellLocation?: TableCellLocation;
382
+ cellLocation?:
383
+ TableCellLocation;
310
384
  /** The table to delete columns from. */
311
- tableObjectId?: string;
385
+ tableObjectId?:
386
+ string;
312
387
  }
313
388
  interface DeleteTableRowRequest {
314
389
  /**
315
390
  * The reference table cell location from which a row will be deleted. The row this cell spans will be deleted. If this is a merged cell, multiple rows will be deleted. If no rows
316
391
  * remain in the table after this deletion, the whole table is deleted.
317
392
  */
318
- cellLocation?: TableCellLocation;
393
+ cellLocation?:
394
+ TableCellLocation;
319
395
  /** The table to delete rows from. */
320
- tableObjectId?: string;
396
+ tableObjectId?:
397
+ string;
321
398
  }
322
399
  interface DeleteTextRequest {
323
400
  /** The optional table cell location if the text is to be deleted from a table cell. If present, the object_id must refer to a table. */
324
- cellLocation?: TableCellLocation;
401
+ cellLocation?:
402
+ TableCellLocation;
325
403
  /** The object ID of the shape or table from which the text will be deleted. */
326
- objectId?: string;
404
+ objectId?:
405
+ string;
327
406
  /**
328
407
  * The range of text to delete, based on TextElement indexes. There is always an implicit newline character at the end of a shape's or table cell's text that cannot be deleted.
329
408
  * `Range.Type.ALL` will use the correct bounds, but care must be taken when specifying explicit bounds for range types `FROM_START_INDEX` and `FIXED_RANGE`. For example, if the text
@@ -331,17 +410,21 @@ declare namespace gapi.client {
331
410
  * may result in changes to paragraph styles and lists as the two paragraphs are merged. Ranges that include only one code unit of a surrogate pair are expanded to include both code
332
411
  * units.
333
412
  */
334
- textRange?: Range;
413
+ textRange?:
414
+ Range;
335
415
  }
336
416
  interface Dimension {
337
417
  /** The magnitude. */
338
- magnitude?: number;
418
+ magnitude?:
419
+ number;
339
420
  /** The units for magnitude. */
340
- unit?: string;
421
+ unit?:
422
+ string;
341
423
  }
342
424
  interface DuplicateObjectRequest {
343
425
  /** The ID of the object to duplicate. */
344
- objectId?: string;
426
+ objectId?:
427
+ string;
345
428
  /**
346
429
  * The object being duplicated may contain other objects, for example when duplicating a slide or a group page element. This map defines how the IDs of duplicated objects are
347
430
  * generated: the keys are the IDs of the original objects and its values are the IDs that will be assigned to the corresponding duplicate object. The ID of the source object's
@@ -350,219 +433,281 @@ declare namespace gapi.client {
350
433
  * characters may include those as well as a hyphen or colon (matches regex `[a-zA-Z0-9_-:]`). The length of the new ID must not be less than 5 or greater than 50. If any IDs of source
351
434
  * objects are omitted from the map, a new random ID will be assigned. If the map is empty or unset, all duplicate objects will receive a new random ID.
352
435
  */
353
- objectIds?: { [P in string]: string };
436
+ objectIds?:
437
+ { [P in string]: string };
354
438
  }
355
439
  interface DuplicateObjectResponse {
356
440
  /** The ID of the new duplicate object. */
357
- objectId?: string;
441
+ objectId?:
442
+ string;
358
443
  }
359
444
  interface Group {
360
445
  /** The collection of elements in the group. The minimum size of a group is 2. */
361
- children?: PageElement[];
446
+ children?:
447
+ PageElement[];
362
448
  }
363
449
  interface GroupObjectsRequest {
364
450
  /**
365
451
  * The object IDs of the objects to group. Only page elements can be grouped. There should be at least two page elements on the same page that are not already in another group. Some
366
452
  * page elements, such as videos, tables and placeholders cannot be grouped.
367
453
  */
368
- childrenObjectIds?: string[];
454
+ childrenObjectIds?:
455
+ string[];
369
456
  /**
370
457
  * A user-supplied object ID for the group to be created. If you specify an ID, it must be unique among all pages and page elements in the presentation. The ID must start with an
371
458
  * alphanumeric character or an underscore (matches regex `[a-zA-Z0-9_]`); remaining characters may include those as well as a hyphen or colon (matches regex `[a-zA-Z0-9_-:]`). The
372
459
  * length of the ID must not be less than 5 or greater than 50. If you don't specify an ID, a unique one is generated.
373
460
  */
374
- groupObjectId?: string;
461
+ groupObjectId?:
462
+ string;
375
463
  }
376
464
  interface GroupObjectsResponse {
377
465
  /** The object ID of the created group. */
378
- objectId?: string;
466
+ objectId?:
467
+ string;
379
468
  }
380
469
  interface Image {
381
470
  /**
382
471
  * An URL to an image with a default lifetime of 30 minutes. This URL is tagged with the account of the requester. Anyone with the URL effectively accesses the image as the original
383
472
  * requester. Access to the image may be lost if the presentation's sharing settings change.
384
473
  */
385
- contentUrl?: string;
474
+ contentUrl?:
475
+ string;
386
476
  /** The properties of the image. */
387
- imageProperties?: ImageProperties;
477
+ imageProperties?:
478
+ ImageProperties;
388
479
  /**
389
480
  * Placeholders are page elements that inherit from corresponding placeholders on layouts and masters. If set, the image is a placeholder image and any inherited properties can be
390
481
  * resolved by looking at the parent placeholder identified by the Placeholder.parent_object_id field.
391
482
  */
392
- placeholder?: Placeholder;
483
+ placeholder?:
484
+ Placeholder;
393
485
  /** The source URL is the URL used to insert the image. The source URL can be empty. */
394
- sourceUrl?: string;
486
+ sourceUrl?:
487
+ string;
395
488
  }
396
489
  interface ImageProperties {
397
490
  /** The brightness effect of the image. The value should be in the interval [-1.0, 1.0], where 0 means no effect. This property is read-only. */
398
- brightness?: number;
491
+ brightness?:
492
+ number;
399
493
  /** The contrast effect of the image. The value should be in the interval [-1.0, 1.0], where 0 means no effect. This property is read-only. */
400
- contrast?: number;
494
+ contrast?:
495
+ number;
401
496
  /** The crop properties of the image. If not set, the image is not cropped. This property is read-only. */
402
- cropProperties?: CropProperties;
497
+ cropProperties?:
498
+ CropProperties;
403
499
  /** The hyperlink destination of the image. If unset, there is no link. */
404
- link?: Link;
500
+ link?:
501
+ Link;
405
502
  /** The outline of the image. If not set, the image has no outline. */
406
- outline?: Outline;
503
+ outline?:
504
+ Outline;
407
505
  /** The recolor effect of the image. If not set, the image is not recolored. This property is read-only. */
408
- recolor?: Recolor;
506
+ recolor?:
507
+ Recolor;
409
508
  /** The shadow of the image. If not set, the image has no shadow. This property is read-only. */
410
- shadow?: Shadow;
509
+ shadow?:
510
+ Shadow;
411
511
  /** 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 completely transparent. This property is read-only. */
412
- transparency?: number;
512
+ transparency?:
513
+ number;
413
514
  }
414
515
  interface InsertTableColumnsRequest {
415
516
  /**
416
517
  * 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
417
518
  * reference cell is a merged cell, a new column will be inserted to the left (or right) of the merged cell.
418
519
  */
419
- cellLocation?: TableCellLocation;
520
+ cellLocation?:
521
+ TableCellLocation;
420
522
  /** Whether to insert new columns to the right of the reference cell location. - `True`: insert to the right. - `False`: insert to the left. */
421
- insertRight?: boolean;
523
+ insertRight?:
524
+ boolean;
422
525
  /** The number of columns to be inserted. Maximum 20 per request. */
423
- number?: number;
526
+ number?:
527
+ number;
424
528
  /** The table to insert columns into. */
425
- tableObjectId?: string;
529
+ tableObjectId?:
530
+ string;
426
531
  }
427
532
  interface InsertTableRowsRequest {
428
533
  /**
429
534
  * 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
430
535
  * merged cell, a new row will be inserted above (or below) the merged cell.
431
536
  */
432
- cellLocation?: TableCellLocation;
537
+ cellLocation?:
538
+ TableCellLocation;
433
539
  /** Whether to insert new rows below the reference cell location. - `True`: insert below the cell. - `False`: insert above the cell. */
434
- insertBelow?: boolean;
540
+ insertBelow?:
541
+ boolean;
435
542
  /** The number of rows to be inserted. Maximum 20 per request. */
436
- number?: number;
543
+ number?:
544
+ number;
437
545
  /** The table to insert rows into. */
438
- tableObjectId?: string;
546
+ tableObjectId?:
547
+ string;
439
548
  }
440
549
  interface InsertTextRequest {
441
550
  /** The optional table cell location if the text is to be inserted into a table cell. If present, the object_id must refer to a table. */
442
- cellLocation?: TableCellLocation;
551
+ cellLocation?:
552
+ TableCellLocation;
443
553
  /**
444
554
  * The index where the text will be inserted, in Unicode code units, based on TextElement indexes. The index is zero-based and is computed from the start of the string. The index may
445
555
  * be adjusted to prevent insertions inside Unicode grapheme clusters. In these cases, the text will be inserted immediately after the grapheme cluster.
446
556
  */
447
- insertionIndex?: number;
557
+ insertionIndex?:
558
+ number;
448
559
  /** The object ID of the shape or table where the text will be inserted. */
449
- objectId?: string;
560
+ objectId?:
561
+ string;
450
562
  /**
451
563
  * The text to be inserted. Inserting a newline character will implicitly create a new ParagraphMarker at that index. The paragraph style of the new paragraph will be copied from the
452
564
  * paragraph at the current insertion index, including lists and bullets. Text styles for inserted text will be determined automatically, generally preserving the styling of
453
565
  * neighboring text. In most cases, the text will be added to the TextRun that exists at the insertion index. Some control characters (U+0000-U+0008, U+000C-U+001F) and characters from
454
566
  * the Unicode Basic Multilingual Plane Private Use Area (U+E000-U+F8FF) will be stripped out of the inserted text.
455
567
  */
456
- text?: string;
568
+ text?:
569
+ string;
457
570
  }
458
571
  interface LayoutPlaceholderIdMapping {
459
572
  /**
460
573
  * The placeholder on a layout that will be applied to a slide. Only type and index are needed. For example, a predefined `TITLE_AND_BODY` layout may usually have a TITLE placeholder
461
574
  * with index 0 and a BODY placeholder with index 0.
462
575
  */
463
- layoutPlaceholder?: Placeholder;
576
+ layoutPlaceholder?:
577
+ Placeholder;
464
578
  /** The object ID of the placeholder on a layout that will be applied to a slide. */
465
- layoutPlaceholderObjectId?: string;
579
+ layoutPlaceholderObjectId?:
580
+ string;
466
581
  /**
467
582
  * A user-supplied object ID for the placeholder identified above that to be created onto a slide. If you specify an ID, it must be unique among all pages and page elements in the
468
583
  * presentation. The ID must start with an alphanumeric character or an underscore (matches regex `[a-zA-Z0-9_]`); remaining characters may include those as well as a hyphen or colon
469
584
  * (matches regex `[a-zA-Z0-9_-:]`). The length of the ID must not be less than 5 or greater than 50. If you don't specify an ID, a unique one is generated.
470
585
  */
471
- objectId?: string;
586
+ objectId?:
587
+ string;
472
588
  }
473
589
  interface LayoutProperties {
474
590
  /** The human-readable name of the layout. */
475
- displayName?: string;
591
+ displayName?:
592
+ string;
476
593
  /** The object ID of the master that this layout is based on. */
477
- masterObjectId?: string;
594
+ masterObjectId?:
595
+ string;
478
596
  /** The name of the layout. */
479
- name?: string;
597
+ name?:
598
+ string;
480
599
  }
481
600
  interface LayoutReference {
482
601
  /** Layout ID: the object ID of one of the layouts in the presentation. */
483
- layoutId?: string;
602
+ layoutId?:
603
+ string;
484
604
  /** Predefined layout. */
485
- predefinedLayout?: string;
605
+ predefinedLayout?:
606
+ string;
486
607
  }
487
608
  interface Line {
488
609
  /** The category of the line. It matches the `category` specified in CreateLineRequest, and can be updated with UpdateLineCategoryRequest. */
489
- lineCategory?: string;
610
+ lineCategory?:
611
+ string;
490
612
  /** The properties of the line. */
491
- lineProperties?: LineProperties;
613
+ lineProperties?:
614
+ LineProperties;
492
615
  /** The type of the line. */
493
- lineType?: string;
616
+ lineType?:
617
+ string;
494
618
  }
495
619
  interface LineConnection {
496
620
  /**
497
621
  * The object ID of the connected page element. Some page elements, such as groups, tables, and lines do not have connection sites and therefore cannot be connected to a connector
498
622
  * line.
499
623
  */
500
- connectedObjectId?: string;
624
+ connectedObjectId?:
625
+ string;
501
626
  /**
502
627
  * The index of the connection site on the connected page element. In most cases, it corresponds to the predefined connection site index from the ECMA-376 standard. More information on
503
628
  * those connection sites can be found in the description of the "cnx" attribute in section 20.1.9.9 and Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open XML
504
629
  * File Formats-Fundamentals and Markup Language Reference", part 1 of [ECMA-376 5th edition] (http://www.ecma-international.org/publications/standards/Ecma-376.htm). The position of
505
630
  * each connection site can also be viewed from Slides editor.
506
631
  */
507
- connectionSiteIndex?: number;
632
+ connectionSiteIndex?:
633
+ number;
508
634
  }
509
635
  interface LineFill {
510
636
  /** Solid color fill. */
511
- solidFill?: SolidFill;
637
+ solidFill?:
638
+ SolidFill;
512
639
  }
513
640
  interface LineProperties {
514
641
  /** The dash style of the line. */
515
- dashStyle?: string;
642
+ dashStyle?:
643
+ string;
516
644
  /** The style of the arrow at the end of the line. */
517
- endArrow?: string;
645
+ endArrow?:
646
+ string;
518
647
  /** The connection at the end of the line. If unset, there is no connection. Only lines with a Type indicating it is a "connector" can have an `end_connection`. */
519
- endConnection?: LineConnection;
648
+ endConnection?:
649
+ LineConnection;
520
650
  /** The fill of the line. The default line fill matches the defaults for new lines created in the Slides editor. */
521
- lineFill?: LineFill;
651
+ lineFill?:
652
+ LineFill;
522
653
  /** The hyperlink destination of the line. If unset, there is no link. */
523
- link?: Link;
654
+ link?:
655
+ Link;
524
656
  /** The style of the arrow at the beginning of the line. */
525
- startArrow?: string;
657
+ startArrow?:
658
+ string;
526
659
  /** The connection at the beginning of the line. If unset, there is no connection. Only lines with a Type indicating it is a "connector" can have a `start_connection`. */
527
- startConnection?: LineConnection;
660
+ startConnection?:
661
+ LineConnection;
528
662
  /** The thickness of the line. */
529
- weight?: Dimension;
663
+ weight?:
664
+ Dimension;
530
665
  }
531
666
  interface Link {
532
667
  /** If set, indicates this is a link to the specific page in this presentation with this ID. A page with this ID may not exist. */
533
- pageObjectId?: string;
668
+ pageObjectId?:
669
+ string;
534
670
  /** If set, indicates this is a link to a slide in this presentation, addressed by its position. */
535
- relativeLink?: string;
671
+ relativeLink?:
672
+ string;
536
673
  /** If set, indicates this is a link to the slide at this zero-based index in the presentation. There may not be a slide at this index. */
537
- slideIndex?: number;
674
+ slideIndex?:
675
+ number;
538
676
  /** If set, indicates this is a link to the external web page at this URL. */
539
- url?: string;
677
+ url?:
678
+ string;
540
679
  }
541
680
  interface List {
542
681
  /** The ID of the list. */
543
- listId?: string;
682
+ listId?:
683
+ string;
544
684
  /**
545
685
  * A map of nesting levels to the properties of bullets at the associated level. A list has at most nine levels of nesting, so the possible values for the keys of this map are 0
546
686
  * through 8, inclusive.
547
687
  */
548
- nestingLevel?: { [P in string]: NestingLevel };
688
+ nestingLevel?:
689
+ { [P in string]: NestingLevel };
549
690
  }
550
691
  interface MasterProperties {
551
692
  /** The human-readable name of the master. */
552
- displayName?: string;
693
+ displayName?:
694
+ string;
553
695
  }
554
696
  interface MergeTableCellsRequest {
555
697
  /** The object ID of the table. */
556
- objectId?: string;
698
+ objectId?:
699
+ string;
557
700
  /**
558
701
  * The table range specifying which cells of the table to merge. Any text in the cells being merged will be concatenated and stored in the upper-left ("head") cell of the range. If the
559
702
  * range is non-rectangular (which can occur in some cases where the range covers cells that are already merged), a 400 bad request error is returned.
560
703
  */
561
- tableRange?: TableRange;
704
+ tableRange?:
705
+ TableRange;
562
706
  }
563
707
  interface NestingLevel {
564
708
  /** The style of a bullet at this level of nesting. */
565
- bulletStyle?: TextStyle;
709
+ bulletStyle?:
710
+ TextStyle;
566
711
  }
567
712
  interface NotesProperties {
568
713
  /**
@@ -570,50 +715,66 @@ declare namespace gapi.client {
570
715
  * using this object ID will automatically create the shape. In this case, the actual shape may have different object ID. The `GetPresentation` or `GetPage` action will always return
571
716
  * the latest object ID.
572
717
  */
573
- speakerNotesObjectId?: string;
718
+ speakerNotesObjectId?:
719
+ string;
574
720
  }
575
721
  interface OpaqueColor {
576
722
  /** An opaque RGB color. */
577
- rgbColor?: RgbColor;
723
+ rgbColor?:
724
+ RgbColor;
578
725
  /** An opaque theme color. */
579
- themeColor?: string;
726
+ themeColor?:
727
+ string;
580
728
  }
581
729
  interface OptionalColor {
582
730
  /** If set, this will be used as an opaque color. If unset, this represents a transparent color. */
583
- opaqueColor?: OpaqueColor;
731
+ opaqueColor?:
732
+ OpaqueColor;
584
733
  }
585
734
  interface Outline {
586
735
  /** The dash style of the outline. */
587
- dashStyle?: string;
736
+ dashStyle?:
737
+ string;
588
738
  /** The fill of the outline. */
589
- outlineFill?: OutlineFill;
739
+ outlineFill?:
740
+ OutlineFill;
590
741
  /**
591
742
  * The outline property state. Updating the outline on a page element will implicitly update this field to `RENDERED`, unless another value is specified in the same request. To have no
592
743
  * outline on a page element, set this field to `NOT_RENDERED`. In this case, any other outline fields set in the same request will be ignored.
593
744
  */
594
- propertyState?: string;
745
+ propertyState?:
746
+ string;
595
747
  /** The thickness of the outline. */
596
- weight?: Dimension;
748
+ weight?:
749
+ Dimension;
597
750
  }
598
751
  interface OutlineFill {
599
752
  /** Solid color fill. */
600
- solidFill?: SolidFill;
753
+ solidFill?:
754
+ SolidFill;
601
755
  }
602
756
  interface Page {
603
757
  /** Layout specific properties. Only set if page_type = LAYOUT. */
604
- layoutProperties?: LayoutProperties;
758
+ layoutProperties?:
759
+ LayoutProperties;
605
760
  /** Master specific properties. Only set if page_type = MASTER. */
606
- masterProperties?: MasterProperties;
761
+ masterProperties?:
762
+ MasterProperties;
607
763
  /** Notes specific properties. Only set if page_type = NOTES. */
608
- notesProperties?: NotesProperties;
764
+ notesProperties?:
765
+ NotesProperties;
609
766
  /** The object ID for this page. Object IDs used by Page and PageElement share the same namespace. */
610
- objectId?: string;
767
+ objectId?:
768
+ string;
611
769
  /** The page elements rendered on the page. */
612
- pageElements?: PageElement[];
770
+ pageElements?:
771
+ PageElement[];
613
772
  /** The properties of the page. */
614
- pageProperties?: PageProperties;
773
+ pageProperties?:
774
+ PageProperties;
615
775
  /** The type of the page. */
616
- pageType?: string;
776
+ pageType?:
777
+ string;
617
778
  /**
618
779
  * Output only. The revision ID of the presentation. Can be used in update requests to assert the presentation revision hasn't changed since the last read operation. Only populated if
619
780
  * the user has edit access to the presentation. The revision ID is not a sequential number but an opaque string. The format of the revision ID might change over time. A returned
@@ -621,60 +782,81 @@ declare namespace gapi.client {
621
782
  * presentation has not changed. Conversely, a changed ID (for the same presentation and user) usually means the presentation has been updated. However, a changed ID can also be due to
622
783
  * internal factors such as ID format changes.
623
784
  */
624
- revisionId?: string;
785
+ revisionId?:
786
+ string;
625
787
  /** Slide specific properties. Only set if page_type = SLIDE. */
626
- slideProperties?: SlideProperties;
788
+ slideProperties?:
789
+ SlideProperties;
627
790
  }
628
791
  interface PageBackgroundFill {
629
792
  /**
630
793
  * The background fill property state. Updating the fill on a page will implicitly update this field to `RENDERED`, unless another value is specified in the same request. To have no
631
794
  * fill on a page, set this field to `NOT_RENDERED`. In this case, any other fill fields set in the same request will be ignored.
632
795
  */
633
- propertyState?: string;
796
+ propertyState?:
797
+ string;
634
798
  /** Solid color fill. */
635
- solidFill?: SolidFill;
799
+ solidFill?:
800
+ SolidFill;
636
801
  /** Stretched picture fill. */
637
- stretchedPictureFill?: StretchedPictureFill;
802
+ stretchedPictureFill?:
803
+ StretchedPictureFill;
638
804
  }
639
805
  interface PageElement {
640
806
  /** The description of the page element. Combined with title to display alt text. The field is not supported for Group elements. */
641
- description?: string;
807
+ description?:
808
+ string;
642
809
  /** A collection of page elements joined as a single unit. */
643
- elementGroup?: Group;
810
+ elementGroup?:
811
+ Group;
644
812
  /** An image page element. */
645
- image?: Image;
813
+ image?:
814
+ Image;
646
815
  /** A line page element. */
647
- line?: Line;
816
+ line?:
817
+ Line;
648
818
  /** The object ID for this page element. Object IDs used by google.apps.slides.v1.Page and google.apps.slides.v1.PageElement share the same namespace. */
649
- objectId?: string;
819
+ objectId?:
820
+ string;
650
821
  /** A generic shape. */
651
- shape?: Shape;
822
+ shape?:
823
+ Shape;
652
824
  /** A linked chart embedded from Google Sheets. Unlinked charts are represented as images. */
653
- sheetsChart?: SheetsChart;
825
+ sheetsChart?:
826
+ SheetsChart;
654
827
  /** The size of the page element. */
655
- size?: Size;
828
+ size?:
829
+ Size;
656
830
  /** A table page element. */
657
- table?: Table;
831
+ table?:
832
+ Table;
658
833
  /** The title of the page element. Combined with description to display alt text. The field is not supported for Group elements. */
659
- title?: string;
834
+ title?:
835
+ string;
660
836
  /**
661
837
  * The transform of the page element. The visual appearance of the page element is determined by its absolute transform. To compute the absolute transform, preconcatenate a page
662
838
  * element's transform with the transforms of all of its parent groups. If the page element is not in a group, its absolute transform is the same as the value in this field. The
663
839
  * initial transform for the newly created Group is always the identity transform.
664
840
  */
665
- transform?: AffineTransform;
841
+ transform?:
842
+ AffineTransform;
666
843
  /** A video page element. */
667
- video?: Video;
844
+ video?:
845
+ Video;
668
846
  /** A word art page element. */
669
- wordArt?: WordArt;
847
+ wordArt?:
848
+ WordArt;
670
849
  }
671
850
  interface PageElementProperties {
672
851
  /** The object ID of the page where the element is located. */
673
- pageObjectId?: string;
852
+ pageObjectId?:
853
+ string;
674
854
  /** The size of the element. */
675
- size?: Size;
855
+ size?:
856
+ Size;
676
857
  /** The transform for the element. */
677
- transform?: AffineTransform;
858
+ transform?:
859
+ AffineTransform;
678
860
  }
679
861
  interface PageProperties {
680
862
  /**
@@ -683,71 +865,93 @@ declare namespace gapi.client {
683
865
  * update the field, a color scheme containing mappings from all the first 12 ThemeColorTypes to their concrete colors must be provided. Colors for the remaining ThemeColorTypes will
684
866
  * be ignored.
685
867
  */
686
- colorScheme?: ColorScheme;
868
+ colorScheme?:
869
+ ColorScheme;
687
870
  /**
688
871
  * The background fill of the page. If unset, the background fill is inherited from a parent page if it exists. If the page has no parent, then the background fill defaults to the
689
872
  * corresponding fill in the Slides editor.
690
873
  */
691
- pageBackgroundFill?: PageBackgroundFill;
874
+ pageBackgroundFill?:
875
+ PageBackgroundFill;
692
876
  }
693
877
  interface ParagraphMarker {
694
878
  /** The bullet for this paragraph. If not present, the paragraph does not belong to a list. */
695
- bullet?: Bullet;
879
+ bullet?:
880
+ Bullet;
696
881
  /** The paragraph's style */
697
- style?: ParagraphStyle;
882
+ style?:
883
+ ParagraphStyle;
698
884
  }
699
885
  interface ParagraphStyle {
700
886
  /** The text alignment for this paragraph. */
701
- alignment?: string;
887
+ alignment?:
888
+ string;
702
889
  /** The text direction of this paragraph. If unset, the value defaults to LEFT_TO_RIGHT since text direction is not inherited. */
703
- direction?: string;
890
+ direction?:
891
+ string;
704
892
  /** The amount indentation for the paragraph on the side that corresponds to the end of the text, based on the current text direction. If unset, the value is inherited from the parent. */
705
- indentEnd?: Dimension;
893
+ indentEnd?:
894
+ Dimension;
706
895
  /** The amount of indentation for the start of the first line of the paragraph. If unset, the value is inherited from the parent. */
707
- indentFirstLine?: Dimension;
896
+ indentFirstLine?:
897
+ Dimension;
708
898
  /**
709
899
  * The amount indentation for the paragraph on the side that corresponds to the start of the text, based on the current text direction. If unset, the value is inherited from the
710
900
  * parent.
711
901
  */
712
- indentStart?: Dimension;
902
+ indentStart?:
903
+ Dimension;
713
904
  /** 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. */
714
- lineSpacing?: number;
905
+ lineSpacing?:
906
+ number;
715
907
  /** The amount of extra space above the paragraph. If unset, the value is inherited from the parent. */
716
- spaceAbove?: Dimension;
908
+ spaceAbove?:
909
+ Dimension;
717
910
  /** The amount of extra space below the paragraph. If unset, the value is inherited from the parent. */
718
- spaceBelow?: Dimension;
911
+ spaceBelow?:
912
+ Dimension;
719
913
  /** The spacing mode for the paragraph. */
720
- spacingMode?: string;
914
+ spacingMode?:
915
+ string;
721
916
  }
722
917
  interface Placeholder {
723
918
  /** The index of the placeholder. If the same placeholder types are present in the same page, they would have different index values. */
724
- index?: number;
919
+ index?:
920
+ number;
725
921
  /** The object ID of this shape's parent placeholder. If unset, the parent placeholder shape does not exist, so the shape does not inherit properties from any other shape. */
726
- parentObjectId?: string;
922
+ parentObjectId?:
923
+ string;
727
924
  /** The type of the placeholder. */
728
- type?: string;
925
+ type?:
926
+ string;
729
927
  }
730
928
  interface Presentation {
731
929
  /** The layouts in the presentation. A layout is a template that determines how content is arranged and styled on the slides that inherit from that layout. */
732
- layouts?: Page[];
930
+ layouts?:
931
+ Page[];
733
932
  /** The locale of the presentation, as an IETF BCP 47 language tag. */
734
- locale?: string;
933
+ locale?:
934
+ string;
735
935
  /**
736
936
  * The slide masters in the presentation. A slide master contains all common page elements and the common properties for a set of layouts. They serve three purposes: - Placeholder
737
937
  * shapes on a master contain the default text styles and shape properties of all placeholder shapes on pages that use that master. - The master page properties define the common page
738
938
  * properties inherited by its layouts. - Any other shapes on the master slide appear on all slides using that master, regardless of their layout.
739
939
  */
740
- masters?: Page[];
940
+ masters?:
941
+ Page[];
741
942
  /**
742
943
  * The notes master in the presentation. It serves three purposes: - Placeholder shapes on a notes master contain the default text styles and shape properties of all placeholder shapes
743
944
  * on notes pages. Specifically, a `SLIDE_IMAGE` placeholder shape contains the slide thumbnail, and a `BODY` placeholder shape contains the speaker notes. - The notes master page
744
945
  * properties define the common page properties inherited by all notes pages. - Any other shapes on the notes master appear on all notes pages. The notes master is read-only.
745
946
  */
746
- notesMaster?: Page;
947
+ notesMaster?:
948
+ Page;
747
949
  /** The size of pages in the presentation. */
748
- pageSize?: Size;
950
+ pageSize?:
951
+ Size;
749
952
  /** The ID of the presentation. */
750
- presentationId?: string;
953
+ presentationId?:
954
+ string;
751
955
  /**
752
956
  * Output only. The revision ID of the presentation. Can be used in update requests to assert the presentation revision hasn't changed since the last read operation. Only populated if
753
957
  * the user has edit access to the presentation. The revision ID is not a sequential number but a nebulous string. The format of the revision ID may change over time, so it should be
@@ -755,355 +959,476 @@ declare namespace gapi.client {
755
959
  * between calls, then the presentation has not changed. Conversely, a changed ID (for the same presentation and user) usually means the presentation has been updated. However, a
756
960
  * changed ID can also be due to internal factors such as ID format changes.
757
961
  */
758
- revisionId?: string;
962
+ revisionId?:
963
+ string;
759
964
  /** The slides in the presentation. A slide inherits properties from a slide layout. */
760
- slides?: Page[];
965
+ slides?:
966
+ Page[];
761
967
  /** The title of the presentation. */
762
- title?: string;
968
+ title?:
969
+ string;
763
970
  }
764
971
  interface Range {
765
972
  /** The optional zero-based index of the end of the collection. Required for `FIXED_RANGE` ranges. */
766
- endIndex?: number;
973
+ endIndex?:
974
+ number;
767
975
  /** The optional zero-based index of the beginning of the collection. Required for `FIXED_RANGE` and `FROM_START_INDEX` ranges. */
768
- startIndex?: number;
976
+ startIndex?:
977
+ number;
769
978
  /** The type of range. */
770
- type?: string;
979
+ type?:
980
+ string;
771
981
  }
772
982
  interface Recolor {
773
983
  /**
774
984
  * The name of the recolor effect. The name is determined from the `recolor_stops` by matching the gradient against the colors in the page's current color scheme. This property is
775
985
  * read-only.
776
986
  */
777
- name?: string;
987
+ name?:
988
+ string;
778
989
  /**
779
990
  * The recolor effect is represented by a gradient, which is a list of color stops. The colors in the gradient will replace the corresponding colors at the same position in the color
780
991
  * palette and apply to the image. This property is read-only.
781
992
  */
782
- recolorStops?: ColorStop[];
993
+ recolorStops?:
994
+ ColorStop[];
783
995
  }
784
996
  interface RefreshSheetsChartRequest {
785
997
  /** The object ID of the chart to refresh. */
786
- objectId?: string;
998
+ objectId?:
999
+ string;
787
1000
  }
788
1001
  interface ReplaceAllShapesWithImageRequest {
789
1002
  /** If set, this request will replace all of the shapes that contain the given text. */
790
- containsText?: SubstringMatchCriteria;
1003
+ containsText?:
1004
+ SubstringMatchCriteria;
791
1005
  /**
792
1006
  * The image replace method. If you specify both a `replace_method` and an `image_replace_method`, the `image_replace_method` takes precedence. If you do not specify a value for
793
1007
  * `image_replace_method`, but specify a value for `replace_method`, then the specified `replace_method` value is used. If you do not specify either, then CENTER_INSIDE is used.
794
1008
  */
795
- imageReplaceMethod?: string;
1009
+ imageReplaceMethod?:
1010
+ string;
796
1011
  /**
797
1012
  * The image URL. The image is fetched once at insertion time and a copy is stored for display inside the presentation. Images must be less than 50MB in size, cannot exceed 25
798
1013
  * megapixels, and must be in one of PNG, JPEG, or GIF format. The provided URL can be at most 2 kB in length. The URL itself is saved with the image, and exposed via the
799
1014
  * Image.source_url field.
800
1015
  */
801
- imageUrl?: string;
1016
+ imageUrl?:
1017
+ string;
802
1018
  /**
803
1019
  * If non-empty, limits the matches to page elements only on the given pages. Returns a 400 bad request error if given the page object ID of a notes page or a notes master, or if a
804
1020
  * page with that object ID doesn't exist in the presentation.
805
1021
  */
806
- pageObjectIds?: string[];
1022
+ pageObjectIds?:
1023
+ string[];
807
1024
  /**
808
1025
  * The replace method. *Deprecated*: use `image_replace_method` instead. If you specify both a `replace_method` and an `image_replace_method`, the `image_replace_method` takes
809
1026
  * precedence.
810
1027
  */
811
- replaceMethod?: string;
1028
+ replaceMethod?:
1029
+ string;
812
1030
  }
813
1031
  interface ReplaceAllShapesWithImageResponse {
814
1032
  /** The number of shapes replaced with images. */
815
- occurrencesChanged?: number;
1033
+ occurrencesChanged?:
1034
+ number;
816
1035
  }
817
1036
  interface ReplaceAllShapesWithSheetsChartRequest {
818
1037
  /** The ID of the specific chart in the Google Sheets spreadsheet. */
819
- chartId?: number;
1038
+ chartId?:
1039
+ number;
820
1040
  /** The criteria that the shapes must match in order to be replaced. The request will replace all of the shapes that contain the given text. */
821
- containsText?: SubstringMatchCriteria;
1041
+ containsText?:
1042
+ SubstringMatchCriteria;
822
1043
  /** The mode with which the chart is linked to the source spreadsheet. When not specified, the chart will be an image that is not linked. */
823
- linkingMode?: string;
1044
+ linkingMode?:
1045
+ string;
824
1046
  /**
825
1047
  * If non-empty, limits the matches to page elements only on the given pages. Returns a 400 bad request error if given the page object ID of a notes page or a notes master, or if a
826
1048
  * page with that object ID doesn't exist in the presentation.
827
1049
  */
828
- pageObjectIds?: string[];
1050
+ pageObjectIds?:
1051
+ string[];
829
1052
  /** The ID of the Google Sheets spreadsheet that contains the chart. */
830
- spreadsheetId?: string;
1053
+ spreadsheetId?:
1054
+ string;
831
1055
  }
832
1056
  interface ReplaceAllShapesWithSheetsChartResponse {
833
1057
  /** The number of shapes replaced with charts. */
834
- occurrencesChanged?: number;
1058
+ occurrencesChanged?:
1059
+ number;
835
1060
  }
836
1061
  interface ReplaceAllTextRequest {
837
1062
  /** Finds text in a shape matching this substring. */
838
- containsText?: SubstringMatchCriteria;
1063
+ containsText?:
1064
+ SubstringMatchCriteria;
839
1065
  /**
840
1066
  * If non-empty, limits the matches to page elements only on the given pages. Returns a 400 bad request error if given the page object ID of a notes master, or if a page with that
841
1067
  * object ID doesn't exist in the presentation.
842
1068
  */
843
- pageObjectIds?: string[];
1069
+ pageObjectIds?:
1070
+ string[];
844
1071
  /** The text that will replace the matched text. */
845
- replaceText?: string;
1072
+ replaceText?:
1073
+ string;
846
1074
  }
847
1075
  interface ReplaceAllTextResponse {
848
1076
  /** The number of occurrences changed by replacing all text. */
849
- occurrencesChanged?: number;
1077
+ occurrencesChanged?:
1078
+ number;
850
1079
  }
851
1080
  interface ReplaceImageRequest {
852
1081
  /** The ID of the existing image that will be replaced. The ID can be retrieved from the response of a get request. */
853
- imageObjectId?: string;
1082
+ imageObjectId?:
1083
+ string;
854
1084
  /** The replacement method. */
855
- imageReplaceMethod?: string;
1085
+ imageReplaceMethod?:
1086
+ string;
856
1087
  /**
857
1088
  * The image URL. The image is fetched once at insertion time and a copy is stored for display inside the presentation. Images must be less than 50MB, cannot exceed 25 megapixels, and
858
1089
  * must be in PNG, JPEG, or GIF format. The provided URL can't surpass 2 KB in length. The URL is saved with the image, and exposed through the Image.source_url field.
859
1090
  */
860
- url?: string;
1091
+ url?:
1092
+ string;
861
1093
  }
862
1094
  interface Request {
863
1095
  /** Creates an image. */
864
- createImage?: CreateImageRequest;
1096
+ createImage?:
1097
+ CreateImageRequest;
865
1098
  /** Creates a line. */
866
- createLine?: CreateLineRequest;
1099
+ createLine?:
1100
+ CreateLineRequest;
867
1101
  /** Creates bullets for paragraphs. */
868
- createParagraphBullets?: CreateParagraphBulletsRequest;
1102
+ createParagraphBullets?:
1103
+ CreateParagraphBulletsRequest;
869
1104
  /** Creates a new shape. */
870
- createShape?: CreateShapeRequest;
1105
+ createShape?:
1106
+ CreateShapeRequest;
871
1107
  /** Creates an embedded Google Sheets chart. */
872
- createSheetsChart?: CreateSheetsChartRequest;
1108
+ createSheetsChart?:
1109
+ CreateSheetsChartRequest;
873
1110
  /** Creates a new slide. */
874
- createSlide?: CreateSlideRequest;
1111
+ createSlide?:
1112
+ CreateSlideRequest;
875
1113
  /** Creates a new table. */
876
- createTable?: CreateTableRequest;
1114
+ createTable?:
1115
+ CreateTableRequest;
877
1116
  /** Creates a video. */
878
- createVideo?: CreateVideoRequest;
1117
+ createVideo?:
1118
+ CreateVideoRequest;
879
1119
  /** Deletes a page or page element from the presentation. */
880
- deleteObject?: DeleteObjectRequest;
1120
+ deleteObject?:
1121
+ DeleteObjectRequest;
881
1122
  /** Deletes bullets from paragraphs. */
882
- deleteParagraphBullets?: DeleteParagraphBulletsRequest;
1123
+ deleteParagraphBullets?:
1124
+ DeleteParagraphBulletsRequest;
883
1125
  /** Deletes a column from a table. */
884
- deleteTableColumn?: DeleteTableColumnRequest;
1126
+ deleteTableColumn?:
1127
+ DeleteTableColumnRequest;
885
1128
  /** Deletes a row from a table. */
886
- deleteTableRow?: DeleteTableRowRequest;
1129
+ deleteTableRow?:
1130
+ DeleteTableRowRequest;
887
1131
  /** Deletes text from a shape or a table cell. */
888
- deleteText?: DeleteTextRequest;
1132
+ deleteText?:
1133
+ DeleteTextRequest;
889
1134
  /** Duplicates a slide or page element. */
890
- duplicateObject?: DuplicateObjectRequest;
1135
+ duplicateObject?:
1136
+ DuplicateObjectRequest;
891
1137
  /** Groups objects, such as page elements. */
892
- groupObjects?: GroupObjectsRequest;
1138
+ groupObjects?:
1139
+ GroupObjectsRequest;
893
1140
  /** Inserts columns into a table. */
894
- insertTableColumns?: InsertTableColumnsRequest;
1141
+ insertTableColumns?:
1142
+ InsertTableColumnsRequest;
895
1143
  /** Inserts rows into a table. */
896
- insertTableRows?: InsertTableRowsRequest;
1144
+ insertTableRows?:
1145
+ InsertTableRowsRequest;
897
1146
  /** Inserts text into a shape or table cell. */
898
- insertText?: InsertTextRequest;
1147
+ insertText?:
1148
+ InsertTextRequest;
899
1149
  /** Merges cells in a Table. */
900
- mergeTableCells?: MergeTableCellsRequest;
1150
+ mergeTableCells?:
1151
+ MergeTableCellsRequest;
901
1152
  /** Refreshes a Google Sheets chart. */
902
- refreshSheetsChart?: RefreshSheetsChartRequest;
1153
+ refreshSheetsChart?:
1154
+ RefreshSheetsChartRequest;
903
1155
  /** Replaces all shapes matching some criteria with an image. */
904
- replaceAllShapesWithImage?: ReplaceAllShapesWithImageRequest;
1156
+ replaceAllShapesWithImage?:
1157
+ ReplaceAllShapesWithImageRequest;
905
1158
  /** Replaces all shapes matching some criteria with a Google Sheets chart. */
906
- replaceAllShapesWithSheetsChart?: ReplaceAllShapesWithSheetsChartRequest;
1159
+ replaceAllShapesWithSheetsChart?:
1160
+ ReplaceAllShapesWithSheetsChartRequest;
907
1161
  /** Replaces all instances of specified text. */
908
- replaceAllText?: ReplaceAllTextRequest;
1162
+ replaceAllText?:
1163
+ ReplaceAllTextRequest;
909
1164
  /** Replaces an existing image with a new image. */
910
- replaceImage?: ReplaceImageRequest;
1165
+ replaceImage?:
1166
+ ReplaceImageRequest;
911
1167
  /** Reroutes a line such that it's connected at the two closest connection sites on the connected page elements. */
912
- rerouteLine?: RerouteLineRequest;
1168
+ rerouteLine?:
1169
+ RerouteLineRequest;
913
1170
  /** Ungroups objects, such as groups. */
914
- ungroupObjects?: UngroupObjectsRequest;
1171
+ ungroupObjects?:
1172
+ UngroupObjectsRequest;
915
1173
  /** Unmerges cells in a Table. */
916
- unmergeTableCells?: UnmergeTableCellsRequest;
1174
+ unmergeTableCells?:
1175
+ UnmergeTableCellsRequest;
917
1176
  /** Updates the properties of an Image. */
918
- updateImageProperties?: UpdateImagePropertiesRequest;
1177
+ updateImageProperties?:
1178
+ UpdateImagePropertiesRequest;
919
1179
  /** Updates the category of a line. */
920
- updateLineCategory?: UpdateLineCategoryRequest;
1180
+ updateLineCategory?:
1181
+ UpdateLineCategoryRequest;
921
1182
  /** Updates the properties of a Line. */
922
- updateLineProperties?: UpdateLinePropertiesRequest;
1183
+ updateLineProperties?:
1184
+ UpdateLinePropertiesRequest;
923
1185
  /** Updates the alt text title and/or description of a page element. */
924
- updatePageElementAltText?: UpdatePageElementAltTextRequest;
1186
+ updatePageElementAltText?:
1187
+ UpdatePageElementAltTextRequest;
925
1188
  /** Updates the Z-order of page elements. */
926
- updatePageElementsZOrder?: UpdatePageElementsZOrderRequest;
1189
+ updatePageElementsZOrder?:
1190
+ UpdatePageElementsZOrderRequest;
927
1191
  /** Updates the transform of a page element. */
928
- updatePageElementTransform?: UpdatePageElementTransformRequest;
1192
+ updatePageElementTransform?:
1193
+ UpdatePageElementTransformRequest;
929
1194
  /** Updates the properties of a Page. */
930
- updatePageProperties?: UpdatePagePropertiesRequest;
1195
+ updatePageProperties?:
1196
+ UpdatePagePropertiesRequest;
931
1197
  /** Updates the styling of paragraphs within a Shape or Table. */
932
- updateParagraphStyle?: UpdateParagraphStyleRequest;
1198
+ updateParagraphStyle?:
1199
+ UpdateParagraphStyleRequest;
933
1200
  /** Updates the properties of a Shape. */
934
- updateShapeProperties?: UpdateShapePropertiesRequest;
1201
+ updateShapeProperties?:
1202
+ UpdateShapePropertiesRequest;
935
1203
  /** Updates the properties of a Slide */
936
- updateSlideProperties?: UpdateSlidePropertiesRequest;
1204
+ updateSlideProperties?:
1205
+ UpdateSlidePropertiesRequest;
937
1206
  /** Updates the position of a set of slides in the presentation. */
938
- updateSlidesPosition?: UpdateSlidesPositionRequest;
1207
+ updateSlidesPosition?:
1208
+ UpdateSlidesPositionRequest;
939
1209
  /** Updates the properties of the table borders in a Table. */
940
- updateTableBorderProperties?: UpdateTableBorderPropertiesRequest;
1210
+ updateTableBorderProperties?:
1211
+ UpdateTableBorderPropertiesRequest;
941
1212
  /** Updates the properties of a TableCell. */
942
- updateTableCellProperties?: UpdateTableCellPropertiesRequest;
1213
+ updateTableCellProperties?:
1214
+ UpdateTableCellPropertiesRequest;
943
1215
  /** Updates the properties of a Table column. */
944
- updateTableColumnProperties?: UpdateTableColumnPropertiesRequest;
1216
+ updateTableColumnProperties?:
1217
+ UpdateTableColumnPropertiesRequest;
945
1218
  /** Updates the properties of a Table row. */
946
- updateTableRowProperties?: UpdateTableRowPropertiesRequest;
1219
+ updateTableRowProperties?:
1220
+ UpdateTableRowPropertiesRequest;
947
1221
  /** Updates the styling of text within a Shape or Table. */
948
- updateTextStyle?: UpdateTextStyleRequest;
1222
+ updateTextStyle?:
1223
+ UpdateTextStyleRequest;
949
1224
  /** Updates the properties of a Video. */
950
- updateVideoProperties?: UpdateVideoPropertiesRequest;
1225
+ updateVideoProperties?:
1226
+ UpdateVideoPropertiesRequest;
951
1227
  }
952
1228
  interface RerouteLineRequest {
953
1229
  /**
954
1230
  * The object ID of the line to reroute. Only a line with a category indicating it is a "connector" can be rerouted. The start and end connections of the line must be on different page
955
1231
  * elements.
956
1232
  */
957
- objectId?: string;
1233
+ objectId?:
1234
+ string;
958
1235
  }
959
1236
  interface Response {
960
1237
  /** The result of creating an image. */
961
- createImage?: CreateImageResponse;
1238
+ createImage?:
1239
+ CreateImageResponse;
962
1240
  /** The result of creating a line. */
963
- createLine?: CreateLineResponse;
1241
+ createLine?:
1242
+ CreateLineResponse;
964
1243
  /** The result of creating a shape. */
965
- createShape?: CreateShapeResponse;
1244
+ createShape?:
1245
+ CreateShapeResponse;
966
1246
  /** The result of creating a Google Sheets chart. */
967
- createSheetsChart?: CreateSheetsChartResponse;
1247
+ createSheetsChart?:
1248
+ CreateSheetsChartResponse;
968
1249
  /** The result of creating a slide. */
969
- createSlide?: CreateSlideResponse;
1250
+ createSlide?:
1251
+ CreateSlideResponse;
970
1252
  /** The result of creating a table. */
971
- createTable?: CreateTableResponse;
1253
+ createTable?:
1254
+ CreateTableResponse;
972
1255
  /** The result of creating a video. */
973
- createVideo?: CreateVideoResponse;
1256
+ createVideo?:
1257
+ CreateVideoResponse;
974
1258
  /** The result of duplicating an object. */
975
- duplicateObject?: DuplicateObjectResponse;
1259
+ duplicateObject?:
1260
+ DuplicateObjectResponse;
976
1261
  /** The result of grouping objects. */
977
- groupObjects?: GroupObjectsResponse;
1262
+ groupObjects?:
1263
+ GroupObjectsResponse;
978
1264
  /** The result of replacing all shapes matching some criteria with an image. */
979
- replaceAllShapesWithImage?: ReplaceAllShapesWithImageResponse;
1265
+ replaceAllShapesWithImage?:
1266
+ ReplaceAllShapesWithImageResponse;
980
1267
  /** The result of replacing all shapes matching some criteria with a Google Sheets chart. */
981
- replaceAllShapesWithSheetsChart?: ReplaceAllShapesWithSheetsChartResponse;
1268
+ replaceAllShapesWithSheetsChart?:
1269
+ ReplaceAllShapesWithSheetsChartResponse;
982
1270
  /** The result of replacing text. */
983
- replaceAllText?: ReplaceAllTextResponse;
1271
+ replaceAllText?:
1272
+ ReplaceAllTextResponse;
984
1273
  }
985
1274
  interface RgbColor {
986
1275
  /** The blue component of the color, from 0.0 to 1.0. */
987
- blue?: number;
1276
+ blue?:
1277
+ number;
988
1278
  /** The green component of the color, from 0.0 to 1.0. */
989
- green?: number;
1279
+ green?:
1280
+ number;
990
1281
  /** The red component of the color, from 0.0 to 1.0. */
991
- red?: number;
1282
+ red?:
1283
+ number;
992
1284
  }
993
1285
  interface Shadow {
994
1286
  /** The alignment point of the shadow, that sets the origin for translate, scale and skew of the shadow. This property is read-only. */
995
- alignment?: string;
1287
+ alignment?:
1288
+ string;
996
1289
  /** The alpha of the shadow's color, from 0.0 to 1.0. */
997
- alpha?: number;
1290
+ alpha?:
1291
+ number;
998
1292
  /** The radius of the shadow blur. The larger the radius, the more diffuse the shadow becomes. */
999
- blurRadius?: Dimension;
1293
+ blurRadius?:
1294
+ Dimension;
1000
1295
  /** The shadow color value. */
1001
- color?: OpaqueColor;
1296
+ color?:
1297
+ OpaqueColor;
1002
1298
  /**
1003
1299
  * The shadow property state. Updating the shadow on a page element will implicitly update this field to `RENDERED`, unless another value is specified in the same request. To have no
1004
1300
  * shadow on a page element, set this field to `NOT_RENDERED`. In this case, any other shadow fields set in the same request will be ignored.
1005
1301
  */
1006
- propertyState?: string;
1302
+ propertyState?:
1303
+ string;
1007
1304
  /** Whether the shadow should rotate with the shape. This property is read-only. */
1008
- rotateWithShape?: boolean;
1305
+ rotateWithShape?:
1306
+ boolean;
1009
1307
  /** Transform that encodes the translate, scale, and skew of the shadow, relative to the alignment position. */
1010
- transform?: AffineTransform;
1308
+ transform?:
1309
+ AffineTransform;
1011
1310
  /** The type of the shadow. This property is read-only. */
1012
- type?: string;
1311
+ type?:
1312
+ string;
1013
1313
  }
1014
1314
  interface Shape {
1015
1315
  /**
1016
1316
  * Placeholders are page elements that inherit from corresponding placeholders on layouts and masters. If set, the shape is a placeholder shape and any inherited properties can be
1017
1317
  * resolved by looking at the parent placeholder identified by the Placeholder.parent_object_id field.
1018
1318
  */
1019
- placeholder?: Placeholder;
1319
+ placeholder?:
1320
+ Placeholder;
1020
1321
  /** The properties of the shape. */
1021
- shapeProperties?: ShapeProperties;
1322
+ shapeProperties?:
1323
+ ShapeProperties;
1022
1324
  /** The type of the shape. */
1023
- shapeType?: string;
1325
+ shapeType?:
1326
+ string;
1024
1327
  /** The text content of the shape. */
1025
- text?: TextContent;
1328
+ text?:
1329
+ TextContent;
1026
1330
  }
1027
1331
  interface ShapeBackgroundFill {
1028
1332
  /**
1029
1333
  * The background fill property state. Updating the fill on a shape will implicitly update this field to `RENDERED`, unless another value is specified in the same request. To have no
1030
1334
  * fill on a shape, set this field to `NOT_RENDERED`. In this case, any other fill fields set in the same request will be ignored.
1031
1335
  */
1032
- propertyState?: string;
1336
+ propertyState?:
1337
+ string;
1033
1338
  /** Solid color fill. */
1034
- solidFill?: SolidFill;
1339
+ solidFill?:
1340
+ SolidFill;
1035
1341
  }
1036
1342
  interface ShapeProperties {
1037
1343
  /** The autofit properties of the shape. This property is only set for shapes that allow text. */
1038
- autofit?: Autofit;
1344
+ autofit?:
1345
+ Autofit;
1039
1346
  /**
1040
1347
  * The alignment of the content in the shape. If unspecified, the alignment is inherited from a parent placeholder if it exists. If the shape has no parent, the default alignment
1041
1348
  * matches the alignment for new shapes created in the Slides editor.
1042
1349
  */
1043
- contentAlignment?: string;
1350
+ contentAlignment?:
1351
+ string;
1044
1352
  /** The hyperlink destination of the shape. If unset, there is no link. Links are not inherited from parent placeholders. */
1045
- link?: Link;
1353
+ link?:
1354
+ Link;
1046
1355
  /**
1047
1356
  * The outline of the shape. If unset, the outline is inherited from a parent placeholder if it exists. If the shape has no parent, then the default outline depends on the shape type,
1048
1357
  * matching the defaults for new shapes created in the Slides editor.
1049
1358
  */
1050
- outline?: Outline;
1359
+ outline?:
1360
+ Outline;
1051
1361
  /**
1052
1362
  * The shadow properties of the shape. If unset, the shadow is inherited from a parent placeholder if it exists. If the shape has no parent, then the default shadow matches the
1053
1363
  * defaults for new shapes created in the Slides editor. This property is read-only.
1054
1364
  */
1055
- shadow?: Shadow;
1365
+ shadow?:
1366
+ Shadow;
1056
1367
  /**
1057
1368
  * The background fill of the shape. If unset, the background fill is inherited from a parent placeholder if it exists. If the shape has no parent, then the default background fill
1058
1369
  * depends on the shape type, matching the defaults for new shapes created in the Slides editor.
1059
1370
  */
1060
- shapeBackgroundFill?: ShapeBackgroundFill;
1371
+ shapeBackgroundFill?:
1372
+ ShapeBackgroundFill;
1061
1373
  }
1062
1374
  interface SheetsChart {
1063
1375
  /** The ID of the specific chart in the Google Sheets spreadsheet that is embedded. */
1064
- chartId?: number;
1376
+ chartId?:
1377
+ number;
1065
1378
  /**
1066
1379
  * The URL of an image of the embedded chart, with a default lifetime of 30 minutes. This URL is tagged with the account of the requester. Anyone with the URL effectively accesses the
1067
1380
  * image as the original requester. Access to the image may be lost if the presentation's sharing settings change.
1068
1381
  */
1069
- contentUrl?: string;
1382
+ contentUrl?:
1383
+ string;
1070
1384
  /** The properties of the Sheets chart. */
1071
- sheetsChartProperties?: SheetsChartProperties;
1385
+ sheetsChartProperties?:
1386
+ SheetsChartProperties;
1072
1387
  /** The ID of the Google Sheets spreadsheet that contains the source chart. */
1073
- spreadsheetId?: string;
1388
+ spreadsheetId?:
1389
+ string;
1074
1390
  }
1075
1391
  interface SheetsChartProperties {
1076
1392
  /** The properties of the embedded chart image. */
1077
- chartImageProperties?: ImageProperties;
1393
+ chartImageProperties?:
1394
+ ImageProperties;
1078
1395
  }
1079
1396
  interface Size {
1080
1397
  /** The height of the object. */
1081
- height?: Dimension;
1398
+ height?:
1399
+ Dimension;
1082
1400
  /** The width of the object. */
1083
- width?: Dimension;
1401
+ width?:
1402
+ Dimension;
1084
1403
  }
1085
1404
  interface SlideProperties {
1086
1405
  /** Whether the slide is skipped in the presentation mode. Defaults to false. */
1087
- isSkipped?: boolean;
1406
+ isSkipped?:
1407
+ boolean;
1088
1408
  /** The object ID of the layout that this slide is based on. This property is read-only. */
1089
- layoutObjectId?: string;
1409
+ layoutObjectId?:
1410
+ string;
1090
1411
  /** The object ID of the master that this slide is based on. This property is read-only. */
1091
- masterObjectId?: string;
1412
+ masterObjectId?:
1413
+ string;
1092
1414
  /**
1093
1415
  * The notes page that this slide is associated with. It defines the visual appearance of a notes page when printing or exporting slides with speaker notes. A notes page inherits
1094
1416
  * properties from the notes master. The placeholder shape with type BODY on the notes page contains the speaker notes for this slide. The ID of this shape is identified by the
1095
1417
  * speakerNotesObjectId field. The notes page is read-only except for the text content and styles of the speaker notes shape. This property is read-only.
1096
1418
  */
1097
- notesPage?: Page;
1419
+ notesPage?:
1420
+ Page;
1098
1421
  }
1099
1422
  interface SolidFill {
1100
1423
  /**
1101
1424
  * The fraction of this `color` that should be applied to the pixel. That is, the final pixel color is defined by the equation: pixel color = alpha * (color) + (1.0 - alpha) *
1102
1425
  * (background color) This means that a value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent color.
1103
1426
  */
1104
- alpha?: number;
1427
+ alpha?:
1428
+ number;
1105
1429
  /** The color value of the solid fill. */
1106
- color?: OpaqueColor;
1430
+ color?:
1431
+ OpaqueColor;
1107
1432
  }
1108
1433
  interface StretchedPictureFill {
1109
1434
  /**
@@ -1112,170 +1437,222 @@ declare namespace gapi.client {
1112
1437
  * insertion time and a copy is stored for display inside the presentation. Pictures must be less than 50MB in size, cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or
1113
1438
  * GIF format. The provided URL can be at most 2 kB in length.
1114
1439
  */
1115
- contentUrl?: string;
1440
+ contentUrl?:
1441
+ string;
1116
1442
  /** The original size of the picture fill. This field is read-only. */
1117
- size?: Size;
1443
+ size?:
1444
+ Size;
1118
1445
  }
1119
1446
  interface SubstringMatchCriteria {
1120
1447
  /** Indicates whether the search should respect case: - `True`: the search is case sensitive. - `False`: the search is case insensitive. */
1121
- matchCase?: boolean;
1448
+ matchCase?:
1449
+ boolean;
1122
1450
  /** The text to search for in the shape or table. */
1123
- text?: string;
1451
+ text?:
1452
+ string;
1124
1453
  }
1125
1454
  interface Table {
1126
1455
  /** Number of columns in the table. */
1127
- columns?: number;
1456
+ columns?:
1457
+ number;
1128
1458
  /**
1129
1459
  * Properties of horizontal cell borders. A table's horizontal cell borders are represented as a grid. The grid has one more row than the number of rows in the table and the same
1130
1460
  * number of columns as the table. For example, if the table is 3 x 3, its horizontal borders will be represented as a grid with 4 rows and 3 columns.
1131
1461
  */
1132
- horizontalBorderRows?: TableBorderRow[];
1462
+ horizontalBorderRows?:
1463
+ TableBorderRow[];
1133
1464
  /** Number of rows in the table. */
1134
- rows?: number;
1465
+ rows?:
1466
+ number;
1135
1467
  /** Properties of each column. */
1136
- tableColumns?: TableColumnProperties[];
1468
+ tableColumns?:
1469
+ TableColumnProperties[];
1137
1470
  /** Properties and contents of each row. Cells that span multiple rows are contained in only one of these rows and have a row_span greater than 1. */
1138
- tableRows?: TableRow[];
1471
+ tableRows?:
1472
+ TableRow[];
1139
1473
  /**
1140
1474
  * Properties of vertical cell borders. A table's vertical cell borders are represented as a grid. The grid has the same number of rows as the table and one more column than the number
1141
1475
  * of columns in the table. For example, if the table is 3 x 3, its vertical borders will be represented as a grid with 3 rows and 4 columns.
1142
1476
  */
1143
- verticalBorderRows?: TableBorderRow[];
1477
+ verticalBorderRows?:
1478
+ TableBorderRow[];
1144
1479
  }
1145
1480
  interface TableBorderCell {
1146
1481
  /** The location of the border within the border table. */
1147
- location?: TableCellLocation;
1482
+ location?:
1483
+ TableCellLocation;
1148
1484
  /** The border properties. */
1149
- tableBorderProperties?: TableBorderProperties;
1485
+ tableBorderProperties?:
1486
+ TableBorderProperties;
1150
1487
  }
1151
1488
  interface TableBorderFill {
1152
1489
  /** Solid fill. */
1153
- solidFill?: SolidFill;
1490
+ solidFill?:
1491
+ SolidFill;
1154
1492
  }
1155
1493
  interface TableBorderProperties {
1156
1494
  /** The dash style of the border. */
1157
- dashStyle?: string;
1495
+ dashStyle?:
1496
+ string;
1158
1497
  /** The fill of the table border. */
1159
- tableBorderFill?: TableBorderFill;
1498
+ tableBorderFill?:
1499
+ TableBorderFill;
1160
1500
  /** The thickness of the border. */
1161
- weight?: Dimension;
1501
+ weight?:
1502
+ Dimension;
1162
1503
  }
1163
1504
  interface TableBorderRow {
1164
1505
  /** Properties of each border cell. When a border's adjacent table cells are merged, it is not included in the response. */
1165
- tableBorderCells?: TableBorderCell[];
1506
+ tableBorderCells?:
1507
+ TableBorderCell[];
1166
1508
  }
1167
1509
  interface TableCell {
1168
1510
  /** Column span of the cell. */
1169
- columnSpan?: number;
1511
+ columnSpan?:
1512
+ number;
1170
1513
  /** The location of the cell within the table. */
1171
- location?: TableCellLocation;
1514
+ location?:
1515
+ TableCellLocation;
1172
1516
  /** Row span of the cell. */
1173
- rowSpan?: number;
1517
+ rowSpan?:
1518
+ number;
1174
1519
  /** The properties of the table cell. */
1175
- tableCellProperties?: TableCellProperties;
1520
+ tableCellProperties?:
1521
+ TableCellProperties;
1176
1522
  /** The text content of the cell. */
1177
- text?: TextContent;
1523
+ text?:
1524
+ TextContent;
1178
1525
  }
1179
1526
  interface TableCellBackgroundFill {
1180
1527
  /**
1181
1528
  * The background fill property state. Updating the fill on a table cell will implicitly update this field to `RENDERED`, unless another value is specified in the same request. To have
1182
1529
  * no fill on a table cell, set this field to `NOT_RENDERED`. In this case, any other fill fields set in the same request will be ignored.
1183
1530
  */
1184
- propertyState?: string;
1531
+ propertyState?:
1532
+ string;
1185
1533
  /** Solid color fill. */
1186
- solidFill?: SolidFill;
1534
+ solidFill?:
1535
+ SolidFill;
1187
1536
  }
1188
1537
  interface TableCellLocation {
1189
1538
  /** The 0-based column index. */
1190
- columnIndex?: number;
1539
+ columnIndex?:
1540
+ number;
1191
1541
  /** The 0-based row index. */
1192
- rowIndex?: number;
1542
+ rowIndex?:
1543
+ number;
1193
1544
  }
1194
1545
  interface TableCellProperties {
1195
1546
  /** The alignment of the content in the table cell. The default alignment matches the alignment for newly created table cells in the Slides editor. */
1196
- contentAlignment?: string;
1547
+ contentAlignment?:
1548
+ string;
1197
1549
  /** The background fill of the table cell. The default fill matches the fill for newly created table cells in the Slides editor. */
1198
- tableCellBackgroundFill?: TableCellBackgroundFill;
1550
+ tableCellBackgroundFill?:
1551
+ TableCellBackgroundFill;
1199
1552
  }
1200
1553
  interface TableColumnProperties {
1201
1554
  /** Width of a column. */
1202
- columnWidth?: Dimension;
1555
+ columnWidth?:
1556
+ Dimension;
1203
1557
  }
1204
1558
  interface TableRange {
1205
1559
  /** The column span of the table range. */
1206
- columnSpan?: number;
1560
+ columnSpan?:
1561
+ number;
1207
1562
  /** The starting location of the table range. */
1208
- location?: TableCellLocation;
1563
+ location?:
1564
+ TableCellLocation;
1209
1565
  /** The row span of the table range. */
1210
- rowSpan?: number;
1566
+ rowSpan?:
1567
+ number;
1211
1568
  }
1212
1569
  interface TableRow {
1213
1570
  /** Height of a row. */
1214
- rowHeight?: Dimension;
1571
+ rowHeight?:
1572
+ Dimension;
1215
1573
  /**
1216
1574
  * Properties and contents of each cell. Cells that span multiple columns are represented only once with a column_span greater than 1. As a result, the length of this collection does
1217
1575
  * not always match the number of columns of the entire table.
1218
1576
  */
1219
- tableCells?: TableCell[];
1577
+ tableCells?:
1578
+ TableCell[];
1220
1579
  /** Properties of the row. */
1221
- tableRowProperties?: TableRowProperties;
1580
+ tableRowProperties?:
1581
+ TableRowProperties;
1222
1582
  }
1223
1583
  interface TableRowProperties {
1224
1584
  /** Minimum height of the row. The row will be rendered in the Slides editor at a height equal to or greater than this value in order to show all the text in the row's cell(s). */
1225
- minRowHeight?: Dimension;
1585
+ minRowHeight?:
1586
+ Dimension;
1226
1587
  }
1227
1588
  interface TextContent {
1228
1589
  /** The bulleted lists contained in this text, keyed by list ID. */
1229
- lists?: { [P in string]: List };
1590
+ lists?:
1591
+ { [P in string]: List };
1230
1592
  /** The text contents broken down into its component parts, including styling information. This property is read-only. */
1231
- textElements?: TextElement[];
1593
+ textElements?:
1594
+ TextElement[];
1232
1595
  }
1233
1596
  interface TextElement {
1234
1597
  /** A TextElement representing a spot in the text that is dynamically replaced with content that can change over time. */
1235
- autoText?: AutoText;
1598
+ autoText?:
1599
+ AutoText;
1236
1600
  /** The zero-based end index of this text element, exclusive, in Unicode code units. */
1237
- endIndex?: number;
1601
+ endIndex?:
1602
+ number;
1238
1603
  /**
1239
1604
  * A marker representing the beginning of a new paragraph. The `start_index` and `end_index` of this TextElement represent the range of the paragraph. Other TextElements with an index
1240
1605
  * range contained inside this paragraph's range are considered to be part of this paragraph. The range of indices of two separate paragraphs will never overlap.
1241
1606
  */
1242
- paragraphMarker?: ParagraphMarker;
1607
+ paragraphMarker?:
1608
+ ParagraphMarker;
1243
1609
  /** The zero-based start index of this text element, in Unicode code units. */
1244
- startIndex?: number;
1610
+ startIndex?:
1611
+ number;
1245
1612
  /**
1246
1613
  * A TextElement representing a run of text where all of the characters in the run have the same TextStyle. The `start_index` and `end_index` of TextRuns will always be fully contained
1247
1614
  * in the index range of a single `paragraph_marker` TextElement. In other words, a TextRun will never span multiple paragraphs.
1248
1615
  */
1249
- textRun?: TextRun;
1616
+ textRun?:
1617
+ TextRun;
1250
1618
  }
1251
1619
  interface TextRun {
1252
1620
  /** The text of this run. */
1253
- content?: string;
1621
+ content?:
1622
+ string;
1254
1623
  /** The styling applied to this run. */
1255
- style?: TextStyle;
1624
+ style?:
1625
+ TextStyle;
1256
1626
  }
1257
1627
  interface TextStyle {
1258
1628
  /** The background color of the text. If set, the color is either opaque or transparent, depending on if the `opaque_color` field in it is set. */
1259
- backgroundColor?: OptionalColor;
1629
+ backgroundColor?:
1630
+ OptionalColor;
1260
1631
  /**
1261
1632
  * 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
1262
1633
  * `font_size` field. The `font_size` itself is not affected by changes in this field.
1263
1634
  */
1264
- baselineOffset?: string;
1635
+ baselineOffset?:
1636
+ string;
1265
1637
  /** Whether or not the text is rendered as bold. */
1266
- bold?: boolean;
1638
+ bold?:
1639
+ boolean;
1267
1640
  /**
1268
1641
  * The font family of the text. The font family can be any font from the Font menu in Slides or from [Google Fonts] (https://fonts.google.com/). If the font name is unrecognized, the
1269
1642
  * text is rendered in `Arial`. Some fonts can affect the weight of the text. If an update request specifies values for both `font_family` and `bold`, the explicitly-set `bold` value
1270
1643
  * is used.
1271
1644
  */
1272
- fontFamily?: string;
1645
+ fontFamily?:
1646
+ string;
1273
1647
  /** The size of the text's font. When read, the `font_size` will specified in points. */
1274
- fontSize?: Dimension;
1648
+ fontSize?:
1649
+ Dimension;
1275
1650
  /** The color of the text itself. If set, the color is either opaque or transparent, depending on if the `opaque_color` field in it is set. */
1276
- foregroundColor?: OptionalColor;
1651
+ foregroundColor?:
1652
+ OptionalColor;
1277
1653
  /** Whether or not the text is italicized. */
1278
- italic?: boolean;
1654
+ italic?:
1655
+ boolean;
1279
1656
  /**
1280
1657
  * The hyperlink destination of the text. If unset, there is no link. Links are not inherited from parent text. Changing the link in an update request causes some other changes to the
1281
1658
  * text style of the range: * When setting a link, the text foreground color will be set to ThemeColorType.HYPERLINK and the text will be underlined. If these fields are modified in
@@ -1285,13 +1662,17 @@ declare namespace gapi.client {
1285
1662
  * 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
1286
1663
  * request.
1287
1664
  */
1288
- link?: Link;
1665
+ link?:
1666
+ Link;
1289
1667
  /** Whether or not the text is in small capital letters. */
1290
- smallCaps?: boolean;
1668
+ smallCaps?:
1669
+ boolean;
1291
1670
  /** Whether or not the text is struck through. */
1292
- strikethrough?: boolean;
1671
+ strikethrough?:
1672
+ boolean;
1293
1673
  /** Whether or not the text is underlined. */
1294
- underline?: boolean;
1674
+ underline?:
1675
+ boolean;
1295
1676
  /**
1296
1677
  * The font family and rendered weight of the text. This field is an extension of `font_family` meant to support explicit font weights without breaking backwards compatibility. As
1297
1678
  * such, when reading the style of a range of text, the value of `weighted_font_family#font_family` will always be equal to that of `font_family`. However, when writing, if both fields
@@ -1303,13 +1684,16 @@ declare namespace gapi.client {
1303
1684
  * then `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
1304
1685
  * non-empty value. Otherwise, a 400 bad request error is returned.
1305
1686
  */
1306
- weightedFontFamily?: WeightedFontFamily;
1687
+ weightedFontFamily?:
1688
+ WeightedFontFamily;
1307
1689
  }
1308
1690
  interface ThemeColorPair {
1309
1691
  /** The concrete color corresponding to the theme color type above. */
1310
- color?: RgbColor;
1692
+ color?:
1693
+ RgbColor;
1311
1694
  /** The type of the theme color. */
1312
- type?: string;
1695
+ type?:
1696
+ string;
1313
1697
  }
1314
1698
  interface Thumbnail {
1315
1699
  /**
@@ -1317,28 +1701,34 @@ declare namespace gapi.client {
1317
1701
  * effectively accesses the image as the original requester. Access to the image may be lost if the presentation's sharing settings change. The mime type of the thumbnail image is the
1318
1702
  * same as specified in the `GetPageThumbnailRequest`.
1319
1703
  */
1320
- contentUrl?: string;
1704
+ contentUrl?:
1705
+ string;
1321
1706
  /** The positive height in pixels of the thumbnail image. */
1322
- height?: number;
1707
+ height?:
1708
+ number;
1323
1709
  /** The positive width in pixels of the thumbnail image. */
1324
- width?: number;
1710
+ width?:
1711
+ number;
1325
1712
  }
1326
1713
  interface UngroupObjectsRequest {
1327
1714
  /**
1328
1715
  * The object IDs of the objects to ungroup. Only groups that are not inside other groups can be ungrouped. All the groups should be on the same page. The group itself is deleted. The
1329
1716
  * visual sizes and positions of all the children are preserved.
1330
1717
  */
1331
- objectIds?: string[];
1718
+ objectIds?:
1719
+ string[];
1332
1720
  }
1333
1721
  interface UnmergeTableCellsRequest {
1334
1722
  /** The object ID of the table. */
1335
- objectId?: string;
1723
+ objectId?:
1724
+ string;
1336
1725
  /**
1337
1726
  * The table range specifying which cells of the table to unmerge. All merged cells in this range will be unmerged, and cells that are already unmerged will not be affected. If the
1338
1727
  * 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 upper-left ("head") cell of the resulting block of
1339
1728
  * unmerged cells.
1340
1729
  */
1341
- tableRange?: TableRange;
1730
+ tableRange?:
1731
+ TableRange;
1342
1732
  }
1343
1733
  interface UpdateImagePropertiesRequest {
1344
1734
  /**
@@ -1346,17 +1736,22 @@ declare namespace gapi.client {
1346
1736
  * for listing every field. For example to update the image outline color, set `fields` to `"outline.outlineFill.solidFill.color"`. To reset a property to its default value, include
1347
1737
  * its field name in the field mask but leave the field itself unset.
1348
1738
  */
1349
- fields?: string;
1739
+ fields?:
1740
+ string;
1350
1741
  /** The image properties to update. */
1351
- imageProperties?: ImageProperties;
1742
+ imageProperties?:
1743
+ ImageProperties;
1352
1744
  /** The object ID of the image the updates are applied to. */
1353
- objectId?: string;
1745
+ objectId?:
1746
+ string;
1354
1747
  }
1355
1748
  interface UpdateLineCategoryRequest {
1356
1749
  /** The line category to update to. The exact line type is determined based on the category to update to and how it's routed to connect to other page elements. */
1357
- lineCategory?: string;
1750
+ lineCategory?:
1751
+ string;
1358
1752
  /** The object ID of the line the update is applied to. Only a line with a category indicating it is a "connector" can be updated. The line may be rerouted after updating its category. */
1359
- objectId?: string;
1753
+ objectId?:
1754
+ string;
1360
1755
  }
1361
1756
  interface UpdateLinePropertiesRequest {
1362
1757
  /**
@@ -1364,42 +1759,53 @@ declare namespace gapi.client {
1364
1759
  * for listing every field. For example to update the line solid fill color, set `fields` to `"lineFill.solidFill.color"`. To reset a property to its default value, include its field
1365
1760
  * name in the field mask but leave the field itself unset.
1366
1761
  */
1367
- fields?: string;
1762
+ fields?:
1763
+ string;
1368
1764
  /** The line properties to update. */
1369
- lineProperties?: LineProperties;
1765
+ lineProperties?:
1766
+ LineProperties;
1370
1767
  /** The object ID of the line the update is applied to. */
1371
- objectId?: string;
1768
+ objectId?:
1769
+ string;
1372
1770
  }
1373
1771
  interface UpdatePageElementAltTextRequest {
1374
1772
  /**
1375
1773
  * The updated alt text description of the page element. If unset the existing value will be maintained. The description is exposed to screen readers and other accessibility
1376
1774
  * interfaces. Only use human readable values related to the content of the page element.
1377
1775
  */
1378
- description?: string;
1776
+ description?:
1777
+ string;
1379
1778
  /** The object ID of the page element the updates are applied to. */
1380
- objectId?: string;
1779
+ objectId?:
1780
+ string;
1381
1781
  /**
1382
1782
  * The updated alt text title of the page element. If unset the existing value will be maintained. The title is exposed to screen readers and other accessibility interfaces. Only use
1383
1783
  * human readable values related to the content of the page element.
1384
1784
  */
1385
- title?: string;
1785
+ title?:
1786
+ string;
1386
1787
  }
1387
1788
  interface UpdatePageElementsZOrderRequest {
1388
1789
  /**
1389
1790
  * The Z-order operation to apply on the page elements. When applying the operation on multiple page elements, the relative Z-orders within these page elements before the operation is
1390
1791
  * maintained.
1391
1792
  */
1392
- operation?: string;
1793
+ operation?:
1794
+ string;
1393
1795
  /** The object IDs of the page elements to update. All the page elements must be on the same page and must not be grouped. */
1394
- pageElementObjectIds?: string[];
1796
+ pageElementObjectIds?:
1797
+ string[];
1395
1798
  }
1396
1799
  interface UpdatePageElementTransformRequest {
1397
1800
  /** The apply mode of the transform update. */
1398
- applyMode?: string;
1801
+ applyMode?:
1802
+ string;
1399
1803
  /** The object ID of the page element to update. */
1400
- objectId?: string;
1804
+ objectId?:
1805
+ string;
1401
1806
  /** The input transform matrix used to update the page element. */
1402
- transform?: AffineTransform;
1807
+ transform?:
1808
+ AffineTransform;
1403
1809
  }
1404
1810
  interface UpdatePagePropertiesRequest {
1405
1811
  /**
@@ -1407,27 +1813,35 @@ declare namespace gapi.client {
1407
1813
  * for listing every field. For example to update the page background solid fill color, set `fields` to `"pageBackgroundFill.solidFill.color"`. To reset a property to its default
1408
1814
  * value, include its field name in the field mask but leave the field itself unset.
1409
1815
  */
1410
- fields?: string;
1816
+ fields?:
1817
+ string;
1411
1818
  /** The object ID of the page the update is applied to. */
1412
- objectId?: string;
1819
+ objectId?:
1820
+ string;
1413
1821
  /** The page properties to update. */
1414
- pageProperties?: PageProperties;
1822
+ pageProperties?:
1823
+ PageProperties;
1415
1824
  }
1416
1825
  interface UpdateParagraphStyleRequest {
1417
1826
  /** The location of the cell in the table containing the paragraph(s) to style. If `object_id` refers to a table, `cell_location` must have a value. Otherwise, it must not. */
1418
- cellLocation?: TableCellLocation;
1827
+ cellLocation?:
1828
+ TableCellLocation;
1419
1829
  /**
1420
1830
  * The fields that should be updated. At least one field must be specified. The root `style` is implied and should not be specified. A single `"*"` can be used as short-hand for
1421
1831
  * listing every field. For example, to update the paragraph alignment, set `fields` to `"alignment"`. To reset a property to its default value, include its field name in the field
1422
1832
  * mask but leave the field itself unset.
1423
1833
  */
1424
- fields?: string;
1834
+ fields?:
1835
+ string;
1425
1836
  /** The object ID of the shape or table with the text to be styled. */
1426
- objectId?: string;
1837
+ objectId?:
1838
+ string;
1427
1839
  /** The paragraph's style. */
1428
- style?: ParagraphStyle;
1840
+ style?:
1841
+ ParagraphStyle;
1429
1842
  /** The range of text containing the paragraph(s) to style. */
1430
- textRange?: Range;
1843
+ textRange?:
1844
+ Range;
1431
1845
  }
1432
1846
  interface UpdateShapePropertiesRequest {
1433
1847
  /**
@@ -1435,11 +1849,14 @@ declare namespace gapi.client {
1435
1849
  * for listing every field. For example to update the shape background solid fill color, set `fields` to `"shapeBackgroundFill.solidFill.color"`. To reset a property to its default
1436
1850
  * value, include its field name in the field mask but leave the field itself unset.
1437
1851
  */
1438
- fields?: string;
1852
+ fields?:
1853
+ string;
1439
1854
  /** The object ID of the shape the updates are applied to. */
1440
- objectId?: string;
1855
+ objectId?:
1856
+ string;
1441
1857
  /** The shape properties to update. */
1442
- shapeProperties?: ShapeProperties;
1858
+ shapeProperties?:
1859
+ ShapeProperties;
1443
1860
  }
1444
1861
  interface UpdateSlidePropertiesRequest {
1445
1862
  /**
@@ -1447,36 +1864,46 @@ declare namespace gapi.client {
1447
1864
  * for listing every field. For example to update whether a slide is skipped, set `fields` to `"isSkipped"`. To reset a property to its default value, include its field name in the
1448
1865
  * field mask but leave the field itself unset.
1449
1866
  */
1450
- fields?: string;
1867
+ fields?:
1868
+ string;
1451
1869
  /** The object ID of the slide the update is applied to. */
1452
- objectId?: string;
1870
+ objectId?:
1871
+ string;
1453
1872
  /** The slide properties to update. */
1454
- slideProperties?: SlideProperties;
1873
+ slideProperties?:
1874
+ SlideProperties;
1455
1875
  }
1456
1876
  interface UpdateSlidesPositionRequest {
1457
1877
  /**
1458
1878
  * The index where the slides should be inserted, based on the slide arrangement before the move takes place. Must be between zero and the number of slides in the presentation,
1459
1879
  * inclusive.
1460
1880
  */
1461
- insertionIndex?: number;
1881
+ insertionIndex?:
1882
+ number;
1462
1883
  /** The IDs of the slides in the presentation that should be moved. The slides in this list must be in existing presentation order, without duplicates. */
1463
- slideObjectIds?: string[];
1884
+ slideObjectIds?:
1885
+ string[];
1464
1886
  }
1465
1887
  interface UpdateTableBorderPropertiesRequest {
1466
1888
  /** The border position in the table range the updates should apply to. If a border position is not specified, the updates will apply to all borders in the table range. */
1467
- borderPosition?: string;
1889
+ borderPosition?:
1890
+ string;
1468
1891
  /**
1469
1892
  * The fields that should be updated. At least one field must be specified. The root `tableBorderProperties` is implied and should not be specified. A single `"*"` can be used as
1470
1893
  * short-hand for listing every field. For example to update the table border solid fill color, set `fields` to `"tableBorderFill.solidFill.color"`. To reset a property to its default
1471
1894
  * value, include its field name in the field mask but leave the field itself unset.
1472
1895
  */
1473
- fields?: string;
1896
+ fields?:
1897
+ string;
1474
1898
  /** The object ID of the table. */
1475
- objectId?: string;
1899
+ objectId?:
1900
+ string;
1476
1901
  /** The table border properties to update. */
1477
- tableBorderProperties?: TableBorderProperties;
1902
+ tableBorderProperties?:
1903
+ TableBorderProperties;
1478
1904
  /** The table range representing the subset of the table to which the updates are applied. If a table range is not specified, the updates will apply to the entire table. */
1479
- tableRange?: TableRange;
1905
+ tableRange?:
1906
+ TableRange;
1480
1907
  }
1481
1908
  interface UpdateTableCellPropertiesRequest {
1482
1909
  /**
@@ -1484,30 +1911,38 @@ declare namespace gapi.client {
1484
1911
  * short-hand for listing every field. For example to update the table cell background solid fill color, set `fields` to `"tableCellBackgroundFill.solidFill.color"`. To reset a
1485
1912
  * property to its default value, include its field name in the field mask but leave the field itself unset.
1486
1913
  */
1487
- fields?: string;
1914
+ fields?:
1915
+ string;
1488
1916
  /** The object ID of the table. */
1489
- objectId?: string;
1917
+ objectId?:
1918
+ string;
1490
1919
  /** The table cell properties to update. */
1491
- tableCellProperties?: TableCellProperties;
1920
+ tableCellProperties?:
1921
+ TableCellProperties;
1492
1922
  /** The table range representing the subset of the table to which the updates are applied. If a table range is not specified, the updates will apply to the entire table. */
1493
- tableRange?: TableRange;
1923
+ tableRange?:
1924
+ TableRange;
1494
1925
  }
1495
1926
  interface UpdateTableColumnPropertiesRequest {
1496
1927
  /** The list of zero-based indices specifying which columns to update. If no indices are provided, all columns in the table will be updated. */
1497
- columnIndices?: number[];
1928
+ columnIndices?:
1929
+ number[];
1498
1930
  /**
1499
1931
  * 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
1500
1932
  * short-hand for listing every field. For example to update the column width, set `fields` to `"column_width"`. If '"column_width"' is included in the field mask but the property is
1501
1933
  * left unset, the column width will default to 406,400 EMU (32 points).
1502
1934
  */
1503
- fields?: string;
1935
+ fields?:
1936
+ string;
1504
1937
  /** The object ID of the table. */
1505
- objectId?: string;
1938
+ objectId?:
1939
+ string;
1506
1940
  /**
1507
1941
  * The table column properties to update. If the value of `table_column_properties#column_width` in the request is less than 406,400 EMU (32 points), a 400 bad request error is
1508
1942
  * returned.
1509
1943
  */
1510
- tableColumnProperties?: TableColumnProperties;
1944
+ tableColumnProperties?:
1945
+ TableColumnProperties;
1511
1946
  }
1512
1947
  interface UpdateTableRowPropertiesRequest {
1513
1948
  /**
@@ -1515,35 +1950,44 @@ declare namespace gapi.client {
1515
1950
  * short-hand for listing every field. For example to update the minimum row height, set `fields` to `"min_row_height"`. If '"min_row_height"' is included in the field mask but the
1516
1951
  * property is left unset, the minimum row height will default to 0.
1517
1952
  */
1518
- fields?: string;
1953
+ fields?:
1954
+ string;
1519
1955
  /** The object ID of the table. */
1520
- objectId?: string;
1956
+ objectId?:
1957
+ string;
1521
1958
  /** The list of zero-based indices specifying which rows to update. If no indices are provided, all rows in the table will be updated. */
1522
- rowIndices?: number[];
1959
+ rowIndices?:
1960
+ number[];
1523
1961
  /** The table row properties to update. */
1524
- tableRowProperties?: TableRowProperties;
1962
+ tableRowProperties?:
1963
+ TableRowProperties;
1525
1964
  }
1526
1965
  interface UpdateTextStyleRequest {
1527
1966
  /** The location of the cell in the table containing the text to style. If `object_id` refers to a table, `cell_location` must have a value. Otherwise, it must not. */
1528
- cellLocation?: TableCellLocation;
1967
+ cellLocation?:
1968
+ TableCellLocation;
1529
1969
  /**
1530
1970
  * The fields that should be updated. At least one field must be specified. The root `style` is implied and should not be specified. A single `"*"` can be used as short-hand for
1531
1971
  * 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
1532
1972
  * leave the field itself unset.
1533
1973
  */
1534
- fields?: string;
1974
+ fields?:
1975
+ string;
1535
1976
  /** The object ID of the shape or table with the text to be styled. */
1536
- objectId?: string;
1977
+ objectId?:
1978
+ string;
1537
1979
  /**
1538
1980
  * The style(s) 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
1539
1981
  * changes meant to mirror the behavior of the Slides editor. See the documentation of TextStyle for more information.
1540
1982
  */
1541
- style?: TextStyle;
1983
+ style?:
1984
+ TextStyle;
1542
1985
  /**
1543
1986
  * 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
1544
1987
  * updated with the matching text style.
1545
1988
  */
1546
- textRange?: Range;
1989
+ textRange?:
1990
+ Range;
1547
1991
  }
1548
1992
  interface UpdateVideoPropertiesRequest {
1549
1993
  /**
@@ -1551,93 +1995,122 @@ declare namespace gapi.client {
1551
1995
  * for listing every field. For example to update the video outline color, set `fields` to `"outline.outlineFill.solidFill.color"`. To reset a property to its default value, include
1552
1996
  * its field name in the field mask but leave the field itself unset.
1553
1997
  */
1554
- fields?: string;
1998
+ fields?:
1999
+ string;
1555
2000
  /** The object ID of the video the updates are applied to. */
1556
- objectId?: string;
2001
+ objectId?:
2002
+ string;
1557
2003
  /** The video properties to update. */
1558
- videoProperties?: VideoProperties;
2004
+ videoProperties?:
2005
+ VideoProperties;
1559
2006
  }
1560
2007
  interface Video {
1561
2008
  /** The video source's unique identifier for this video. */
1562
- id?: string;
2009
+ id?:
2010
+ string;
1563
2011
  /** The video source. */
1564
- source?: string;
2012
+ source?:
2013
+ string;
1565
2014
  /** An URL to a video. The URL is valid as long as the source video exists and sharing settings do not change. */
1566
- url?: string;
2015
+ url?:
2016
+ string;
1567
2017
  /** The properties of the video. */
1568
- videoProperties?: VideoProperties;
2018
+ videoProperties?:
2019
+ VideoProperties;
1569
2020
  }
1570
2021
  interface VideoProperties {
1571
2022
  /** Whether to enable video autoplay when the page is displayed in present mode. Defaults to false. */
1572
- autoPlay?: boolean;
2023
+ autoPlay?:
2024
+ boolean;
1573
2025
  /**
1574
2026
  * The time at which to end playback, measured in seconds from the beginning of the video. If set, the end time should be after the start time. If not set or if you set this to a value
1575
2027
  * that exceeds the video's length, the video will be played until its end.
1576
2028
  */
1577
- end?: number;
2029
+ end?:
2030
+ number;
1578
2031
  /** Whether to mute the audio during video playback. Defaults to false. */
1579
- mute?: boolean;
2032
+ mute?:
2033
+ boolean;
1580
2034
  /** The outline of the video. The default outline matches the defaults for new videos created in the Slides editor. */
1581
- outline?: Outline;
2035
+ outline?:
2036
+ Outline;
1582
2037
  /**
1583
2038
  * The time at which to start playback, measured in seconds from the beginning of the video. If set, the start time should be before the end time. If you set this to a value that
1584
2039
  * exceeds the video's length in seconds, the video will be played from the last second. If not set, the video will be played from the beginning.
1585
2040
  */
1586
- start?: number;
2041
+ start?:
2042
+ number;
1587
2043
  }
1588
2044
  interface WeightedFontFamily {
1589
2045
  /**
1590
2046
  * The font family of the text. The font family can be any font from the Font menu in Slides or from [Google Fonts] (https://fonts.google.com/). If the font name is unrecognized, the
1591
2047
  * text is rendered in `Arial`.
1592
2048
  */
1593
- fontFamily?: string;
2049
+ fontFamily?:
2050
+ string;
1594
2051
  /**
1595
2052
  * The rendered weight of the text. This field can have any value that is a multiple of `100` between `100` and `900`, inclusive. This range corresponds to the numerical values
1596
2053
  * described in the CSS 2.1 Specification, [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with non-numerical values disallowed. Weights greater than or equal to
1597
2054
  * `700` are considered bold, and weights less than `700`are not bold. The default value is `400` ("normal").
1598
2055
  */
1599
- weight?: number;
2056
+ weight?:
2057
+ number;
1600
2058
  }
1601
2059
  interface WordArt {
1602
2060
  /** The text rendered as word art. */
1603
- renderedText?: string;
2061
+ renderedText?:
2062
+ string;
1604
2063
  }
1605
2064
  interface WriteControl {
1606
2065
  /**
1607
2066
  * The revision ID of the presentation required for the write request. If specified and the required revision ID doesn't match the presentation's current revision ID, the request is
1608
2067
  * not processed and returns a 400 bad 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.
1609
2068
  */
1610
- requiredRevisionId?: string;
2069
+ requiredRevisionId?:
2070
+ string;
1611
2071
  }
1612
2072
  interface PagesResource {
1613
2073
  /** Gets the latest version of the specified page in the presentation. */
1614
2074
  get(request?: {
1615
2075
  /** V1 error format. */
1616
- "$.xgafv"?: string;
2076
+ "$.xgafv"?:
2077
+ string;
1617
2078
  /** OAuth access token. */
1618
- access_token?: string;
2079
+ access_token?:
2080
+ string;
1619
2081
  /** Data format for response. */
1620
- alt?: string;
2082
+ alt?:
2083
+ string;
1621
2084
  /** JSONP */
1622
- callback?: string;
2085
+ callback?:
2086
+ string;
1623
2087
  /** Selector specifying which fields to include in a partial response. */
1624
- fields?: string;
2088
+ fields?:
2089
+ string;
1625
2090
  /** 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. */
1626
- key?: string;
2091
+ key?:
2092
+ string;
1627
2093
  /** OAuth 2.0 token for the current user. */
1628
- oauth_token?: string;
2094
+ oauth_token?:
2095
+ string;
1629
2096
  /** The object ID of the page to retrieve. */
1630
- pageObjectId: string;
2097
+ pageObjectId:
2098
+ string;
1631
2099
  /** The ID of the presentation to retrieve. */
1632
- presentationId: string;
2100
+ presentationId:
2101
+ string;
1633
2102
  /** Returns response with indentations and line breaks. */
1634
- prettyPrint?: boolean;
2103
+ prettyPrint?:
2104
+ boolean;
1635
2105
  /** 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. */
1636
- quotaUser?: string;
2106
+ quotaUser?:
2107
+ string;
1637
2108
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1638
- upload_protocol?: string;
2109
+ upload_protocol?:
2110
+ string;
1639
2111
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1640
- uploadType?: string;
2112
+ uploadType?:
2113
+ string;
1641
2114
  }): client.Request<Page>;
1642
2115
  /**
1643
2116
  * Generates a thumbnail of the latest version of the specified page in the presentation and returns a URL to the thumbnail image. This request counts as an [expensive read
@@ -1645,35 +2118,50 @@ declare namespace gapi.client {
1645
2118
  */
1646
2119
  getThumbnail(request?: {
1647
2120
  /** V1 error format. */
1648
- "$.xgafv"?: string;
2121
+ "$.xgafv"?:
2122
+ string;
1649
2123
  /** OAuth access token. */
1650
- access_token?: string;
2124
+ access_token?:
2125
+ string;
1651
2126
  /** Data format for response. */
1652
- alt?: string;
2127
+ alt?:
2128
+ string;
1653
2129
  /** JSONP */
1654
- callback?: string;
2130
+ callback?:
2131
+ string;
1655
2132
  /** Selector specifying which fields to include in a partial response. */
1656
- fields?: string;
2133
+ fields?:
2134
+ string;
1657
2135
  /** 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. */
1658
- key?: string;
2136
+ key?:
2137
+ string;
1659
2138
  /** OAuth 2.0 token for the current user. */
1660
- oauth_token?: string;
2139
+ oauth_token?:
2140
+ string;
1661
2141
  /** The object ID of the page whose thumbnail to retrieve. */
1662
- pageObjectId: string;
2142
+ pageObjectId:
2143
+ string;
1663
2144
  /** The ID of the presentation to retrieve. */
1664
- presentationId: string;
2145
+ presentationId:
2146
+ string;
1665
2147
  /** Returns response with indentations and line breaks. */
1666
- prettyPrint?: boolean;
2148
+ prettyPrint?:
2149
+ boolean;
1667
2150
  /** 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. */
1668
- quotaUser?: string;
2151
+ quotaUser?:
2152
+ string;
1669
2153
  /** The optional mime type of the thumbnail image. If you don't specify the mime type, the mime type defaults to PNG. */
1670
- "thumbnailProperties.mimeType"?: string;
2154
+ "thumbnailProperties.mimeType"?:
2155
+ string;
1671
2156
  /** The optional thumbnail image size. If you don't specify the size, the server chooses a default size of the image. */
1672
- "thumbnailProperties.thumbnailSize"?: string;
2157
+ "thumbnailProperties.thumbnailSize"?:
2158
+ string;
1673
2159
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1674
- upload_protocol?: string;
2160
+ upload_protocol?:
2161
+ string;
1675
2162
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1676
- uploadType?: string;
2163
+ uploadType?:
2164
+ string;
1677
2165
  }): client.Request<Thumbnail>;
1678
2166
  }
1679
2167
  interface PresentationsResource {
@@ -1687,57 +2175,82 @@ declare namespace gapi.client {
1687
2175
  */
1688
2176
  batchUpdate(request: {
1689
2177
  /** V1 error format. */
1690
- "$.xgafv"?: string;
2178
+ "$.xgafv"?:
2179
+ string;
1691
2180
  /** OAuth access token. */
1692
- access_token?: string;
2181
+ access_token?:
2182
+ string;
1693
2183
  /** Data format for response. */
1694
- alt?: string;
2184
+ alt?:
2185
+ string;
1695
2186
  /** JSONP */
1696
- callback?: string;
2187
+ callback?:
2188
+ string;
1697
2189
  /** Selector specifying which fields to include in a partial response. */
1698
- fields?: string;
2190
+ fields?:
2191
+ string;
1699
2192
  /** 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. */
1700
- key?: string;
2193
+ key?:
2194
+ string;
1701
2195
  /** OAuth 2.0 token for the current user. */
1702
- oauth_token?: string;
2196
+ oauth_token?:
2197
+ string;
1703
2198
  /** The presentation to apply the updates to. */
1704
- presentationId: string;
2199
+ presentationId:
2200
+ string;
1705
2201
  /** Returns response with indentations and line breaks. */
1706
- prettyPrint?: boolean;
2202
+ prettyPrint?:
2203
+ boolean;
1707
2204
  /** 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. */
1708
- quotaUser?: string;
2205
+ quotaUser?:
2206
+ string;
1709
2207
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1710
- upload_protocol?: string;
2208
+ upload_protocol?:
2209
+ string;
1711
2210
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1712
- uploadType?: string;
2211
+ uploadType?:
2212
+ string;
1713
2213
  /** Request body */
1714
- resource: BatchUpdatePresentationRequest;
2214
+ resource:
2215
+ BatchUpdatePresentationRequest;
1715
2216
  }): client.Request<BatchUpdatePresentationResponse>;
1716
2217
  batchUpdate(request: {
1717
2218
  /** V1 error format. */
1718
- "$.xgafv"?: string;
2219
+ "$.xgafv"?:
2220
+ string;
1719
2221
  /** OAuth access token. */
1720
- access_token?: string;
2222
+ access_token?:
2223
+ string;
1721
2224
  /** Data format for response. */
1722
- alt?: string;
2225
+ alt?:
2226
+ string;
1723
2227
  /** JSONP */
1724
- callback?: string;
2228
+ callback?:
2229
+ string;
1725
2230
  /** Selector specifying which fields to include in a partial response. */
1726
- fields?: string;
2231
+ fields?:
2232
+ string;
1727
2233
  /** 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. */
1728
- key?: string;
2234
+ key?:
2235
+ string;
1729
2236
  /** OAuth 2.0 token for the current user. */
1730
- oauth_token?: string;
2237
+ oauth_token?:
2238
+ string;
1731
2239
  /** The presentation to apply the updates to. */
1732
- presentationId: string;
2240
+ presentationId:
2241
+ string;
1733
2242
  /** Returns response with indentations and line breaks. */
1734
- prettyPrint?: boolean;
2243
+ prettyPrint?:
2244
+ boolean;
1735
2245
  /** 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. */
1736
- quotaUser?: string;
2246
+ quotaUser?:
2247
+ string;
1737
2248
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1738
- upload_protocol?: string;
2249
+ upload_protocol?:
2250
+ string;
1739
2251
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1740
- uploadType?: string;
2252
+ uploadType?:
2253
+ string;
1741
2254
  },
1742
2255
  body: BatchUpdatePresentationRequest): client.Request<BatchUpdatePresentationResponse>;
1743
2256
  /**
@@ -1746,83 +2259,119 @@ declare namespace gapi.client {
1746
2259
  */
1747
2260
  create(request: {
1748
2261
  /** V1 error format. */
1749
- "$.xgafv"?: string;
2262
+ "$.xgafv"?:
2263
+ string;
1750
2264
  /** OAuth access token. */
1751
- access_token?: string;
2265
+ access_token?:
2266
+ string;
1752
2267
  /** Data format for response. */
1753
- alt?: string;
2268
+ alt?:
2269
+ string;
1754
2270
  /** JSONP */
1755
- callback?: string;
2271
+ callback?:
2272
+ string;
1756
2273
  /** Selector specifying which fields to include in a partial response. */
1757
- fields?: string;
2274
+ fields?:
2275
+ string;
1758
2276
  /** 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. */
1759
- key?: string;
2277
+ key?:
2278
+ string;
1760
2279
  /** OAuth 2.0 token for the current user. */
1761
- oauth_token?: string;
2280
+ oauth_token?:
2281
+ string;
1762
2282
  /** Returns response with indentations and line breaks. */
1763
- prettyPrint?: boolean;
2283
+ prettyPrint?:
2284
+ boolean;
1764
2285
  /** 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. */
1765
- quotaUser?: string;
2286
+ quotaUser?:
2287
+ string;
1766
2288
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1767
- upload_protocol?: string;
2289
+ upload_protocol?:
2290
+ string;
1768
2291
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1769
- uploadType?: string;
2292
+ uploadType?:
2293
+ string;
1770
2294
  /** Request body */
1771
- resource: Presentation;
2295
+ resource:
2296
+ Presentation;
1772
2297
  }): client.Request<Presentation>;
1773
2298
  create(request: {
1774
2299
  /** V1 error format. */
1775
- "$.xgafv"?: string;
2300
+ "$.xgafv"?:
2301
+ string;
1776
2302
  /** OAuth access token. */
1777
- access_token?: string;
2303
+ access_token?:
2304
+ string;
1778
2305
  /** Data format for response. */
1779
- alt?: string;
2306
+ alt?:
2307
+ string;
1780
2308
  /** JSONP */
1781
- callback?: string;
2309
+ callback?:
2310
+ string;
1782
2311
  /** Selector specifying which fields to include in a partial response. */
1783
- fields?: string;
2312
+ fields?:
2313
+ string;
1784
2314
  /** 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. */
1785
- key?: string;
2315
+ key?:
2316
+ string;
1786
2317
  /** OAuth 2.0 token for the current user. */
1787
- oauth_token?: string;
2318
+ oauth_token?:
2319
+ string;
1788
2320
  /** Returns response with indentations and line breaks. */
1789
- prettyPrint?: boolean;
2321
+ prettyPrint?:
2322
+ boolean;
1790
2323
  /** 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. */
1791
- quotaUser?: string;
2324
+ quotaUser?:
2325
+ string;
1792
2326
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1793
- upload_protocol?: string;
2327
+ upload_protocol?:
2328
+ string;
1794
2329
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1795
- uploadType?: string;
2330
+ uploadType?:
2331
+ string;
1796
2332
  },
1797
2333
  body: Presentation): client.Request<Presentation>;
1798
2334
  /** Gets the latest version of the specified presentation. */
1799
2335
  get(request?: {
1800
2336
  /** V1 error format. */
1801
- "$.xgafv"?: string;
2337
+ "$.xgafv"?:
2338
+ string;
1802
2339
  /** OAuth access token. */
1803
- access_token?: string;
2340
+ access_token?:
2341
+ string;
1804
2342
  /** Data format for response. */
1805
- alt?: string;
2343
+ alt?:
2344
+ string;
1806
2345
  /** JSONP */
1807
- callback?: string;
2346
+ callback?:
2347
+ string;
1808
2348
  /** Selector specifying which fields to include in a partial response. */
1809
- fields?: string;
2349
+ fields?:
2350
+ string;
1810
2351
  /** 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. */
1811
- key?: string;
2352
+ key?:
2353
+ string;
1812
2354
  /** OAuth 2.0 token for the current user. */
1813
- oauth_token?: string;
2355
+ oauth_token?:
2356
+ string;
1814
2357
  /** The ID of the presentation to retrieve. */
1815
- presentationId: string;
2358
+ presentationId:
2359
+ string;
1816
2360
  /** Returns response with indentations and line breaks. */
1817
- prettyPrint?: boolean;
2361
+ prettyPrint?:
2362
+ boolean;
1818
2363
  /** 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. */
1819
- quotaUser?: string;
2364
+ quotaUser?:
2365
+ string;
1820
2366
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1821
- upload_protocol?: string;
2367
+ upload_protocol?:
2368
+ string;
1822
2369
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1823
- uploadType?: string;
2370
+ uploadType?:
2371
+ string;
1824
2372
  }): client.Request<Presentation>;
1825
- pages: PagesResource;
2373
+ pages:
2374
+ PagesResource;
1826
2375
  }
1827
2376
 
1828
2377
  const presentations: PresentationsResource;