@googleapis/slides 0.7.1 → 1.0.1
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.
- package/CHANGELOG.md +32 -0
- package/build/index.js +4 -3
- package/build/index.js.map +1 -1
- package/build/v1.d.ts +7 -7
- package/build/v1.js +11 -10
- package/build/v1.js.map +1 -1
- package/package.json +6 -6
- package/v1.ts +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/slides-v1.0.0...slides-v1.0.1) (2022-12-22)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **slides:** update the API ([78fbcbd](https://github.com/googleapis/google-api-nodejs-client/commit/78fbcbdd4e336d95f507160ebb7b6d25e4816763))
|
|
9
|
+
|
|
10
|
+
## [1.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/slides-v0.7.3...slides-v1.0.0) (2022-10-28)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### ⚠ BREAKING CHANGES
|
|
14
|
+
|
|
15
|
+
* **build:** This release has breaking changes.
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **build:** run the generator (submodules now require Node 12) ([#3073](https://github.com/googleapis/google-api-nodejs-client/issues/3073)) ([eda0707](https://github.com/googleapis/google-api-nodejs-client/commit/eda07079dadab46a80b6f9ede618f4f43030169e))
|
|
20
|
+
|
|
21
|
+
## [0.7.3](https://github.com/googleapis/google-api-nodejs-client/compare/slides-v0.7.2...slides-v0.7.3) (2022-09-21)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* **slides:** update the API ([d95868d](https://github.com/googleapis/google-api-nodejs-client/commit/d95868dc914f741962ffdc4af1146769544cd613))
|
|
27
|
+
|
|
28
|
+
## [0.7.2](https://github.com/googleapis/google-api-nodejs-client/compare/slides-v0.7.1...slides-v0.7.2) (2022-08-19)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Bug Fixes
|
|
32
|
+
|
|
33
|
+
* **slides:** update the API ([bcb6e59](https://github.com/googleapis/google-api-nodejs-client/commit/bcb6e59002e24d3eb90609dbb4e8106d0137576d))
|
|
34
|
+
|
|
3
35
|
## [0.7.1](https://github.com/googleapis/google-api-nodejs-client/compare/slides-v0.7.0...slides-v0.7.1) (2022-06-21)
|
|
4
36
|
|
|
5
37
|
|
package/build/index.js
CHANGED
|
@@ -12,19 +12,20 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.AuthPlus = exports.slides_v1 = exports.auth = exports.slides = exports.VERSIONS = void 0;
|
|
15
16
|
/*! THIS FILE IS AUTO-GENERATED */
|
|
16
17
|
const googleapis_common_1 = require("googleapis-common");
|
|
17
18
|
const v1_1 = require("./v1");
|
|
18
|
-
exports
|
|
19
|
+
Object.defineProperty(exports, "slides_v1", { enumerable: true, get: function () { return v1_1.slides_v1; } });
|
|
19
20
|
exports.VERSIONS = {
|
|
20
21
|
v1: v1_1.slides_v1.Slides,
|
|
21
22
|
};
|
|
22
23
|
function slides(versionOrOptions) {
|
|
23
|
-
return googleapis_common_1.getAPI('slides', versionOrOptions, exports.VERSIONS, this);
|
|
24
|
+
return (0, googleapis_common_1.getAPI)('slides', versionOrOptions, exports.VERSIONS, this);
|
|
24
25
|
}
|
|
25
26
|
exports.slides = slides;
|
|
26
27
|
const auth = new googleapis_common_1.AuthPlus();
|
|
27
28
|
exports.auth = auth;
|
|
28
29
|
var googleapis_common_2 = require("googleapis-common");
|
|
29
|
-
exports
|
|
30
|
+
Object.defineProperty(exports, "AuthPlus", { enumerable: true, get: function () { return googleapis_common_2.AuthPlus; } });
|
|
30
31
|
//# sourceMappingURL=index.js.map
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,kCAAkC;AAElC,yDAAuE;AACvE,6BAA+B;AAiBvB,0FAjBA,cAAS,OAiBA;AAfJ,QAAA,QAAQ,GAAG;IACtB,EAAE,EAAE,cAAS,CAAC,MAAM;CACrB,CAAC;AAIF,SAAgB,MAAM,CAEpB,gBAA0C;IAE1C,OAAO,IAAA,0BAAM,EAAI,QAAQ,EAAE,gBAAgB,EAAE,gBAAQ,EAAE,IAAI,CAAC,CAAC;AAC/D,CAAC;AALD,wBAKC;AAED,MAAM,IAAI,GAAG,IAAI,4BAAQ,EAAE,CAAC;AACpB,oBAAI;AAEZ,uDAS2B;AARzB,6GAAA,QAAQ,OAAA"}
|
package/build/v1.d.ts
CHANGED
|
@@ -220,7 +220,7 @@ export declare namespace slides_v1 {
|
|
|
220
220
|
*/
|
|
221
221
|
export interface Schema$CreateImageRequest {
|
|
222
222
|
/**
|
|
223
|
-
* The element properties for the image. When the aspect ratio of the provided size does not match the image aspect ratio, the image is scaled and centered with respect to the size in order to maintain aspect ratio. The provided transform is applied after this operation. The PageElementProperties.size property is optional. If you don't specify the size, the 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
|
|
223
|
+
* The element properties for the image. When the aspect ratio of the provided size does not match the image aspect ratio, the image is scaled and centered with respect to the size in order to maintain the aspect ratio. The provided transform is applied after this operation. The PageElementProperties.size property is optional. If you don't specify the size, the 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 page.
|
|
224
224
|
*/
|
|
225
225
|
elementProperties?: Schema$PageElementProperties;
|
|
226
226
|
/**
|
|
@@ -228,7 +228,7 @@ export declare namespace slides_v1 {
|
|
|
228
228
|
*/
|
|
229
229
|
objectId?: string | null;
|
|
230
230
|
/**
|
|
231
|
-
* 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
|
|
231
|
+
* 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 megapixels, and must be in one of PNG, JPEG, or GIF formats. The provided URL can be up to 2 KB in length. The URL is saved with the image, and exposed through the Image.source_url field.
|
|
232
232
|
*/
|
|
233
233
|
url?: string | null;
|
|
234
234
|
}
|
|
@@ -353,23 +353,23 @@ export declare namespace slides_v1 {
|
|
|
353
353
|
objectId?: string | null;
|
|
354
354
|
}
|
|
355
355
|
/**
|
|
356
|
-
* Creates a
|
|
356
|
+
* Creates a slide.
|
|
357
357
|
*/
|
|
358
358
|
export interface Schema$CreateSlideRequest {
|
|
359
359
|
/**
|
|
360
|
-
* The optional zero-based index indicating where to insert the slides. If you don't specify an index, the
|
|
360
|
+
* 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.
|
|
361
361
|
*/
|
|
362
362
|
insertionIndex?: number | null;
|
|
363
363
|
/**
|
|
364
|
-
* 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 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
|
|
364
|
+
* 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 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 50 characters, inclusive. If you don't specify an ID, a unique one is generated.
|
|
365
365
|
*/
|
|
366
366
|
objectId?: string | null;
|
|
367
367
|
/**
|
|
368
|
-
* An optional list of object ID mappings from the placeholder(s) on the layout to the
|
|
368
|
+
* 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 `slide_layout_reference` is specified.
|
|
369
369
|
*/
|
|
370
370
|
placeholderIdMappings?: Schema$LayoutPlaceholderIdMapping[];
|
|
371
371
|
/**
|
|
372
|
-
* 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 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 error is returned. If you don't specify a layout reference,
|
|
372
|
+
* 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 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 error is returned. If you don't specify a layout reference, the slide uses the predefined `BLANK` layout.
|
|
373
373
|
*/
|
|
374
374
|
slideLayoutReference?: Schema$LayoutReference;
|
|
375
375
|
}
|
package/build/v1.js
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.slides_v1 = void 0;
|
|
15
16
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
16
17
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
17
18
|
/* eslint-disable @typescript-eslint/no-empty-interface */
|
|
@@ -71,10 +72,10 @@ var slides_v1;
|
|
|
71
72
|
context: this.context,
|
|
72
73
|
};
|
|
73
74
|
if (callback) {
|
|
74
|
-
googleapis_common_1.createAPIRequest(parameters, callback);
|
|
75
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
75
76
|
}
|
|
76
77
|
else {
|
|
77
|
-
return googleapis_common_1.createAPIRequest(parameters);
|
|
78
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
78
79
|
}
|
|
79
80
|
}
|
|
80
81
|
create(paramsOrCallback, optionsOrCallback, callback) {
|
|
@@ -102,10 +103,10 @@ var slides_v1;
|
|
|
102
103
|
context: this.context,
|
|
103
104
|
};
|
|
104
105
|
if (callback) {
|
|
105
|
-
googleapis_common_1.createAPIRequest(parameters, callback);
|
|
106
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
106
107
|
}
|
|
107
108
|
else {
|
|
108
|
-
return googleapis_common_1.createAPIRequest(parameters);
|
|
109
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
109
110
|
}
|
|
110
111
|
}
|
|
111
112
|
get(paramsOrCallback, optionsOrCallback, callback) {
|
|
@@ -133,10 +134,10 @@ var slides_v1;
|
|
|
133
134
|
context: this.context,
|
|
134
135
|
};
|
|
135
136
|
if (callback) {
|
|
136
|
-
googleapis_common_1.createAPIRequest(parameters, callback);
|
|
137
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
137
138
|
}
|
|
138
139
|
else {
|
|
139
|
-
return googleapis_common_1.createAPIRequest(parameters);
|
|
140
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
140
141
|
}
|
|
141
142
|
}
|
|
142
143
|
}
|
|
@@ -171,10 +172,10 @@ var slides_v1;
|
|
|
171
172
|
context: this.context,
|
|
172
173
|
};
|
|
173
174
|
if (callback) {
|
|
174
|
-
googleapis_common_1.createAPIRequest(parameters, callback);
|
|
175
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
175
176
|
}
|
|
176
177
|
else {
|
|
177
|
-
return googleapis_common_1.createAPIRequest(parameters);
|
|
178
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
178
179
|
}
|
|
179
180
|
}
|
|
180
181
|
getThumbnail(paramsOrCallback, optionsOrCallback, callback) {
|
|
@@ -203,10 +204,10 @@ var slides_v1;
|
|
|
203
204
|
context: this.context,
|
|
204
205
|
};
|
|
205
206
|
if (callback) {
|
|
206
|
-
googleapis_common_1.createAPIRequest(parameters, callback);
|
|
207
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
207
208
|
}
|
|
208
209
|
else {
|
|
209
|
-
return googleapis_common_1.createAPIRequest(parameters);
|
|
210
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
210
211
|
}
|
|
211
212
|
}
|
|
212
213
|
}
|
package/build/v1.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../v1.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC
|
|
1
|
+
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../v1.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,SAAS,CAk1GzB;AAl1GD,WAAiB,SAAS;IAgExB;;;;;;;;;;OAUG;IACH,MAAa,MAAM;QAIjB,YAAY,OAAsB,EAAE,MAA2B;YAC7D,IAAI,CAAC,OAAO,GAAG;gBAC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I,OAAO,iBAAiB,KAAK,UAAU,EAAE;gBAC3C,QAAQ,GAAG,iBAAiB,CAAC;gBAC7B,OAAO,GAAG,EAAE,CAAC;aACd;YAED,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,gCAAgC,CAAC;YACpE,MAAM,UAAU,GAAG;gBACjB,OAAO,EAAE,MAAM,CAAC,MAAM,CACpB;oBACE,GAAG,EAAE,CACH,OAAO;wBACP,mEAAmE,CACpE,CAAC,OAAO,CAAC,cAAc,EAAE,IAAI,CAAC;oBAC/B,MAAM,EAAE,KAAK;iBACd,EACD,OAAO,CACR;gBACD,MAAM;gBACN,cAAc,EAAE,CAAC,gBAAgB,EAAE,cAAc,CAAC;gBAClD,UAAU,EAAE,CAAC,cAAc,EAAE,gBAAgB,CAAC;gBAC9C,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,CAAC;YACF,IAAI,QAAQ,EAAE;gBACZ,IAAA,oCAAgB,EACd,UAAU,EACV,QAAyC,CAC1C,CAAC;aACH;iBAAM;gBACL,OAAO,IAAA,oCAAgB,EAAmB,UAAU,CAAC,CAAC;aACvD;QACH,CAAC;KACF;IArSY,sCAA4B,+BAqSxC,CAAA;AAgCH,CAAC,EAl1GgB,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAk1GzB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@googleapis/slides",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "slides",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"url": "https://github.com/googleapis/google-api-nodejs-client.git"
|
|
19
19
|
},
|
|
20
20
|
"engines": {
|
|
21
|
-
"node": ">=
|
|
21
|
+
"node": ">=12.0.0"
|
|
22
22
|
},
|
|
23
23
|
"scripts": {
|
|
24
24
|
"fix": "gts fix",
|
|
@@ -28,16 +28,16 @@
|
|
|
28
28
|
"webpack": "webpack"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"googleapis-common": "^
|
|
31
|
+
"googleapis-common": "^6.0.3"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@microsoft/api-documenter": "^7.8.10",
|
|
35
35
|
"@microsoft/api-extractor": "^7.8.10",
|
|
36
|
-
"gts": "^
|
|
36
|
+
"gts": "^3.1.1",
|
|
37
37
|
"null-loader": "^4.0.0",
|
|
38
38
|
"ts-loader": "^9.0.0",
|
|
39
|
-
"typescript": "~
|
|
39
|
+
"typescript": "~4.8.4",
|
|
40
40
|
"webpack": "^5.0.0",
|
|
41
|
-
"webpack-cli": "^
|
|
41
|
+
"webpack-cli": "^5.0.0"
|
|
42
42
|
}
|
|
43
43
|
}
|
package/v1.ts
CHANGED
|
@@ -273,7 +273,7 @@ export namespace slides_v1 {
|
|
|
273
273
|
*/
|
|
274
274
|
export interface Schema$CreateImageRequest {
|
|
275
275
|
/**
|
|
276
|
-
* The element properties for the image. When the aspect ratio of the provided size does not match the image aspect ratio, the image is scaled and centered with respect to the size in order to maintain aspect ratio. The provided transform is applied after this operation. The PageElementProperties.size property is optional. If you don't specify the size, the 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
|
|
276
|
+
* The element properties for the image. When the aspect ratio of the provided size does not match the image aspect ratio, the image is scaled and centered with respect to the size in order to maintain the aspect ratio. The provided transform is applied after this operation. The PageElementProperties.size property is optional. If you don't specify the size, the 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 page.
|
|
277
277
|
*/
|
|
278
278
|
elementProperties?: Schema$PageElementProperties;
|
|
279
279
|
/**
|
|
@@ -281,7 +281,7 @@ export namespace slides_v1 {
|
|
|
281
281
|
*/
|
|
282
282
|
objectId?: string | null;
|
|
283
283
|
/**
|
|
284
|
-
* 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
|
|
284
|
+
* 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 megapixels, and must be in one of PNG, JPEG, or GIF formats. The provided URL can be up to 2 KB in length. The URL is saved with the image, and exposed through the Image.source_url field.
|
|
285
285
|
*/
|
|
286
286
|
url?: string | null;
|
|
287
287
|
}
|
|
@@ -406,23 +406,23 @@ export namespace slides_v1 {
|
|
|
406
406
|
objectId?: string | null;
|
|
407
407
|
}
|
|
408
408
|
/**
|
|
409
|
-
* Creates a
|
|
409
|
+
* Creates a slide.
|
|
410
410
|
*/
|
|
411
411
|
export interface Schema$CreateSlideRequest {
|
|
412
412
|
/**
|
|
413
|
-
* The optional zero-based index indicating where to insert the slides. If you don't specify an index, the
|
|
413
|
+
* 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.
|
|
414
414
|
*/
|
|
415
415
|
insertionIndex?: number | null;
|
|
416
416
|
/**
|
|
417
|
-
* 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 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
|
|
417
|
+
* 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 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 50 characters, inclusive. If you don't specify an ID, a unique one is generated.
|
|
418
418
|
*/
|
|
419
419
|
objectId?: string | null;
|
|
420
420
|
/**
|
|
421
|
-
* An optional list of object ID mappings from the placeholder(s) on the layout to the
|
|
421
|
+
* 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 `slide_layout_reference` is specified.
|
|
422
422
|
*/
|
|
423
423
|
placeholderIdMappings?: Schema$LayoutPlaceholderIdMapping[];
|
|
424
424
|
/**
|
|
425
|
-
* 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 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 error is returned. If you don't specify a layout reference,
|
|
425
|
+
* 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 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 error is returned. If you don't specify a layout reference, the slide uses the predefined `BLANK` layout.
|
|
426
426
|
*/
|
|
427
427
|
slideLayoutReference?: Schema$LayoutReference;
|
|
428
428
|
}
|