Responses
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Risposta
Una singola risposta da un aggiornamento.
Campi
|
Campo unione
response . La risposta alla richiesta corrispondente. Potrebbe non avere campi impostati se la richiesta non ha ricevuto risposta.
response
può essere solo uno dei seguenti:
|
replaceAllText
|
object (ReplaceAllTextResponse )
Il risultato della sostituzione del testo.
|
createNamedRange
|
object (CreateNamedRangeResponse )
Il risultato della creazione di un intervallo denominato.
|
insertInlineImage
|
object (InsertInlineImageResponse )
Il risultato dell'inserimento di un'immagine in linea.
|
insertInlineSheetsChart
|
object (InsertInlineSheetsChartResponse )
Il risultato dell'inserimento di un grafico di Fogli Google in linea.
|
ReplaceAllTextResponse
Il risultato della sostituzione del testo.
Rappresentazione JSON
|
{
"occurrencesChanged": integer
}
|
Campi
|
occurrencesChanged
|
integer
Il numero di occorrenze modificate sostituendo tutto il testo.
|
CreateNamedRangeResponse
Il risultato della creazione di un intervallo denominato.
Rappresentazione JSON
|
{
"namedRangeId": string
}
|
Campi
|
namedRangeId
|
string
L'ID dell'intervallo denominato creato.
|
InsertInlineImageResponse
Il risultato dell'inserimento di un'immagine in linea.
Rappresentazione JSON
|
{
"objectId": string
}
|
InsertInlineSheetsChartResponse
Il risultato dell'inserimento di un grafico di Fogli Google incorporato.
Rappresentazione JSON
|
{
"objectId": string
}
|
Campi
|
objectId
|
string
L'ID oggetto del grafico inserito.
|
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-03-24 UTC.
[null,null,["Ultimo aggiornamento 2025-03-24 UTC."],[],[],null,["# Responses\n\nResponse\n--------\n\n\nA single response from an update.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { // Union field `response` can be only one of the following: \"replaceAllText\": { object (/workspace/docs/api/reference/rest/v1/documents/response#ReplaceAllTextResponse) }, \"createNamedRange\": { object (/workspace/docs/api/reference/rest/v1/documents/response#CreateNamedRangeResponse) }, \"insertInlineImage\": { object (/workspace/docs/api/reference/rest/v1/documents/response#InsertInlineImageResponse) }, \"insertInlineSheetsChart\": { object (/workspace/docs/api/reference/rest/v1/documents/response#InsertInlineSheetsChartResponse) }, \"createHeader\": { object (/workspace/docs/api/reference/rest/v1/documents/response#CreateHeaderResponse) }, \"createFooter\": { object (/workspace/docs/api/reference/rest/v1/documents/response#CreateFooterResponse) }, \"createFootnote\": { object (/workspace/docs/api/reference/rest/v1/documents/response#CreateFootnoteResponse) } // End of list of possible types for union field `response`. } ``` |\n\n| Fields ||\n|---------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| 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: ||\n| `replaceAllText` | `object (`[ReplaceAllTextResponse](/workspace/docs/api/reference/rest/v1/documents/response#ReplaceAllTextResponse)`)` The result of replacing text. |\n| `createNamedRange` | `object (`[CreateNamedRangeResponse](/workspace/docs/api/reference/rest/v1/documents/response#CreateNamedRangeResponse)`)` The result of creating a named range. |\n| `insertInlineImage` | `object (`[InsertInlineImageResponse](/workspace/docs/api/reference/rest/v1/documents/response#InsertInlineImageResponse)`)` The result of inserting an inline image. |\n| `insertInlineSheetsChart` | `object (`[InsertInlineSheetsChartResponse](/workspace/docs/api/reference/rest/v1/documents/response#InsertInlineSheetsChartResponse)`)` The result of inserting an inline Google Sheets chart. |\n| `createHeader` | `object (`[CreateHeaderResponse](/workspace/docs/api/reference/rest/v1/documents/response#CreateHeaderResponse)`)` The result of creating a header. |\n| `createFooter` | `object (`[CreateFooterResponse](/workspace/docs/api/reference/rest/v1/documents/response#CreateFooterResponse)`)` The result of creating a footer. |\n| `createFootnote` | `object (`[CreateFootnoteResponse](/workspace/docs/api/reference/rest/v1/documents/response#CreateFootnoteResponse)`)` The result of creating a footnote. |\n\nReplaceAllTextResponse\n----------------------\n\n\nThe result of replacing text.\n\n| JSON representation |\n|-------------------------------------------|\n| ``` { \"occurrencesChanged\": integer } ``` |\n\n| Fields ||\n|----------------------|--------------------------------------------------------------------|\n| `occurrencesChanged` | `integer` The number of occurrences changed by replacing all text. |\n\nCreateNamedRangeResponse\n------------------------\n\n\nThe result of creating a named range.\n\n| JSON representation |\n|------------------------------------|\n| ``` { \"namedRangeId\": string } ``` |\n\n| Fields ||\n|----------------|---------------------------------------------|\n| `namedRangeId` | `string` The ID of the created named range. |\n\nInsertInlineImageResponse\n-------------------------\n\n\nThe result of inserting an inline image.\n\n| JSON representation |\n|--------------------------------|\n| ``` { \"objectId\": string } ``` |\n\n| Fields ||\n|------------|--------------------------------------------------------------------------------------------------------------|\n| `objectId` | `string` The ID of the created [InlineObject](/workspace/docs/api/reference/rest/v1/documents#InlineObject). |\n\nInsertInlineSheetsChartResponse\n-------------------------------\n\n\nThe result of inserting an embedded Google Sheets chart.\n\n| JSON representation |\n|--------------------------------|\n| ``` { \"objectId\": string } ``` |\n\n| Fields ||\n|------------|-----------------------------------------------|\n| `objectId` | `string` The object ID of the inserted chart. |\n\nCreateHeaderResponse\n--------------------\n\n\nThe result of creating a header.\n\n| JSON representation |\n|--------------------------------|\n| ``` { \"headerId\": string } ``` |\n\n| Fields ||\n|------------|----------------------------------------|\n| `headerId` | `string` The ID of the created header. |\n\nCreateFooterResponse\n--------------------\n\n\nThe result of creating a footer.\n\n| JSON representation |\n|--------------------------------|\n| ``` { \"footerId\": string } ``` |\n\n| Fields ||\n|------------|----------------------------------------|\n| `footerId` | `string` The ID of the created footer. |\n\nCreateFootnoteResponse\n----------------------\n\n\nThe result of creating a footnote.\n\n| JSON representation |\n|----------------------------------|\n| ``` { \"footnoteId\": string } ``` |\n\n| Fields ||\n|--------------|------------------------------------------|\n| `footnoteId` | `string` The ID of the created footnote. |"]]