@googleapis/slides 0.2.0 → 0.6.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 +54 -0
- package/README.md +4 -23
- package/build/v1.d.ts +37 -8
- package/build/v1.js.map +1 -1
- package/package.json +2 -2
- package/v1.ts +37 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,59 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
### [0.6.1](https://github.com/googleapis/google-api-nodejs-client/compare/slides-v0.6.0...slides-v0.6.1) (2022-04-01)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **slides:** update the API ([4c3e931](https://github.com/googleapis/google-api-nodejs-client/commit/4c3e9310fe4faf8ca1b22c92af01576d57c8b4fe))
|
|
9
|
+
|
|
10
|
+
## [0.6.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/slides-v0.5.0...slides-v0.6.0) (2021-09-14)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **auth:** adds support workload identity federation ([#2517](https://www.github.com/googleapis/google-api-nodejs-client/issues/2517)) ([a10707c](https://www.github.com/googleapis/google-api-nodejs-client/commit/a10707c477759e7c9ef6360a2fe800856fb600c1))
|
|
16
|
+
* **slides:** update the API ([7ef8314](https://www.github.com/googleapis/google-api-nodejs-client/commit/7ef8314c55e53f84a49f2cb182cf40753ec3d7ec))
|
|
17
|
+
* **slides:** update the API ([e942819](https://www.github.com/googleapis/google-api-nodejs-client/commit/e94281991063194424eb53dc3e7e55e6ed1e8646))
|
|
18
|
+
* **slides:** update the API ([5c23f85](https://www.github.com/googleapis/google-api-nodejs-client/commit/5c23f850a1edbdf9dabc75cb742514e02755aa79))
|
|
19
|
+
* **slides:** update the API ([dec09a5](https://www.github.com/googleapis/google-api-nodejs-client/commit/dec09a553fdbaf84f7c7fd61a5b02e844b2fa4d2))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* **deps:** update dependency googleapis-common to v5 ([#2497](https://www.github.com/googleapis/google-api-nodejs-client/issues/2497)) ([fec087a](https://www.github.com/googleapis/google-api-nodejs-client/commit/fec087abcf3d994dd41c3ffa0a0c12b1f9f09dae))
|
|
25
|
+
* **slides:** update the API ([b10274a](https://www.github.com/googleapis/google-api-nodejs-client/commit/b10274a6744d896b1c50e5665ba110bf09c4e97e))
|
|
26
|
+
* **slides:** update the API ([77594fa](https://www.github.com/googleapis/google-api-nodejs-client/commit/77594fa6224ed331af32ceb31a12962fef1126d2))
|
|
27
|
+
* upgrade webpack from 4 to 5 ([#2524](https://www.github.com/googleapis/google-api-nodejs-client/issues/2524)) ([ecfd8bf](https://www.github.com/googleapis/google-api-nodejs-client/commit/ecfd8bfcd06e1beabff7ec9a8c4000222379eb8d))
|
|
28
|
+
|
|
29
|
+
## [0.5.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/slides-v0.4.0...slides-v0.5.0) (2021-08-31)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Features
|
|
33
|
+
|
|
34
|
+
* **slides:** update the API ([7ef8314](https://www.github.com/googleapis/google-api-nodejs-client/commit/7ef8314c55e53f84a49f2cb182cf40753ec3d7ec))
|
|
35
|
+
|
|
36
|
+
## [0.4.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/slides-v0.3.1...slides-v0.4.0) (2021-07-24)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Features
|
|
40
|
+
|
|
41
|
+
* **slides:** update the API ([e942819](https://www.github.com/googleapis/google-api-nodejs-client/commit/e94281991063194424eb53dc3e7e55e6ed1e8646))
|
|
42
|
+
|
|
43
|
+
### [0.3.1](https://www.github.com/googleapis/google-api-nodejs-client/compare/slides-v0.3.0...slides-v0.3.1) (2021-07-08)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### Bug Fixes
|
|
47
|
+
|
|
48
|
+
* **slides:** update the API ([77594fa](https://www.github.com/googleapis/google-api-nodejs-client/commit/77594fa6224ed331af32ceb31a12962fef1126d2))
|
|
49
|
+
|
|
50
|
+
## [0.3.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/slides-v0.2.0...slides-v0.3.0) (2021-07-02)
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
### Features
|
|
54
|
+
|
|
55
|
+
* **slides:** update the API ([5c23f85](https://www.github.com/googleapis/google-api-nodejs-client/commit/5c23f850a1edbdf9dabc75cb742514e02755aa79))
|
|
56
|
+
|
|
3
57
|
## [0.2.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/slides-v0.1.0...slides-v0.2.0) (2021-03-18)
|
|
4
58
|
|
|
5
59
|
|
package/README.md
CHANGED
|
@@ -7,37 +7,18 @@
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
|
-
$ npm install googleapis
|
|
10
|
+
$ npm install @googleapis/slides
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Usage
|
|
14
14
|
All documentation and usage information can be found on [GitHub](https://github.com/googleapis/google-api-nodejs-client).
|
|
15
|
-
|
|
16
|
-
## Building a browser bundle
|
|
17
|
-
|
|
18
|
-
This library can be used in a browser. To prepare a single file bundle, clone the
|
|
19
|
-
[repository](https://github.com/googleapis/google-api-nodejs-client) and run
|
|
20
|
-
|
|
21
|
-
```sh
|
|
22
|
-
$ cd src/apis/slides
|
|
23
|
-
$ npm install
|
|
24
|
-
$ npm run webpack
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
The generated bundle will be written to `dist/slides.min.js`. Use it from your HTML file:
|
|
28
|
-
|
|
29
|
-
```html
|
|
30
|
-
<script src="/path/to/slides.min.js"></script>
|
|
31
|
-
<script>
|
|
32
|
-
const { slides, auth } = Slides;
|
|
33
|
-
</script>
|
|
34
|
-
```
|
|
15
|
+
Information on classes can be found in [Googleapis Documentation](https://googleapis.dev/nodejs/googleapis/latest/slides/classes/Slides.html).
|
|
35
16
|
|
|
36
17
|
## License
|
|
37
|
-
This library is licensed under Apache 2.0. Full license text is available in [LICENSE](https://github.com/googleapis/google-api-nodejs-client/blob/
|
|
18
|
+
This library is licensed under Apache 2.0. Full license text is available in [LICENSE](https://github.com/googleapis/google-api-nodejs-client/blob/main/LICENSE).
|
|
38
19
|
|
|
39
20
|
## Contributing
|
|
40
|
-
We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/
|
|
21
|
+
We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/main/.github/CONTRIBUTING.md).
|
|
41
22
|
|
|
42
23
|
## Questions/problems?
|
|
43
24
|
* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client).
|
package/build/v1.d.ts
CHANGED
|
@@ -339,7 +339,7 @@ export declare namespace slides_v1 {
|
|
|
339
339
|
*/
|
|
340
340
|
objectId?: string | null;
|
|
341
341
|
/**
|
|
342
|
-
* The ID of the Google Sheets spreadsheet that contains the chart.
|
|
342
|
+
* 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 link-shared files using resource keys](https://developers.google.com/drive/api/v3/resource-keys).
|
|
343
343
|
*/
|
|
344
344
|
spreadsheetId?: string | null;
|
|
345
345
|
}
|
|
@@ -421,7 +421,7 @@ export declare namespace slides_v1 {
|
|
|
421
421
|
*/
|
|
422
422
|
elementProperties?: Schema$PageElementProperties;
|
|
423
423
|
/**
|
|
424
|
-
* 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 https://drive.google.com/file/d/1xCgQLFTJi5_Xl8DgW_lcUYq5e-q6Hi5Q the ID is 1xCgQLFTJi5_Xl8DgW_lcUYq5e-q6Hi5Q.
|
|
424
|
+
* 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 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 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).
|
|
425
425
|
*/
|
|
426
426
|
id?: string | null;
|
|
427
427
|
/**
|
|
@@ -472,7 +472,7 @@ export declare namespace slides_v1 {
|
|
|
472
472
|
*/
|
|
473
473
|
export interface Schema$DeleteObjectRequest {
|
|
474
474
|
/**
|
|
475
|
-
* 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 on a layout, any empty inheriting
|
|
475
|
+
* 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 on a layout, any empty inheriting placeholders are also deleted.
|
|
476
476
|
*/
|
|
477
477
|
objectId?: string | null;
|
|
478
478
|
}
|
|
@@ -587,7 +587,7 @@ export declare namespace slides_v1 {
|
|
|
587
587
|
*/
|
|
588
588
|
export interface Schema$GroupObjectsRequest {
|
|
589
589
|
/**
|
|
590
|
-
* 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 page elements, such as videos, tables and
|
|
590
|
+
* 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 page elements, such as videos, tables and placeholders cannot be grouped.
|
|
591
591
|
*/
|
|
592
592
|
childrenObjectIds?: string[] | null;
|
|
593
593
|
/**
|
|
@@ -616,6 +616,10 @@ export declare namespace slides_v1 {
|
|
|
616
616
|
* The properties of the image.
|
|
617
617
|
*/
|
|
618
618
|
imageProperties?: Schema$ImageProperties;
|
|
619
|
+
/**
|
|
620
|
+
* 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 resolved by looking at the parent placeholder identified by the Placeholder.parent_object_id field.
|
|
621
|
+
*/
|
|
622
|
+
placeholder?: Schema$Placeholder;
|
|
619
623
|
/**
|
|
620
624
|
* The source URL is the URL used to insert the image. The source URL can be empty.
|
|
621
625
|
*/
|
|
@@ -1005,7 +1009,7 @@ export declare namespace slides_v1 {
|
|
|
1005
1009
|
*/
|
|
1006
1010
|
pageType?: string | null;
|
|
1007
1011
|
/**
|
|
1008
|
-
* The revision ID of the presentation
|
|
1012
|
+
* 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 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 revision ID is only guaranteed to be valid for 24 hours after it has been returned and cannot be shared across users. If the revision ID is unchanged 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 changed ID can also be due to internal factors such as ID format changes.
|
|
1009
1013
|
*/
|
|
1010
1014
|
revisionId?: string | null;
|
|
1011
1015
|
/**
|
|
@@ -1217,7 +1221,7 @@ export declare namespace slides_v1 {
|
|
|
1217
1221
|
*/
|
|
1218
1222
|
presentationId?: string | null;
|
|
1219
1223
|
/**
|
|
1220
|
-
* The revision ID of the presentation. Can be used in update requests to assert
|
|
1224
|
+
* 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 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 treated opaquely. A returned revision ID is only guaranteed to be valid for 24 hours after it has been returned and cannot be shared across users. If the revision ID is unchanged 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 changed ID can also be due to internal factors such as ID format changes.
|
|
1221
1225
|
*/
|
|
1222
1226
|
revisionId?: string | null;
|
|
1223
1227
|
/**
|
|
@@ -1527,6 +1531,10 @@ export declare namespace slides_v1 {
|
|
|
1527
1531
|
* Updates the properties of a Shape.
|
|
1528
1532
|
*/
|
|
1529
1533
|
updateShapeProperties?: Schema$UpdateShapePropertiesRequest;
|
|
1534
|
+
/**
|
|
1535
|
+
* Updates the properties of a Slide
|
|
1536
|
+
*/
|
|
1537
|
+
updateSlideProperties?: Schema$UpdateSlidePropertiesRequest;
|
|
1530
1538
|
/**
|
|
1531
1539
|
* Updates the position of a set of slides in the presentation.
|
|
1532
1540
|
*/
|
|
@@ -1677,7 +1685,7 @@ export declare namespace slides_v1 {
|
|
|
1677
1685
|
*/
|
|
1678
1686
|
export interface Schema$Shape {
|
|
1679
1687
|
/**
|
|
1680
|
-
* Placeholders are
|
|
1688
|
+
* 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 resolved by looking at the parent placeholder identified by the Placeholder.parent_object_id field.
|
|
1681
1689
|
*/
|
|
1682
1690
|
placeholder?: Schema$Placeholder;
|
|
1683
1691
|
/**
|
|
@@ -1782,6 +1790,10 @@ export declare namespace slides_v1 {
|
|
|
1782
1790
|
* The properties of Page that are only relevant for pages with page_type SLIDE.
|
|
1783
1791
|
*/
|
|
1784
1792
|
export interface Schema$SlideProperties {
|
|
1793
|
+
/**
|
|
1794
|
+
* Whether the slide is skipped in the presentation mode. Defaults to false.
|
|
1795
|
+
*/
|
|
1796
|
+
isSkipped?: boolean | null;
|
|
1785
1797
|
/**
|
|
1786
1798
|
* The object ID of the layout that this slide is based on. This property is read-only.
|
|
1787
1799
|
*/
|
|
@@ -2338,6 +2350,23 @@ export declare namespace slides_v1 {
|
|
|
2338
2350
|
*/
|
|
2339
2351
|
shapeProperties?: Schema$ShapeProperties;
|
|
2340
2352
|
}
|
|
2353
|
+
/**
|
|
2354
|
+
* Updates the properties of a Slide.
|
|
2355
|
+
*/
|
|
2356
|
+
export interface Schema$UpdateSlidePropertiesRequest {
|
|
2357
|
+
/**
|
|
2358
|
+
* The fields that should be updated. At least one field must be specified. The root 'slideProperties' is implied and should not be specified. A single `"*"` can be used as short-hand 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 field mask but leave the field itself unset.
|
|
2359
|
+
*/
|
|
2360
|
+
fields?: string | null;
|
|
2361
|
+
/**
|
|
2362
|
+
* The object ID of the slide the update is applied to.
|
|
2363
|
+
*/
|
|
2364
|
+
objectId?: string | null;
|
|
2365
|
+
/**
|
|
2366
|
+
* The slide properties to update.
|
|
2367
|
+
*/
|
|
2368
|
+
slideProperties?: Schema$SlideProperties;
|
|
2369
|
+
}
|
|
2341
2370
|
/**
|
|
2342
2371
|
* Updates the position of slides in the presentation.
|
|
2343
2372
|
*/
|
|
@@ -2554,7 +2583,7 @@ export declare namespace slides_v1 {
|
|
|
2554
2583
|
*/
|
|
2555
2584
|
export interface Schema$WriteControl {
|
|
2556
2585
|
/**
|
|
2557
|
-
* The revision ID of the presentation required for the write request. If specified and the
|
|
2586
|
+
* 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 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.
|
|
2558
2587
|
*/
|
|
2559
2588
|
requiredRevisionId?: string | null;
|
|
2560
2589
|
}
|
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;;AAEjC,uDAAuD;AACvD,yDAAyD;AACzD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,SAAS,
|
|
1
|
+
{"version":3,"file":"v1.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@googleapis/slides",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "slides",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@microsoft/api-extractor": "^7.8.10",
|
|
36
36
|
"gts": "^2.0.0",
|
|
37
37
|
"null-loader": "^4.0.0",
|
|
38
|
-
"ts-loader": "^
|
|
38
|
+
"ts-loader": "^9.0.0",
|
|
39
39
|
"typescript": "~3.7.0",
|
|
40
40
|
"webpack": "^5.0.0",
|
|
41
41
|
"webpack-cli": "^4.0.0"
|
package/v1.ts
CHANGED
|
@@ -393,7 +393,7 @@ export namespace slides_v1 {
|
|
|
393
393
|
*/
|
|
394
394
|
objectId?: string | null;
|
|
395
395
|
/**
|
|
396
|
-
* The ID of the Google Sheets spreadsheet that contains the chart.
|
|
396
|
+
* 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 link-shared files using resource keys](https://developers.google.com/drive/api/v3/resource-keys).
|
|
397
397
|
*/
|
|
398
398
|
spreadsheetId?: string | null;
|
|
399
399
|
}
|
|
@@ -475,7 +475,7 @@ export namespace slides_v1 {
|
|
|
475
475
|
*/
|
|
476
476
|
elementProperties?: Schema$PageElementProperties;
|
|
477
477
|
/**
|
|
478
|
-
* 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 https://drive.google.com/file/d/1xCgQLFTJi5_Xl8DgW_lcUYq5e-q6Hi5Q the ID is 1xCgQLFTJi5_Xl8DgW_lcUYq5e-q6Hi5Q.
|
|
478
|
+
* 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 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 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).
|
|
479
479
|
*/
|
|
480
480
|
id?: string | null;
|
|
481
481
|
/**
|
|
@@ -526,7 +526,7 @@ export namespace slides_v1 {
|
|
|
526
526
|
*/
|
|
527
527
|
export interface Schema$DeleteObjectRequest {
|
|
528
528
|
/**
|
|
529
|
-
* 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 on a layout, any empty inheriting
|
|
529
|
+
* 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 on a layout, any empty inheriting placeholders are also deleted.
|
|
530
530
|
*/
|
|
531
531
|
objectId?: string | null;
|
|
532
532
|
}
|
|
@@ -639,7 +639,7 @@ export namespace slides_v1 {
|
|
|
639
639
|
*/
|
|
640
640
|
export interface Schema$GroupObjectsRequest {
|
|
641
641
|
/**
|
|
642
|
-
* 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 page elements, such as videos, tables and
|
|
642
|
+
* 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 page elements, such as videos, tables and placeholders cannot be grouped.
|
|
643
643
|
*/
|
|
644
644
|
childrenObjectIds?: string[] | null;
|
|
645
645
|
/**
|
|
@@ -668,6 +668,10 @@ export namespace slides_v1 {
|
|
|
668
668
|
* The properties of the image.
|
|
669
669
|
*/
|
|
670
670
|
imageProperties?: Schema$ImageProperties;
|
|
671
|
+
/**
|
|
672
|
+
* 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 resolved by looking at the parent placeholder identified by the Placeholder.parent_object_id field.
|
|
673
|
+
*/
|
|
674
|
+
placeholder?: Schema$Placeholder;
|
|
671
675
|
/**
|
|
672
676
|
* The source URL is the URL used to insert the image. The source URL can be empty.
|
|
673
677
|
*/
|
|
@@ -1055,7 +1059,7 @@ export namespace slides_v1 {
|
|
|
1055
1059
|
*/
|
|
1056
1060
|
pageType?: string | null;
|
|
1057
1061
|
/**
|
|
1058
|
-
* The revision ID of the presentation
|
|
1062
|
+
* 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 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 revision ID is only guaranteed to be valid for 24 hours after it has been returned and cannot be shared across users. If the revision ID is unchanged 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 changed ID can also be due to internal factors such as ID format changes.
|
|
1059
1063
|
*/
|
|
1060
1064
|
revisionId?: string | null;
|
|
1061
1065
|
/**
|
|
@@ -1267,7 +1271,7 @@ export namespace slides_v1 {
|
|
|
1267
1271
|
*/
|
|
1268
1272
|
presentationId?: string | null;
|
|
1269
1273
|
/**
|
|
1270
|
-
* The revision ID of the presentation. Can be used in update requests to assert
|
|
1274
|
+
* 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 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 treated opaquely. A returned revision ID is only guaranteed to be valid for 24 hours after it has been returned and cannot be shared across users. If the revision ID is unchanged 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 changed ID can also be due to internal factors such as ID format changes.
|
|
1271
1275
|
*/
|
|
1272
1276
|
revisionId?: string | null;
|
|
1273
1277
|
/**
|
|
@@ -1577,6 +1581,10 @@ export namespace slides_v1 {
|
|
|
1577
1581
|
* Updates the properties of a Shape.
|
|
1578
1582
|
*/
|
|
1579
1583
|
updateShapeProperties?: Schema$UpdateShapePropertiesRequest;
|
|
1584
|
+
/**
|
|
1585
|
+
* Updates the properties of a Slide
|
|
1586
|
+
*/
|
|
1587
|
+
updateSlideProperties?: Schema$UpdateSlidePropertiesRequest;
|
|
1580
1588
|
/**
|
|
1581
1589
|
* Updates the position of a set of slides in the presentation.
|
|
1582
1590
|
*/
|
|
@@ -1727,7 +1735,7 @@ export namespace slides_v1 {
|
|
|
1727
1735
|
*/
|
|
1728
1736
|
export interface Schema$Shape {
|
|
1729
1737
|
/**
|
|
1730
|
-
* Placeholders are
|
|
1738
|
+
* 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 resolved by looking at the parent placeholder identified by the Placeholder.parent_object_id field.
|
|
1731
1739
|
*/
|
|
1732
1740
|
placeholder?: Schema$Placeholder;
|
|
1733
1741
|
/**
|
|
@@ -1832,6 +1840,10 @@ export namespace slides_v1 {
|
|
|
1832
1840
|
* The properties of Page that are only relevant for pages with page_type SLIDE.
|
|
1833
1841
|
*/
|
|
1834
1842
|
export interface Schema$SlideProperties {
|
|
1843
|
+
/**
|
|
1844
|
+
* Whether the slide is skipped in the presentation mode. Defaults to false.
|
|
1845
|
+
*/
|
|
1846
|
+
isSkipped?: boolean | null;
|
|
1835
1847
|
/**
|
|
1836
1848
|
* The object ID of the layout that this slide is based on. This property is read-only.
|
|
1837
1849
|
*/
|
|
@@ -2386,6 +2398,23 @@ export namespace slides_v1 {
|
|
|
2386
2398
|
*/
|
|
2387
2399
|
shapeProperties?: Schema$ShapeProperties;
|
|
2388
2400
|
}
|
|
2401
|
+
/**
|
|
2402
|
+
* Updates the properties of a Slide.
|
|
2403
|
+
*/
|
|
2404
|
+
export interface Schema$UpdateSlidePropertiesRequest {
|
|
2405
|
+
/**
|
|
2406
|
+
* The fields that should be updated. At least one field must be specified. The root 'slideProperties' is implied and should not be specified. A single `"*"` can be used as short-hand 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 field mask but leave the field itself unset.
|
|
2407
|
+
*/
|
|
2408
|
+
fields?: string | null;
|
|
2409
|
+
/**
|
|
2410
|
+
* The object ID of the slide the update is applied to.
|
|
2411
|
+
*/
|
|
2412
|
+
objectId?: string | null;
|
|
2413
|
+
/**
|
|
2414
|
+
* The slide properties to update.
|
|
2415
|
+
*/
|
|
2416
|
+
slideProperties?: Schema$SlideProperties;
|
|
2417
|
+
}
|
|
2389
2418
|
/**
|
|
2390
2419
|
* Updates the position of slides in the presentation.
|
|
2391
2420
|
*/
|
|
@@ -2602,7 +2631,7 @@ export namespace slides_v1 {
|
|
|
2602
2631
|
*/
|
|
2603
2632
|
export interface Schema$WriteControl {
|
|
2604
2633
|
/**
|
|
2605
|
-
* The revision ID of the presentation required for the write request. If specified and the
|
|
2634
|
+
* 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 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.
|
|
2606
2635
|
*/
|
|
2607
2636
|
requiredRevisionId?: string | null;
|
|
2608
2637
|
}
|