Response
A single response from an update.
| JSON representation | 
|---|
      { // Union field  | 
    
| 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
      | 
     
       
        The result of replacing text.  | 
    
      createNamedRange
      | 
     
       
        The result of creating a named range.  | 
    
      insertInlineImage
      | 
     
       
        The result of inserting an inline image.  | 
    
      insertInlineSheetsChart
      | 
     
       
        The result of inserting an inline Google Sheets chart.  | 
    
      createHeader
      | 
     
       
        The result of creating a header.  | 
    
      createFooter
      | 
     
       
        The result of creating a footer.  | 
    
      createFootnote
      | 
     
       
        The result of creating a footnote.  | 
    
ReplaceAllTextResponse
The result of replacing text.
| JSON representation | 
|---|
      { "occurrencesChanged": integer }  | 
    
| Fields | |
|---|---|
      occurrencesChanged
      | 
     
       
        The number of occurrences changed by replacing all text.  | 
    
CreateNamedRangeResponse
The result of creating a named range.
| JSON representation | 
|---|
      { "namedRangeId": string }  | 
    
| Fields | |
|---|---|
      namedRangeId
      | 
     
       
        The ID of the created named range.  | 
    
InsertInlineImageResponse
The result of inserting an inline image.
| JSON representation | 
|---|
      { "objectId": string }  | 
    
| Fields | |
|---|---|
      objectId
      | 
     
       
        
       The ID of the created
         | 
    
InsertInlineSheetsChartResponse
The result of inserting an embedded Google Sheets chart.
| JSON representation | 
|---|
      { "objectId": string }  | 
    
| Fields | |
|---|---|
      objectId
      | 
     
       
        The object ID of the inserted chart.  | 
    
CreateHeaderResponse
The result of creating a header.
| JSON representation | 
|---|
      { "headerId": string }  | 
    
| Fields | |
|---|---|
      headerId
      | 
     
       
        The ID of the created header.  | 
    
CreateFootnoteResponse
The result of creating a footnote.
| JSON representation | 
|---|
      { "footnoteId": string }  | 
    
| Fields | |
|---|---|
      footnoteId
      | 
     
       
        The ID of the created footnote.  |