วิธีการนี้มีกรณีการใช้งานทั่วไป 1 กรณีตามที่อธิบายไว้ด้านล่าง ปุ่มใต้คำอธิบายจะเติมค่าตัวอย่างใน API Explorer หรือเปิด API Explorer แบบเต็มหน้าจอเพื่อแสดงตัวอย่างโค้ดที่ใช้ค่าเหล่านั้น ตัวอย่างโค้ดจะอัปเดตแบบไดนามิกด้วยหากคุณเปลี่ยนค่า

This example adds a reply to an existing comment. The snippet.parentId property identifies the top-level comment that you are replying to. That property's value specifies a comment thread ID. To add a top-level comment instead of a reply, use the commentThreads.insert method.