Responses

Phản hồi

Một câu trả lời duy nhất cho một bản cập nhật.

Biểu diễn dưới dạng JSON
{

  "replaceAllText": {
    object (ReplaceAllTextResponse)
  },
  "createNamedRange": {
    object (CreateNamedRangeResponse)
  },
  "insertInlineImage": {
    object (InsertInlineImageResponse)
  },
  "insertInlineSheetsChart": {
    object (InsertInlineSheetsChartResponse)
  },
  "createHeader": {
    object (CreateHeaderResponse)
  },
  "createFooter": {
    object (CreateFooterResponse)
  },
  "createFootnote": {
    object (CreateFootnoteResponse)
  },
  "addDocumentTab": {
    object (AddDocumentTabResponse)
  },
  "insertComment": {
    object (InsertCommentResponse)
  },
  "addCommentReply": {
    object (AddCommentReplyResponse)
  }
}
Trường
Trường nhóm response. Phản hồi cho yêu cầu tương ứng. Có thể không có trường nào được đặt nếu yêu cầu không có phản hồi. response chỉ có thể là một trong những trạng thái sau:
replaceAllText

object (ReplaceAllTextResponse)

Kết quả của việc thay thế văn bản.

createNamedRange

object (CreateNamedRangeResponse)

Kết quả của việc tạo một dải ô được đặt tên.

insertInlineImage

object (InsertInlineImageResponse)

Kết quả của việc chèn một hình ảnh nội tuyến.

insertInlineSheetsChart

object (InsertInlineSheetsChartResponse)

Kết quả của việc chèn một biểu đồ Google Trang tính nội tuyến.

createHeader

object (CreateHeaderResponse)

Kết quả của việc tạo tiêu đề.

createFootnote

object (CreateFootnoteResponse)

Kết quả của việc tạo một chú thích cuối trang.

addDocumentTab

object (AddDocumentTabResponse)

Kết quả của việc thêm một thẻ tài liệu.

insertComment

object (InsertCommentResponse)

Kết quả của việc chèn một bình luận.

addCommentReply

object (AddCommentReplyResponse)

Kết quả của việc thêm một câu trả lời cho một bình luận hoặc đề xuất.

ReplaceAllTextResponse

Kết quả của việc thay thế văn bản.

Biểu diễn dưới dạng JSON
{
  "occurrencesChanged": integer
}
Trường
occurrencesChanged

integer

Số lần xuất hiện đã thay đổi bằng cách thay thế tất cả văn bản.

CreateNamedRangeResponse

Kết quả của việc tạo một dải ô được đặt tên.

Biểu diễn dưới dạng JSON
{
  "namedRangeId": string
}
Trường
namedRangeId

string

Mã nhận dạng của dải ô được đặt tên đã tạo.

InsertInlineImageResponse

Kết quả của việc chèn một hình ảnh nội tuyến.

Biểu diễn dưới dạng JSON
{
  "objectId": string
}
Trường
objectId

string

Mã nhận dạng của InlineObject đã tạo.

InsertInlineSheetsChartResponse

Kết quả của việc chèn một biểu đồ Google Trang tính được nhúng.

Biểu diễn dưới dạng JSON
{
  "objectId": string
}
Trường
objectId

string

Mã đối tượng của biểu đồ được chèn.

CreateHeaderResponse

Kết quả của việc tạo tiêu đề.

Biểu diễn dưới dạng JSON
{
  "headerId": string
}
Trường
headerId

string

Mã nhận dạng của tiêu đề đã tạo.

CreateFooterResponse

Kết quả của việc tạo chân trang.

Biểu diễn dưới dạng JSON
{
  "footerId": string
}
Trường
footerId

string

Mã nhận dạng của chân trang đã tạo.

CreateFootnoteResponse

Kết quả của việc tạo một chú thích cuối trang.

Biểu diễn dưới dạng JSON
{
  "footnoteId": string
}
Trường
footnoteId

string

Mã nhận dạng của chú thích đã tạo.

AddDocumentTabResponse

Kết quả của việc thêm một thẻ tài liệu.

Biểu diễn dưới dạng JSON
{
  "tabProperties": {
    object (TabProperties)
  }
}
Trường
tabProperties

object (TabProperties)

Các thuộc tính của thẻ mới được thêm.

InsertCommentResponse

Thông báo phản hồi cho việc chèn một bình luận.

Biểu diễn dưới dạng JSON
{
  "commentThread": {
    object (CommentThread)
  }
}
Trường
commentThread

object (CommentThread)

Chuỗi bình luận vừa được chèn.

AddCommentReplyResponse

Thông báo phản hồi khi thêm câu trả lời.

Biểu diễn dưới dạng JSON
{
  "post": {
    object (Post)
  }
}
Trường
post

object (Post)

Phản hồi vừa được chèn Post.