列舉 | |
---|---|
CODE_UNSPECIFIED |
僅供輸入的值。與 Items.list 搭配使用,可列出佇列中的所有項目,無論狀態為何皆可。 |
ERROR |
Cloud Search 處理這項商品時發生的錯誤。錯誤詳細資料位於 repositoryError. |
MODIFIED |
項目已在存放區中修改,且與先前接受納入 Cloud Search 的版本不符。 |
NEW_ITEM |
項目已知存在於存放區中,但尚未獲得 Cloud Search 的接受。如果 Items.push 曾為先前不存在的名稱呼叫項目,該項目就會處於這個狀態。 |
ACCEPTED |
API 已接受這個項目的最新資料。 |
ItemStatus.Code
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間: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. |"]]