Responses
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
ReplaceAllTextResponse
JSON 표현
|
{
"occurrencesChanged": integer
}
|
필드
|
occurrencesChanged
|
integer
모든 텍스트를 대체하여 변경된 횟수입니다.
|
CreateNamedRangeResponse
JSON 표현
|
{
"namedRangeId": string
}
|
필드
|
namedRangeId
|
string
생성된 이름이 지정된 범위의 ID입니다.
|
InsertInlineImageResponse
JSON 표현
|
{
"objectId": string
}
|
InsertInlineSheetsChartResponse
삽입된 Google Sheets 차트의 결과입니다.
JSON 표현
|
{
"objectId": string
}
|
필드
|
objectId
|
string
삽입된 차트의 객체 ID입니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-03-24(UTC)
[null,null,["최종 업데이트: 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. |"]]