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 
 
) 
 } 
 , 
 "createFootnote" 
 : 
 { 
 object (  CreateFootnoteResponse 
 
) 
 } 
 // 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.

createFootnote

object ( CreateFootnoteResponse )

The result of creating a footnote.

ReplaceAllTextResponse

The result of replacing text.

JSON representation
 { 
 "occurrencesChanged" 
 : 
 integer 
 } 
Fields
occurrencesChanged

integer

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.

CreateFootnoteResponse

The result of creating a footnote.

JSON representation
 { 
 "footnoteId" 
 : 
 string 
 } 
Fields
footnoteId

string

The ID of the created footnote.

Create a Mobile Website
View Site in Mobile | Classic
Share by: