Response
A single response from an update.
| JSON representation |
|---|
{ // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "createSlide": { object ( |
| Fields | |
|---|---|
| The kind of reply. May have no fields set if the request had no response. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: | |
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. |
insertComment
|
The result of creating a comment.
|
addCommentReply
|
The result of creating a reply.
|
| End of mutually exclusive fields. | |
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. |
InsertCommentResponse
The result of creating a comment.
| JSON representation |
|---|
{
"commentThread": {
object ( |
| Fields | |
|---|---|
commentThread
|
The newly-inserted comment thread. |
AddCommentReplyResponse
The result of creating a reply.
| JSON representation |
|---|
{
"post": {
object ( |
| Fields | |
|---|---|
post
|
The newly-inserted reply
|