FeedStatus
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
สถานะของฟีดที่อัปโหลดโดยแพลตฟอร์มของผู้รวบรวมข้อมูล
การแสดง JSON |
{
"name": string,
"state": enum (State ),
"errorDetails": string,
"statistics": {
object (FeedStatistics )
}
} |
ช่อง |
name |
string
ชื่อทรัพยากรฟีดซึ่งมีรูปแบบ
partners/{partner_id}/feeds/merchants/{fileName}
partners/{partner_id}/feeds/services/{fileName}
partners/{partner_id}/feeds/availability/{fileName}
|
state |
enum (State )
สถานะการประมวลผลของฟีดนี้
|
errorDetails |
string
สตริงที่มนุษย์อ่านได้ซึ่งจะให้รายละเอียดเพิ่มเติมหากประมวลผลฟีดนี้ไม่สำเร็จ
|
statistics |
object (FeedStatistics )
สถิติเฉพาะสำหรับฟีดนี้
|
FeedStatistics
สถิติที่ได้รับขณะประมวลผลฟีดที่อัปโหลด
การแสดง JSON |
{
"newItems": string,
"existingItems": string,
"deletedItems": string
} |
ช่อง |
newItems |
string (int64 format)
รายการที่เพิ่มใหม่โดยฟีดนี้ รายการอาจเป็นผู้ขาย บริการ หรือช่วงเวลาที่พร้อมให้บริการ ทั้งนี้ขึ้นอยู่กับประเภทฟีด
|
existingItems |
string (int64 format)
สินค้าที่มีอยู่ได้รับการอัปเดตตามที่จำเป็นจากข้อมูลที่ใหม่กว่าจากฟีด
|
deletedItems |
string (int64 format)
สินค้าไม่แสดงในฟีดนี้แล้วและระบบได้นำออกไปแล้ว
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003e\u003ccode\u003eFeedStatus\u003c/code\u003e reflects the processing status of a feed uploaded by an aggregator's platform, including merchants, services, or availability.\u003c/p\u003e\n"],["\u003cp\u003eIt provides information on the feed's state (e.g., processing, succeeded, failed), errors encountered, and overall statistics.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFeedStatistics\u003c/code\u003e offers a breakdown of the impact of the feed, showing the number of new, updated, and removed items.\u003c/p\u003e\n"],["\u003cp\u003eThe feed resource is identified by a unique name in the format of \u003ccode\u003epartners/{partner_id}/feeds/{feed_type}/{fileName}\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# FeedStatus\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [FeedStatistics](#FeedStatistics)\n - [JSON representation](#FeedStatistics.SCHEMA_REPRESENTATION)\n\nStatus of a feed uploaded by the aggregator's platform.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"state\": enum (/maps-booking/reference/maps-booking-api/rest/v1alpha/State), \"errorDetails\": string, \"statistics\": { object (/maps-booking/reference/maps-booking-api/rest/v1alpha/FeedStatus#FeedStatistics) } } ``` |\n\n| Fields ||\n|------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` The feed resource name, which has the format of - `partners/{partner_id}/feeds/merchants/{fileName}` - `partners/{partner_id}/feeds/services/{fileName}` - `partners/{partner_id}/feeds/availability/{fileName}` |\n| `state` | `enum (`[State](/maps-booking/reference/maps-booking-api/rest/v1alpha/State)`)` The processing state of this feed. |\n| `error``Details` | `string` Human readable string providing more details if we failed to process this feed. |\n| `statistics` | `object (`[FeedStatistics](/maps-booking/reference/maps-booking-api/rest/v1alpha/FeedStatus#FeedStatistics)`)` Statistics specific to this feed. |\n\nFeedStatistics\n--------------\n\nStatistics obtained while processing an uploaded feed.\n\n| JSON representation |\n|---------------------------------------------------------------------------------|\n| ``` { \"newItems\": string, \"existingItems\": string, \"deletedItems\": string } ``` |\n\n| Fields ||\n|-------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `new``Items` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Newly added items by this feed. Items can be merchants, services or availability slots, depending on the type of the feed. |\n| `existing``Items` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Existing items, updated as needed from newer information from the feed. |\n| `deleted``Items` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Items no longer present in this feed, and that were removed as a result. |"]]