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)
  }
  // End of list of possible types for union field response.
}
ช่อง
ช่อง Union response การตอบสนองสําหรับคําขอที่เกี่ยวข้อง อาจไม่มีการตั้งค่าช่องใดๆ หากคําขอไม่มีการตอบกลับ response ต้องเป็นค่าใดค่าหนึ่งต่อไปนี้
replaceAllText

object (ReplaceAllTextResponse)

ผลลัพธ์ของการแทนที่ข้อความ

createNamedRange

object (CreateNamedRangeResponse)

ผลลัพธ์ของการสร้างช่วงที่มีชื่อ

insertInlineImage

object (InsertInlineImageResponse)

ผลลัพธ์ของการแทรกรูปภาพในบรรทัด

insertInlineSheetsChart

object (InsertInlineSheetsChartResponse)

ผลจากการแทรกแผนภูมิในบรรทัดของ Google ชีต

createHeader

object (CreateHeaderResponse)

ผลลัพธ์ของการสร้างส่วนหัว

createFootnote

object (CreateFootnoteResponse)

ผลลัพธ์ของการสร้างเชิงอรรถ

แทนที่การตอบกลับข้อความทั้งหมด

ผลลัพธ์ของการแทนที่ข้อความ

การแสดง JSON
{
  "occurrencesChanged": integer
}
ช่อง
occurrencesChanged

integer

จํานวนครั้งที่เปลี่ยนแปลงโดยแทนที่ข้อความทั้งหมด

สร้างช่วงชื่อการตอบสนอง

ผลลัพธ์ของการสร้างช่วงที่มีชื่อ

การแสดง JSON
{
  "namedRangeId": string
}
ช่อง
namedRangeId

string

รหัสของช่วงที่ตั้งชื่อแล้ว

แทรกการตอบกลับด้วยรูปภาพ

ผลลัพธ์ของการแทรกรูปภาพในบรรทัด

การแสดง JSON
{
  "objectId": string
}
ช่อง
objectId

string

รหัสของ InlineObject ที่สร้างขึ้น

แทรกแผนภูมิแผนภูมิแทรกในบรรทัด

ผลลัพธ์จากการแทรกแผนภูมิของ Google ชีตที่ฝัง

การแสดง JSON
{
  "objectId": string
}
ช่อง
objectId

string

รหัสออบเจ็กต์ของแผนภูมิที่แทรก

สร้างส่วนหัว

ผลลัพธ์ของการสร้างส่วนหัว

การแสดง JSON
{
  "headerId": string
}
ช่อง
headerId

string

รหัสของส่วนหัวที่สร้าง

สร้างส่วนท้าย

ผลลัพธ์ของการสร้างส่วนท้าย

การแสดง JSON
{
  "footerId": string
}
ช่อง
footerId

string

รหัสของส่วนท้ายที่สร้างขึ้น

สร้างการตอบกลับเชิงอรรถ

ผลลัพธ์ของการสร้างเชิงอรรถ

การแสดง JSON
{
  "footnoteId": string
}
ช่อง
footnoteId

string

รหัสของเชิงอรรถที่สร้างขึ้น