# REST Resource: projects.locations.instances.investigations.investigationComments

- [Resource: InvestigationComment](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.investigations.investigationComments#InvestigationComment)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.investigations.investigationComments#InvestigationComment.SCHEMA_REPRESENTATION)
- [AuthorType](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.investigations.investigationComments#AuthorType)
- [Methods](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.investigations.investigationComments#METHODS_SUMMARY)

## Resource: InvestigationComment

Represents a comment made on an investigation.

| JSON representation |
|---|
| ``` { "name": string, "content": string, "author": string, "authorDisplayName": string, "responseRequired": boolean, "createTime": string, "authorType": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.investigations.investigationComments#AuthorType`) } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. The resource name of the investigation comment. Format: projects/{project}/locations/{location}/instances/{instance}/investigations/{investigation}/investigationComments/{investigationComment} |
| `content` | `string` Required. The text content of the comment. |
| `author` | `string` Output only. The email address of the user who created the comment. |
| `authorDisplayName` | `string` Output only. The display name of the comment's author. |
| `responseRequired` | `boolean` Optional. Indicates if a response is required for the comment. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The time 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"`. |
| `authorType` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.investigations.investigationComments#AuthorType`)`` Output only. The type of the comment's author, for example, whether it was made by a Mandiant Internal user. |

## AuthorType

The type of the comment's author.

| Enums ||
|---|---|
| `AUTHOR_TYPE_UNSPECIFIED` | The comment author type is unspecified. |
| `MTD` | The comment was made by a Mandiant internal user. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.investigations.investigationComments/create` | CreateInvestigationComment is used to create an investigation comment. |
| ### `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.investigations.investigationComments/delete` | DeleteInvestigationComment is used to delete an investigation comment. |
| ### `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.investigations.investigationComments/get` | Retrieves a specific investigation comment. |
| ### `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.investigations.investigationComments/list` | ListInvestigationComments is used to retrieve existing investigation comments for a given investigation. |
| ### `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.investigations.investigationComments/patch` | UpdateInvestigationComment is used to update an investigation comment. |