# REST Resource: projects.locations.repositories.issues.issueComments

- [Resource: IssueComment](https://docs.cloud.google.com/secure-source-manager/docs/reference/rest/v1/projects.locations.repositories.issues.issueComments#IssueComment)
  - [JSON representation](https://docs.cloud.google.com/secure-source-manager/docs/reference/rest/v1/projects.locations.repositories.issues.issueComments#IssueComment.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/secure-source-manager/docs/reference/rest/v1/projects.locations.repositories.issues.issueComments#METHODS_SUMMARY)

## Resource: IssueComment

IssueComment represents a comment on an issue.

| JSON representation |
|---|
| ``` { "name": string, "body": string, "createTime": string, "updateTime": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. Unique identifier for an issue comment. The comment id is generated by the server. Format: `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue}/issueComments/{comment_id}` |
| `body` | `string` Required. The comment body. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. Creation timestamp. 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"`. |
| `updateTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. Last updated timestamp. 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"`. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/secure-source-manager/docs/reference/rest/v1/projects.locations.repositories.issues.issueComments/create` | Creates an issue comment. |
| ### `https://docs.cloud.google.com/secure-source-manager/docs/reference/rest/v1/projects.locations.repositories.issues.issueComments/delete` | Deletes an issue comment. |
| ### `https://docs.cloud.google.com/secure-source-manager/docs/reference/rest/v1/projects.locations.repositories.issues.issueComments/get` | Gets an issue comment. |
| ### `https://docs.cloud.google.com/secure-source-manager/docs/reference/rest/v1/projects.locations.repositories.issues.issueComments/list` | Lists comments in an issue. |
| ### `https://docs.cloud.google.com/secure-source-manager/docs/reference/rest/v1/projects.locations.repositories.issues.issueComments/patch` | Updates an issue comment. |