Responses

Response

A single response from an update.

JSON representation
{

  // Union field response can be only one of the following:
  "replaceAllText": {
    object (ReplaceAllTextResponse)
  },
  "createNamedRange": {
    object (CreateNamedRangeResponse)
  },
  "insertInlineImage": {
    object (InsertInlineImageResponse)
  },
  "insertInlineSheetsChart": {
    object (InsertInlineSheetsChartResponse)
  }
  // End of list of possible types for union field response.
}
Fields
Union field response . The response for the corresponding request. May have no fields set if the request had no response. response can be only one of the following:
replaceAllText

object ( ReplaceAllTextResponse )

The result of replacing text.

createNamedRange

object ( CreateNamedRangeResponse )

The result of creating a named range.

insertInlineImage

object ( InsertInlineImageResponse )

The result of inserting an inline image.

insertInlineSheetsChart

object ( InsertInlineSheetsChartResponse )

The result of inserting an inline Google Sheets chart.

ReplaceAllTextResponse

The result of replacing text.

JSON representation
{
  "occurrencesChanged": number
}
Fields
occurrencesChanged

number

The number of occurrences changed by replacing all text.

CreateNamedRangeResponse

The result of creating a named range.

JSON representation
{
  "namedRangeId": string
}
Fields
namedRangeId

string

The ID of the created named range.

InsertInlineImageResponse

The result of inserting an inline image.

JSON representation
{
  "objectId": string
}
Fields
objectId

string

The ID of the created InlineObject .

InsertInlineSheetsChartResponse

The result of inserting an embedded Google Sheets chart.

JSON representation
{
  "objectId": string
}
Fields
objectId

string

The object ID of the inserted chart.

Envoyer des commentaires concernant…

Besoin d'aide ? Consultez notre page d'assistance.