Responses

回答

更新的单个响应。

JSON 表示法
{

  // 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)
  },
  "addDocumentTab": {
    object (AddDocumentTabResponse)
  }
  // End of list of possible types for union field response.
}
字段
联合字段 response。相应请求的响应。如果请求没有响应,则可能未设置任何字段。 response 只能是下列其中一项:
replaceAllText

object (ReplaceAllTextResponse)

替换文本的结果。

createNamedRange

object (CreateNamedRangeResponse)

创建命名范围的结果。

insertInlineImage

object (InsertInlineImageResponse)

插入内嵌图片的结果。

insertInlineSheetsChart

object (InsertInlineSheetsChartResponse)

插入内嵌 Google 表格图表的结果。

createHeader

object (CreateHeaderResponse)

创建标题的结果。

createFootnote

object (CreateFootnoteResponse)

创建脚注的结果。

addDocumentTab

object (AddDocumentTabResponse)

添加文档标签页的结果。

ReplaceAllTextResponse

替换文本的结果。

JSON 表示法
{
  "occurrencesChanged": integer
}
字段
occurrencesChanged

integer

通过替换所有文本更改的出现次数。

CreateNamedRangeResponse

创建命名范围的结果。

JSON 表示法
{
  "namedRangeId": string
}
字段
namedRangeId

string

已创建的指定范围的 ID。

InsertInlineImageResponse

插入内嵌图片的结果。

JSON 表示法
{
  "objectId": string
}
字段
objectId

string

已创建的 InlineObject 的 ID。

InsertInlineSheetsChartResponse

插入嵌入式 Google 表格图表后的结果。

JSON 表示法
{
  "objectId": string
}
字段
objectId

string

插入图表的对象 ID。

CreateHeaderResponse

创建标题的结果。

JSON 表示法
{
  "headerId": string
}
字段
headerId

string

已创建的标题的 ID。

CreateFooterResponse

创建页脚的结果。

JSON 表示法
{
  "footerId": string
}
字段
footerId

string

已创建的页脚的 ID。

CreateFootnoteResponse

创建脚注的结果。

JSON 表示法
{
  "footnoteId": string
}
字段
footnoteId

string

创建的脚注的 ID。

AddDocumentTabResponse

添加文档标签页的结果。

JSON 表示法
{
  "tabProperties": {
    object (TabProperties)
  }
}
字段
tabProperties

object (TabProperties)

新添加的标签页的属性。