枚举 | |
---|---|
CODE_UNSPECIFIED |
仅限输入的值。与 Items.list 搭配使用,用于列出队列中的所有内容(无论状态如何)。 |
ERROR |
Cloud Search 在处理此项内容时遇到错误。错误详情位于 repositoryError. |
MODIFIED |
相应项已在代码库中修改,与之前接受到 Cloud Search 中的版本不一致。 |
NEW_ITEM |
项已知存在于代码库中,但尚未被 Cloud Search 接受。如果为之前不存在的此名称的项调用了 Items.push ,则该项可能会处于此状态。 |
ACCEPTED |
API 已接受此项的最新数据。 |
ItemStatus.Code
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],[],null,["# ItemStatus.Code\n\n| Enums ||\n|--------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `CODE_UNSPECIFIED` | Input-only value. Used with [Items.list](/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. |\n| `ERROR` | Error encountered by Cloud Search while processing this item. Details of the error are in [repositoryError.](/workspace/cloud-search/docs/reference/rest/v1/indexing.datasources.items#ItemStatus.FIELDS.repository_errors) |\n| `MODIFIED` | Item has been modified in the repository, and is out of date with the version previously accepted into Cloud Search. |\n| `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 [Items.push](/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. |\n| `ACCEPTED` | API has accepted the up-to-date data of this item. |"]]