FeedStatus
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Trạng thái của nguồn cấp dữ liệu do nền tảng của trình tổng hợp tải lên.
Biểu diễn dưới dạng JSON |
{
"name": string,
"state": enum (State ),
"errorDetails": string,
"statistics": {
object (FeedStatistics )
}
} |
Trường |
name |
string
Tên tài nguyên nguồn cấp dữ liệu có định dạng
partners/{partner_id}/feeds/merchants/{fileName}
partners/{partner_id}/feeds/services/{fileName}
partners/{partner_id}/feeds/availability/{fileName}
|
state |
enum (State )
Trạng thái xử lý của nguồn cấp dữ liệu này.
|
errorDetails |
string
Chuỗi văn bản mà con người có thể đọc được, cung cấp thêm thông tin chi tiết nếu chúng tôi không xử lý được nguồn cấp dữ liệu này.
|
statistics |
object (FeedStatistics )
Thống kê cụ thể cho nguồn cấp dữ liệu này.
|
FeedStatistics
Số liệu thống kê thu được trong khi xử lý nguồn cấp dữ liệu đã tải lên.
Biểu diễn dưới dạng JSON |
{
"newItems": string,
"existingItems": string,
"deletedItems": string
} |
Trường |
newItems |
string (int64 format)
Các mặt hàng mới được thêm bởi nguồn cấp dữ liệu này. Mục có thể là người bán, dịch vụ hoặc khung giờ trống, tuỳ thuộc vào loại nguồn cấp dữ liệu.
|
existingItems |
string (int64 format)
Các mặt hàng hiện có, được cập nhật khi cần dựa trên thông tin mới hơn trong nguồn cấp dữ liệu.
|
deletedItems |
string (int64 format)
Các mặt hàng không còn xuất hiện trong nguồn cấp dữ liệu này và do đó đã bị xoá.
|
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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. |"]]