# ItemStatus.Code

| Enums ||
|---|---|
| `CODE_UNSPECIFIED` | Input-only value. Used with `https://developers.google.com/workspace/cloud-search/docs/reference/rest/v1/indexing.datasources.items/list#google.apps.search.v1.ItemsService.ListItems` to list all items in the queue, regardless of status. |
| `ERROR` | Error encountered by Cloud Search while processing this item. Details of the error are in `https://developers.google.com/workspace/cloud-search/docs/reference/rest/v1/indexing.datasources.items#ItemStatus.FIELDS.repository_errors` |
| `MODIFIED` | Item has been modified in the repository, and is out of date with the version previously accepted into Cloud Search. |
| `NEW_ITEM` | Item is known to exist in the repository, but is not yet accepted by Cloud Search. An item can be in this state when `https://developers.google.com/workspace/cloud-search/docs/reference/rest/v1/indexing.datasources.items/push#google.apps.search.v1.ItemsService.PushItem` has been called for an item of this name that did not exist previously. |
| `ACCEPTED` | API has accepted the up-to-date data of this item. |