이 메서드에는 아래에 설명된 한 가지 일반적인 사용 사례가 있습니다. 설명 아래의 버튼은 API 탐색기를 샘플 값으로 채우거나 전체 화면 API 탐색기를 열어 해당 값을 사용하는 코드 샘플을 표시합니다. 또한 값을 변경하면 코드 샘플이 동적으로 업데이트됩니다.

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.