この方法には、以下に説明する一般的なユースケースが 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.