Enum | |
---|---|
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 Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 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. |"]]