Response
A single response from an update.
| JSON representation | 
|---|
| { // Union field | 
| Fields | |
|---|---|
| Union field kind. The kind of reply. May have no fields set if the request had no response.kindcan be only one of the following: | |
| createSlide | 
        The result of creating a slide. | 
| createShape | 
        The result of creating a shape. | 
| createTable | 
        The result of creating a table. | 
| replaceAllText | 
        The result of replacing text. | 
| createImage | 
        The result of creating an image. | 
| createVideo | 
        The result of creating a video. | 
| createSheetsChart | 
        The result of creating a Google Sheets chart. | 
| createLine | 
        The result of creating a line. | 
| replaceAllShapesWithImage | 
        The result of replacing all shapes matching some criteria with an image. | 
| duplicateObject | 
        The result of duplicating an object. | 
| replaceAllShapesWithSheetsChart | 
        The result of replacing all shapes matching some criteria with a Google Sheets chart. | 
| groupObjects | 
        The result of grouping objects. | 
CreateSlideResponse
The result of creating a slide.
| JSON representation | 
|---|
| { "objectId": string } | 
| Fields | |
|---|---|
| objectId | 
        The object ID of the created slide. | 
CreateShapeResponse
The result of creating a shape.
| JSON representation | 
|---|
| { "objectId": string } | 
| Fields | |
|---|---|
| objectId | 
        The object ID of the created shape. | 
CreateTableResponse
The result of creating a table.
| JSON representation | 
|---|
| { "objectId": string } | 
| Fields | |
|---|---|
| objectId | 
        The object ID of the created table. | 
ReplaceAllTextResponse
The result of replacing text.
| JSON representation | 
|---|
| { "occurrencesChanged": integer } | 
| Fields | |
|---|---|
| occurrencesChanged | 
        The number of occurrences changed by replacing all text. | 
CreateImageResponse
The result of creating an image.
| JSON representation | 
|---|
| { "objectId": string } | 
| Fields | |
|---|---|
| objectId | 
        The object ID of the created image. | 
CreateVideoResponse
The result of creating a video.
| JSON representation | 
|---|
| { "objectId": string } | 
| Fields | |
|---|---|
| objectId | 
        The object ID of the created video. | 
CreateSheetsChartResponse
The result of creating an embedded Google Sheets chart.
| JSON representation | 
|---|
| { "objectId": string } | 
| Fields | |
|---|---|
| objectId | 
        The object ID of the created chart. | 
CreateLineResponse
The result of creating a line.
| JSON representation | 
|---|
| { "objectId": string } | 
| Fields | |
|---|---|
| objectId | 
        The object ID of the created line. | 
ReplaceAllShapesWithImageResponse
The result of replacing shapes with an image.
| JSON representation | 
|---|
| { "occurrencesChanged": integer } | 
| Fields | |
|---|---|
| occurrencesChanged | 
        The number of shapes replaced with images. | 
DuplicateObjectResponse
The response of duplicating an object.
| JSON representation | 
|---|
| { "objectId": string } | 
| Fields | |
|---|---|
| objectId | 
        The ID of the new duplicate object. | 
ReplaceAllShapesWithSheetsChartResponse
The result of replacing shapes with a Google Sheets chart.
| JSON representation | 
|---|
| { "occurrencesChanged": integer } | 
| Fields | |
|---|---|
| occurrencesChanged | 
        The number of shapes replaced with charts. | 
GroupObjectsResponse
The result of grouping objects.
| JSON representation | 
|---|
| { "objectId": string } | 
| Fields | |
|---|---|
| objectId | 
        The object ID of the created group. |