# REST Resource: cases.comments

## Resource: Comment

A comment associated with a support case.

Case comments are the primary way for Google Support to communicate with a user who has opened a case. When a user responds to Google Support, the user's responses also appear as comments.

| JSON representation |
|---|
| ``` { "name": string, "createTime": string, "creator": { object (`https://docs.cloud.google.com/support/docs/reference/rest/v2beta/Actor`) }, "body": string, "plainTextBody": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Output only. Identifier. The resource name of the comment. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The time when the comment was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `creator` | ``object (`https://docs.cloud.google.com/support/docs/reference/rest/v2beta/Actor`)`` Output only. The user or Google Support agent who created the comment. |
| `body` | `string` The full comment body. Maximum of 12800 characters. |
| `plainTextBody (deprecated)` | `string` > [!WARNING] > This item is deprecated! Output only. DEPRECATED. DO NOT USE. A duplicate of the `body` field. This field is only present for legacy reasons. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/support/docs/reference/rest/v2beta/cases.comments/create` | Add a new comment to a case. |
| ### `https://docs.cloud.google.com/support/docs/reference/rest/v2beta/cases.comments/get` | Retrieve a comment. |
| ### `https://docs.cloud.google.com/support/docs/reference/rest/v2beta/cases.comments/list` | List all the comments associated with a case. |