Enum | |
---|---|
CODE_UNSPECIFIED |
Nilai khusus input. Digunakan dengan Items.list untuk mencantumkan semua item dalam antrean, terlepas dari statusnya. |
ERROR |
Terjadi error pada Cloud Search saat memproses item ini. Detail error ada di repositoryError. |
MODIFIED |
Item telah diubah di repositori, dan tidak lagi sesuai dengan versi yang sebelumnya diterima di Cloud Search. |
NEW_ITEM |
Item diketahui ada di repositori, tetapi belum diterima oleh Cloud Search. Item dapat berada dalam status ini saat Items.push telah dipanggil untuk item dengan nama ini yang tidak ada sebelumnya. |
ACCEPTED |
API telah menerima data terbaru item ini. |
ItemStatus.Code
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-25 UTC.
[null,null,["Terakhir diperbarui pada 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. |"]]