Responses

Response

A single response from an update.

JSON representation
{

  // Union field kind can be only one of the following:
  "createSlide": {
    object(CreateSlideResponse)
  },
  "createShape": {
    object(CreateShapeResponse)
  },
  "createTable": {
    object(CreateTableResponse)
  },
  "replaceAllText": {
    object(ReplaceAllTextResponse)
  },
  "createImage": {
    object(CreateImageResponse)
  },
  "createVideo": {
    object(CreateVideoResponse)
  },
  "createSheetsChart": {
    object(CreateSheetsChartResponse)
  },
  "createLine": {
    object(CreateLineResponse)
  },
  "replaceAllShapesWithImage": {
    object(ReplaceAllShapesWithImageResponse)
  },
  "duplicateObject": {
    object(DuplicateObjectResponse)
  },
  "replaceAllShapesWithSheetsChart": {
    object(ReplaceAllShapesWithSheetsChartResponse)
  },
  "groupObjects": {
    object(GroupObjectsResponse)
  }
  // End of list of possible types for union field kind.
}
Fields
Union field kind . The kind of reply. May have no fields set if the request had no response. kind can be only one of the following:
createSlide

object( CreateSlideResponse )

The result of creating a slide.

createShape

object( CreateShapeResponse )

The result of creating a shape.

createTable

object( CreateTableResponse )

The result of creating a table.

replaceAllText

object( ReplaceAllTextResponse )

The result of replacing text.

createImage

object( CreateImageResponse )

The result of creating an image.

createVideo

object( CreateVideoResponse )

The result of creating a video.

createSheetsChart

object( CreateSheetsChartResponse )

The result of creating a Google Sheets chart.

createLine

object( CreateLineResponse )

The result of creating a line.

replaceAllShapesWithImage

object( ReplaceAllShapesWithImageResponse )

The result of replacing all shapes matching some criteria with an image.

duplicateObject

object( DuplicateObjectResponse )

The result of duplicating an object.

replaceAllShapesWithSheetsChart

object( ReplaceAllShapesWithSheetsChartResponse )

The result of replacing all shapes matching some criteria with a Google Sheets chart.

groupObjects

object( GroupObjectsResponse )

The result of grouping objects.

CreateSlideResponse

The result of creating a slide.

JSON representation
{
  "objectId": string
}
Fields
objectId

string

The object ID of the created slide.

CreateShapeResponse

The result of creating a shape.

JSON representation
{
  "objectId": string
}
Fields
objectId

string

The object ID of the created shape.

CreateTableResponse

The result of creating a table.

JSON representation
{
  "objectId": string
}
Fields
objectId

string

The object ID of the created table.

ReplaceAllTextResponse

The result of replacing text.

JSON representation
{
  "occurrencesChanged": number
}
Fields
occurrencesChanged

number

The number of occurrences changed by replacing all text.

CreateImageResponse

The result of creating an image.

JSON representation
{
  "objectId": string
}
Fields
objectId

string

The object ID of the created image.

CreateVideoResponse

The result of creating a video.

JSON representation
{
  "objectId": string
}
Fields
objectId

string

The object ID of the created video.

CreateSheetsChartResponse

The result of creating an embedded Google Sheets chart.

JSON representation
{
  "objectId": string
}
Fields
objectId

string

The object ID of the created chart.

CreateLineResponse

The result of creating a line.

JSON representation
{
  "objectId": string
}
Fields
objectId

string

The object ID of the created line.

ReplaceAllShapesWithImageResponse

The result of replacing shapes with an image.

JSON representation
{
  "occurrencesChanged": number
}
Fields
occurrencesChanged

number

The number of shapes replaced with images.

DuplicateObjectResponse

The response of duplicating an object.

JSON representation
{
  "objectId": string
}
Fields
objectId

string

The ID of the new duplicate object.

ReplaceAllShapesWithSheetsChartResponse

The result of replacing shapes with a Google Sheets chart.

JSON representation
{
  "occurrencesChanged": number
}
Fields
occurrencesChanged

number

The number of shapes replaced with charts.

GroupObjectsResponse

The result of grouping objects.

JSON representation
{
  "objectId": string
}
Fields
objectId

string

The object ID of the created group.

다음에 대한 의견 보내기...

도움이 필요하시나요? 지원 페이지를 방문하세요.