@maxim_mazurok/gapi.client.slides-v1 0.2.20260909 → 0.2.20260923
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/index.d.ts +203 -1
- package/package.json +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:
|
|
12
|
+
// Revision: 20260923
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -24,6 +24,16 @@ declare namespace gapi.client {
|
|
|
24
24
|
function load(name: 'slides', version: 'v1', callback: () => any): void;
|
|
25
25
|
|
|
26
26
|
namespace slides {
|
|
27
|
+
interface AddCommentReplyRequest {
|
|
28
|
+
/** The ID of the CommentThread to add the reply to. */
|
|
29
|
+
commentId?: string;
|
|
30
|
+
/** The Post representing the reply. */
|
|
31
|
+
post?: Post;
|
|
32
|
+
}
|
|
33
|
+
interface AddCommentReplyResponse {
|
|
34
|
+
/** The newly-inserted reply Post. */
|
|
35
|
+
post?: Post;
|
|
36
|
+
}
|
|
27
37
|
interface AffineTransform {
|
|
28
38
|
/** The X coordinate scaling element. */
|
|
29
39
|
scaleX?: number;
|
|
@@ -64,6 +74,12 @@ declare namespace gapi.client {
|
|
|
64
74
|
writeControl?: WriteControl;
|
|
65
75
|
}
|
|
66
76
|
interface BatchUpdatePresentationResponse {
|
|
77
|
+
/** Whether comment updates were applied in the batch request. [Developer Preview](https://developers.google.com/workspace/preview). */
|
|
78
|
+
commentUpdateState?:
|
|
79
|
+
| 'COMMENT_UPDATE_STATE_UNSPECIFIED'
|
|
80
|
+
| 'NO_UPDATES_REQUESTED'
|
|
81
|
+
| 'ALL_SAVED'
|
|
82
|
+
| 'ALL_FAILED_UNKNOWN_REASON';
|
|
67
83
|
/** The presentation the updates were applied to. */
|
|
68
84
|
presentationId?: string;
|
|
69
85
|
/** The reply of the updates. This maps 1:1 with the updates, although replies to some requests may be empty. */
|
|
@@ -93,6 +109,26 @@ declare namespace gapi.client {
|
|
|
93
109
|
/** 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]. */
|
|
94
110
|
position?: number;
|
|
95
111
|
}
|
|
112
|
+
interface CommentAnchor {
|
|
113
|
+
/** Output only. The unique ID of the comment anchor. */
|
|
114
|
+
anchorId?: string;
|
|
115
|
+
/** Output only. All object ID-based locations within a page that refer to the anchor ID. */
|
|
116
|
+
objectAnchors?: ObjectAnchor[];
|
|
117
|
+
}
|
|
118
|
+
interface CommentThread {
|
|
119
|
+
/** The ID of the CommentAnchor in the presentation that this thread is tied to. */
|
|
120
|
+
anchorId?: string;
|
|
121
|
+
/** The unique ID of the comment thread. */
|
|
122
|
+
commentId?: string;
|
|
123
|
+
/** The first post in the thread. */
|
|
124
|
+
headPost?: Post;
|
|
125
|
+
/** The quoted text from the page element when the comment was created, formatted as plain-text. */
|
|
126
|
+
plainTextQuote?: string;
|
|
127
|
+
/** Replies to the head post. */
|
|
128
|
+
replies?: Post[];
|
|
129
|
+
/** Whether the thread is open or resolved. */
|
|
130
|
+
status?: 'STATUS_UNSPECIFIED' | 'OPEN' | 'RESOLVED';
|
|
131
|
+
}
|
|
96
132
|
interface CreateImageRequest {
|
|
97
133
|
/** 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. */
|
|
98
134
|
elementProperties?: PageElementProperties;
|
|
@@ -369,6 +405,16 @@ declare namespace gapi.client {
|
|
|
369
405
|
/** 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. */
|
|
370
406
|
topOffset?: number;
|
|
371
407
|
}
|
|
408
|
+
interface DeleteCommentReplyRequest {
|
|
409
|
+
/** The ID of the CommentThread which the post belongs to. */
|
|
410
|
+
commentId?: string;
|
|
411
|
+
/** The ID of the reply Post being deleted. */
|
|
412
|
+
postId?: string;
|
|
413
|
+
}
|
|
414
|
+
interface DeleteCommentRequest {
|
|
415
|
+
/** The ID of the CommentThread that is being deleted. */
|
|
416
|
+
commentId?: string;
|
|
417
|
+
}
|
|
372
418
|
interface DeleteObjectRequest {
|
|
373
419
|
/** 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. */
|
|
374
420
|
objectId?: string;
|
|
@@ -459,6 +505,24 @@ declare namespace gapi.client {
|
|
|
459
505
|
/** 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. */
|
|
460
506
|
transparency?: number;
|
|
461
507
|
}
|
|
508
|
+
interface InsertCommentRequest {
|
|
509
|
+
/** Optional. The email address of the assignee of the comment. Leave empty for a non-assigned comment. May not exceed 2048 UTF-8 code units. */
|
|
510
|
+
assigneeEmailAddress?: string;
|
|
511
|
+
/** The text of the comment, as plain text. This text content will be handled similarly to comments created in the Slides editor. It will have similar behaviors for formatting, notifications, etc. This field cannot be empty, and must not exceed 2048 UTF-8 code units. */
|
|
512
|
+
content?: string;
|
|
513
|
+
/** The object ID of the Page or PageElement that is tied to this comment. If the specified object_id is a Group, the comment will be anchored to at most 100 of the group's non-group descendants. */
|
|
514
|
+
objectId?: string;
|
|
515
|
+
/** Anchors a comment to a specific range of text within a Shape. */
|
|
516
|
+
shapeTextAnchor?: ShapeTextAnchor;
|
|
517
|
+
/** Anchors a comment to a specific range of cells within a Table. Returns a 400 bad request error if no cells within the range contain text. */
|
|
518
|
+
tableAnchor?: TableAnchor;
|
|
519
|
+
/** Anchors a comment to a specific range of text within a single cell in a Table. */
|
|
520
|
+
tableCellTextAnchor?: TableCellTextAnchor;
|
|
521
|
+
}
|
|
522
|
+
interface InsertCommentResponse {
|
|
523
|
+
/** The newly-inserted comment thread. */
|
|
524
|
+
commentThread?: CommentThread;
|
|
525
|
+
}
|
|
462
526
|
interface InsertTableColumnsRequest {
|
|
463
527
|
/** 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 reference cell is a merged cell, a new column will be inserted to the left (or right) of the merged cell. */
|
|
464
528
|
cellLocation?: TableCellLocation;
|
|
@@ -639,6 +703,14 @@ declare namespace gapi.client {
|
|
|
639
703
|
/** The object ID of the shape on this notes page that contains the speaker notes for the corresponding slide. The actual shape may not always exist on the notes page. Inserting text 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 the latest object ID. */
|
|
640
704
|
speakerNotesObjectId?: string;
|
|
641
705
|
}
|
|
706
|
+
interface ObjectAnchor {
|
|
707
|
+
/** Output only. The page or page element that the comment thread is anchored to. */
|
|
708
|
+
objectId?: string;
|
|
709
|
+
/** Populated for Shapes that have comments anchored to ranges of text in the shape's text. */
|
|
710
|
+
shapeTextAnchors?: ShapeTextAnchors;
|
|
711
|
+
/** Populated for Tables that have comments anchored to ranges of text in one or more of the table's cells. */
|
|
712
|
+
tableCellAnchors?: TableCellAnchors;
|
|
713
|
+
}
|
|
642
714
|
interface OpaqueColor {
|
|
643
715
|
/** An opaque RGB color. */
|
|
644
716
|
rgbColor?: RgbColor;
|
|
@@ -688,6 +760,16 @@ declare namespace gapi.client {
|
|
|
688
760
|
solidFill?: SolidFill;
|
|
689
761
|
}
|
|
690
762
|
interface Page {
|
|
763
|
+
/** Output only. The comment anchors present on the page. [Developer Preview](https://developers.google.com/workspace/preview). */
|
|
764
|
+
commentAnchors?: CommentAnchor[];
|
|
765
|
+
/** Output only. The comment threads associated with the page. Only populated if the page was fetched via a GetPageRequest with a populated comments_view_mode. Otherwise, comments are returned in the Presentation via the GetPresentationRequest. [Developer Preview](https://developers.google.com/workspace/preview). */
|
|
766
|
+
comments?: CommentThread[];
|
|
767
|
+
/** Output only. The comments view mode applied to the page. Only populated if the page was fetched via a GetPageRequest with a populated comments_view_mode. [Developer Preview](https://developers.google.com/workspace/preview). */
|
|
768
|
+
commentsViewMode?:
|
|
769
|
+
| 'COMMENTS_VIEW_MODE_UNSPECIFIED'
|
|
770
|
+
| 'COMMENTS_VIEW_MODE_DEFAULT_FOR_CURRENT_ACCESS'
|
|
771
|
+
| 'COMMENTS_VIEW_MODE_OMITTED'
|
|
772
|
+
| 'COMMENTS_VIEW_MODE_INCLUDED';
|
|
691
773
|
/** Layout specific properties. Only set if page_type = LAYOUT. */
|
|
692
774
|
layoutProperties?: LayoutProperties;
|
|
693
775
|
/** Master specific properties. Only set if page_type = MASTER. */
|
|
@@ -813,7 +895,53 @@ declare namespace gapi.client {
|
|
|
813
895
|
| 'TITLE'
|
|
814
896
|
| 'SLIDE_IMAGE';
|
|
815
897
|
}
|
|
898
|
+
interface Post {
|
|
899
|
+
/** Optional. The email of the user who is being newly assigned to the thread as part of this post. Returns a 400 bad request error if: - The parent thread is a CommentThread whose headPost does not have an assignee. - commentAction is specified as `RESOLVE` or `REOPEN`. - `assignee_email` exceeds 2048 UTF-8 code units. */
|
|
900
|
+
assigneeEmail?: string;
|
|
901
|
+
/** Output only. The user who created the post. */
|
|
902
|
+
author?: PostAuthor;
|
|
903
|
+
/** Action taken as part of creating the post. */
|
|
904
|
+
commentAction?:
|
|
905
|
+
| 'COMMENT_ACTION_TYPE_UNSPECIFIED'
|
|
906
|
+
| 'NO_COMMENT_ACTION_CHANGE'
|
|
907
|
+
| 'RESOLVE'
|
|
908
|
+
| 'REOPEN';
|
|
909
|
+
/** The content of the post. Required to be non-empty if comment_action is not `RESOLVE` or `REOPEN`. This text content will be handled similarly to comments created in the Slides editor. It will have similar behaviors for formatting, notifications, etc. May not exceed 2048 UTF-8 code units. */
|
|
910
|
+
content?: string;
|
|
911
|
+
/** Output only. The content of the post as HTML. */
|
|
912
|
+
contentHtml?: string;
|
|
913
|
+
/** Output only. The time the post was created. */
|
|
914
|
+
createTime?: string;
|
|
915
|
+
/** Output only. Whether the post is deleted. If `true`, content and author fields will be empty. */
|
|
916
|
+
deleted?: boolean;
|
|
917
|
+
/** Output only. Whether the post is from a copied presentation. This field cannot be set directly by callers. */
|
|
918
|
+
fromCopiedPresentation?: boolean;
|
|
919
|
+
/** Output only. Whether the post is from an imported presentation. This field cannot be set directly by callers. */
|
|
920
|
+
fromImportedPresentation?: boolean;
|
|
921
|
+
/** Output only. The unique ID of the post. */
|
|
922
|
+
postId?: string;
|
|
923
|
+
/** Output only. The time the post was last updated. */
|
|
924
|
+
updateTime?: string;
|
|
925
|
+
}
|
|
926
|
+
interface PostAuthor {
|
|
927
|
+
/** Whether the user is anonymous. */
|
|
928
|
+
anonymous?: boolean;
|
|
929
|
+
/** The display name of the user. May be absent if the author is anonymous. */
|
|
930
|
+
displayName?: string;
|
|
931
|
+
/** Whether the user is the authenticated user making the request. */
|
|
932
|
+
me?: boolean;
|
|
933
|
+
/** The resource name of the post author user, which can also be used to identify the user in the [Google People API](https://developers.google.com/people/api/rest/v1/people). Format: `users/{user}`. Will not be populated if the anonymous field is `true` or if the post is from an imported presentation. */
|
|
934
|
+
user?: string;
|
|
935
|
+
}
|
|
816
936
|
interface Presentation {
|
|
937
|
+
/** Output only. The comment threads associated with the presentation. [Developer Preview](https://developers.google.com/workspace/preview). */
|
|
938
|
+
comments?: CommentThread[];
|
|
939
|
+
/** Output only. The comments view mode applied to the presentation. [Developer Preview](https://developers.google.com/workspace/preview). */
|
|
940
|
+
commentsViewMode?:
|
|
941
|
+
| 'COMMENTS_VIEW_MODE_UNSPECIFIED'
|
|
942
|
+
| 'COMMENTS_VIEW_MODE_DEFAULT_FOR_CURRENT_ACCESS'
|
|
943
|
+
| 'COMMENTS_VIEW_MODE_OMITTED'
|
|
944
|
+
| 'COMMENTS_VIEW_MODE_INCLUDED';
|
|
817
945
|
/** 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. */
|
|
818
946
|
layouts?: Page[];
|
|
819
947
|
/** The locale of the presentation, as an IETF BCP 47 language tag. */
|
|
@@ -932,6 +1060,8 @@ declare namespace gapi.client {
|
|
|
932
1060
|
url?: string;
|
|
933
1061
|
}
|
|
934
1062
|
interface Request {
|
|
1063
|
+
/** Adds a reply to a CommentThread. [Developer Preview](https://developers.google.com/workspace/preview). */
|
|
1064
|
+
addCommentReply?: AddCommentReplyRequest;
|
|
935
1065
|
/** Creates an image. */
|
|
936
1066
|
createImage?: CreateImageRequest;
|
|
937
1067
|
/** Creates a line. */
|
|
@@ -948,6 +1078,10 @@ declare namespace gapi.client {
|
|
|
948
1078
|
createTable?: CreateTableRequest;
|
|
949
1079
|
/** Creates a video. */
|
|
950
1080
|
createVideo?: CreateVideoRequest;
|
|
1081
|
+
/** Deletes a CommentThread. [Developer Preview](https://developers.google.com/workspace/preview). */
|
|
1082
|
+
deleteComment?: DeleteCommentRequest;
|
|
1083
|
+
/** Deletes a reply Post from a CommentThread. [Developer Preview](https://developers.google.com/workspace/preview). */
|
|
1084
|
+
deleteCommentReply?: DeleteCommentReplyRequest;
|
|
951
1085
|
/** Deletes a page or page element from the presentation. */
|
|
952
1086
|
deleteObject?: DeleteObjectRequest;
|
|
953
1087
|
/** Deletes bullets from paragraphs. */
|
|
@@ -962,6 +1096,8 @@ declare namespace gapi.client {
|
|
|
962
1096
|
duplicateObject?: DuplicateObjectRequest;
|
|
963
1097
|
/** Groups objects, such as page elements. */
|
|
964
1098
|
groupObjects?: GroupObjectsRequest;
|
|
1099
|
+
/** Inserts a CommentThread into the presentation. [Developer Preview](https://developers.google.com/workspace/preview). */
|
|
1100
|
+
insertComment?: InsertCommentRequest;
|
|
965
1101
|
/** Inserts columns into a table. */
|
|
966
1102
|
insertTableColumns?: InsertTableColumnsRequest;
|
|
967
1103
|
/** Inserts rows into a table. */
|
|
@@ -986,6 +1122,8 @@ declare namespace gapi.client {
|
|
|
986
1122
|
ungroupObjects?: UngroupObjectsRequest;
|
|
987
1123
|
/** Unmerges cells in a Table. */
|
|
988
1124
|
unmergeTableCells?: UnmergeTableCellsRequest;
|
|
1125
|
+
/** Updates an existing post (head post or reply) of a CommentThread. [Developer Preview](https://developers.google.com/workspace/preview). */
|
|
1126
|
+
updateCommentPost?: UpdateCommentPostRequest;
|
|
989
1127
|
/** Updates the properties of an Image. */
|
|
990
1128
|
updateImageProperties?: UpdateImagePropertiesRequest;
|
|
991
1129
|
/** Updates the category of a line. */
|
|
@@ -1026,6 +1164,8 @@ declare namespace gapi.client {
|
|
|
1026
1164
|
objectId?: string;
|
|
1027
1165
|
}
|
|
1028
1166
|
interface Response {
|
|
1167
|
+
/** The result of creating a reply. [Developer Preview](https://developers.google.com/workspace/preview). */
|
|
1168
|
+
addCommentReply?: AddCommentReplyResponse;
|
|
1029
1169
|
/** The result of creating an image. */
|
|
1030
1170
|
createImage?: CreateImageResponse;
|
|
1031
1171
|
/** The result of creating a line. */
|
|
@@ -1044,6 +1184,8 @@ declare namespace gapi.client {
|
|
|
1044
1184
|
duplicateObject?: DuplicateObjectResponse;
|
|
1045
1185
|
/** The result of grouping objects. */
|
|
1046
1186
|
groupObjects?: GroupObjectsResponse;
|
|
1187
|
+
/** The result of creating a comment. [Developer Preview](https://developers.google.com/workspace/preview). */
|
|
1188
|
+
insertComment?: InsertCommentResponse;
|
|
1047
1189
|
/** The result of replacing all shapes matching some criteria with an image. */
|
|
1048
1190
|
replaceAllShapesWithImage?: ReplaceAllShapesWithImageResponse;
|
|
1049
1191
|
/** The result of replacing all shapes matching some criteria with a Google Sheets chart. */
|
|
@@ -1265,6 +1407,16 @@ declare namespace gapi.client {
|
|
|
1265
1407
|
/** 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 depends on the shape type, matching the defaults for new shapes created in the Slides editor. */
|
|
1266
1408
|
shapeBackgroundFill?: ShapeBackgroundFill;
|
|
1267
1409
|
}
|
|
1410
|
+
interface ShapeTextAnchor {
|
|
1411
|
+
/** The object ID of the page element containing the text. */
|
|
1412
|
+
objectId?: string;
|
|
1413
|
+
/** The text range for the anchor. */
|
|
1414
|
+
textRange?: Range;
|
|
1415
|
+
}
|
|
1416
|
+
interface ShapeTextAnchors {
|
|
1417
|
+
/** A list of text ranges covered by the comment anchor. */
|
|
1418
|
+
ranges?: TextRange[];
|
|
1419
|
+
}
|
|
1268
1420
|
interface SheetsChart {
|
|
1269
1421
|
/** The ID of the specific chart in the Google Sheets spreadsheet that is embedded. */
|
|
1270
1422
|
chartId?: number;
|
|
@@ -1339,6 +1491,12 @@ declare namespace gapi.client {
|
|
|
1339
1491
|
/** 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 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. */
|
|
1340
1492
|
verticalBorderRows?: TableBorderRow[];
|
|
1341
1493
|
}
|
|
1494
|
+
interface TableAnchor {
|
|
1495
|
+
/** The object ID of the table. */
|
|
1496
|
+
objectId?: string;
|
|
1497
|
+
/** The range of cells in the table to apply the anchor to. If omitted, all cells in the table will be used for the anchor. */
|
|
1498
|
+
tableRange?: TableRange;
|
|
1499
|
+
}
|
|
1342
1500
|
interface TableBorderCell {
|
|
1343
1501
|
/** The location of the border within the border table. */
|
|
1344
1502
|
location?: TableCellLocation;
|
|
@@ -1380,6 +1538,10 @@ declare namespace gapi.client {
|
|
|
1380
1538
|
/** The text content of the cell. */
|
|
1381
1539
|
text?: TextContent;
|
|
1382
1540
|
}
|
|
1541
|
+
interface TableCellAnchors {
|
|
1542
|
+
/** A list of all table cells in a table that have text covered by the anchor in the table. */
|
|
1543
|
+
cellRanges?: TableCellTextRanges[];
|
|
1544
|
+
}
|
|
1383
1545
|
interface TableCellBackgroundFill {
|
|
1384
1546
|
/** 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 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. */
|
|
1385
1547
|
propertyState?: 'RENDERED' | 'NOT_RENDERED' | 'INHERIT';
|
|
@@ -1403,6 +1565,20 @@ declare namespace gapi.client {
|
|
|
1403
1565
|
/** The background fill of the table cell. The default fill matches the fill for newly created table cells in the Slides editor. */
|
|
1404
1566
|
tableCellBackgroundFill?: TableCellBackgroundFill;
|
|
1405
1567
|
}
|
|
1568
|
+
interface TableCellTextAnchor {
|
|
1569
|
+
/** The location of the cell in the table. */
|
|
1570
|
+
cellLocation?: TableCellLocation;
|
|
1571
|
+
/** The object ID of the table containing the cell. */
|
|
1572
|
+
objectId?: string;
|
|
1573
|
+
/** The text range for the anchor. */
|
|
1574
|
+
textRange?: Range;
|
|
1575
|
+
}
|
|
1576
|
+
interface TableCellTextRanges {
|
|
1577
|
+
/** The location of the table cell. */
|
|
1578
|
+
cellLocation?: TableCellLocation;
|
|
1579
|
+
/** A list of all text ranges covered by the anchor in this cell. */
|
|
1580
|
+
ranges?: TextRange[];
|
|
1581
|
+
}
|
|
1406
1582
|
interface TableColumnProperties {
|
|
1407
1583
|
/** Width of a column. */
|
|
1408
1584
|
columnWidth?: Dimension;
|
|
@@ -1445,6 +1621,12 @@ declare namespace gapi.client {
|
|
|
1445
1621
|
/** 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 in the index range of a single `paragraph_marker` TextElement. In other words, a TextRun will never span multiple paragraphs. */
|
|
1446
1622
|
textRun?: TextRun;
|
|
1447
1623
|
}
|
|
1624
|
+
interface TextRange {
|
|
1625
|
+
/** The zero-based index of the end of the range. This field is an Int32Value in order to accommodate future use cases with open-ended ranges. */
|
|
1626
|
+
endIndex?: number;
|
|
1627
|
+
/** The zero-based index of the beginning range. This field is an Int32Value in order to accommodate future use cases with open-ended ranges. */
|
|
1628
|
+
startIndex?: number;
|
|
1629
|
+
}
|
|
1448
1630
|
interface TextRun {
|
|
1449
1631
|
/** The text of this run. */
|
|
1450
1632
|
content?: string;
|
|
@@ -1519,6 +1701,14 @@ declare namespace gapi.client {
|
|
|
1519
1701
|
/** 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 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 unmerged cells. */
|
|
1520
1702
|
tableRange?: TableRange;
|
|
1521
1703
|
}
|
|
1704
|
+
interface UpdateCommentPostRequest {
|
|
1705
|
+
/** The ID of the CommentThread which the post belongs to. */
|
|
1706
|
+
commentId?: string;
|
|
1707
|
+
/** The new text of the comment, as plain text. This text content will be handled similarly to comments created in the Slides editor. It will have similar behaviors for formatting, notifications, etc. This field cannot be empty, and must not exceed 2048 UTF-8 code units. */
|
|
1708
|
+
content?: string;
|
|
1709
|
+
/** The ID of the post being updated. */
|
|
1710
|
+
postId?: string;
|
|
1711
|
+
}
|
|
1522
1712
|
interface UpdateImagePropertiesRequest {
|
|
1523
1713
|
/** The fields that should be updated. At least one field must be specified. The root `imageProperties` is implied and should not be specified. A single `"*"` can be used as short-hand 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 its field name in the field mask but leave the field itself unset. */
|
|
1524
1714
|
fields?: string;
|
|
@@ -1729,6 +1919,12 @@ declare namespace gapi.client {
|
|
|
1729
1919
|
alt?: 'json' | 'media' | 'proto';
|
|
1730
1920
|
/** JSONP */
|
|
1731
1921
|
callback?: string;
|
|
1922
|
+
/** The comments view mode to apply to the page. This allows viewing the page with comments omitted or included. If one is not specified, COMMENTS_VIEW_MODE_OMITTED is used. [Developer Preview](https://developers.google.com/workspace/preview). */
|
|
1923
|
+
commentsViewMode?:
|
|
1924
|
+
| 'COMMENTS_VIEW_MODE_UNSPECIFIED'
|
|
1925
|
+
| 'COMMENTS_VIEW_MODE_DEFAULT_FOR_CURRENT_ACCESS'
|
|
1926
|
+
| 'COMMENTS_VIEW_MODE_OMITTED'
|
|
1927
|
+
| 'COMMENTS_VIEW_MODE_INCLUDED';
|
|
1732
1928
|
/** Selector specifying which fields to include in a partial response. */
|
|
1733
1929
|
fields?: string;
|
|
1734
1930
|
/** 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. */
|
|
@@ -1910,6 +2106,12 @@ declare namespace gapi.client {
|
|
|
1910
2106
|
alt?: 'json' | 'media' | 'proto';
|
|
1911
2107
|
/** JSONP */
|
|
1912
2108
|
callback?: string;
|
|
2109
|
+
/** The comments view mode to apply to the presentation. This allows viewing the presentation with comments omitted or included. If one is not specified, COMMENTS_VIEW_MODE_OMITTED is used. [Developer Preview](https://developers.google.com/workspace/preview). */
|
|
2110
|
+
commentsViewMode?:
|
|
2111
|
+
| 'COMMENTS_VIEW_MODE_UNSPECIFIED'
|
|
2112
|
+
| 'COMMENTS_VIEW_MODE_DEFAULT_FOR_CURRENT_ACCESS'
|
|
2113
|
+
| 'COMMENTS_VIEW_MODE_OMITTED'
|
|
2114
|
+
| 'COMMENTS_VIEW_MODE_INCLUDED';
|
|
1913
2115
|
/** Selector specifying which fields to include in a partial response. */
|
|
1914
2116
|
fields?: string;
|
|
1915
2117
|
/** 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. */
|