Wartości w polu enum | |
---|---|
CODE_UNSPECIFIED |
Wartość tylko do odczytu. Używane z opcją Items.list do wyświetlania wszystkich elementów w kole, niezależnie od ich stanu. |
ERROR |
Błąd usługi Cloud Search podczas przetwarzania tego elementu. Szczegóły błędu znajdziesz w pliku repositoryError. |
MODIFIED |
Element został zmodyfikowany w repozytorium i nie jest już zgodny z wersją zaakceptowaną wcześniej w Cloud Search. |
NEW_ITEM |
Wiadomo, że element znajduje się w repozytorium, ale nie został jeszcze zaakceptowany przez Cloud Search. Produkt może być w tym stanie, gdy wywołano funkcję Items.push dla produktu o tej nazwie, który wcześniej nie istniał. |
ACCEPTED |
Interfejs API zaakceptował aktualne dane tego produktu. |
ItemStatus.Code
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[],[],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. |"]]