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)
  },
  "createHeader": {
    object (CreateHeaderResponse)
  },
  "createFooter": {
    object (CreateFooterResponse)
  }
  // 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.

createHeader

object ( CreateHeaderResponse )

The result of creating a header.

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.

CreateHeaderResponse

The result of creating a header.

JSON representation
{
  "headerId": string
}
Fields
headerId

string

The ID of the created header.

CreateFooterResponse

The result of creating a footer.

JSON representation
{
  "footerId": string
}
Fields
footerId

string

The ID of the created footer.