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 ) وضعیت پردازش این خوراک. |
error Details | string اگر نتوانستیم این فید را پردازش کنیم، رشته قابل خواندن توسط انسان جزئیات بیشتری را ارائه می دهد. |
statistics | object ( FeedStatistics ) آمار مخصوص این فید. |
FeedStatistics
آماری که هنگام پردازش فید آپلود شده به دست آمده است.
نمایندگی JSON |
---|
{
"newItems": string,
"existingItems": string,
"deletedItems": string
} |
فیلدها |
---|
new Items | string ( int64 format) موارد تازه اضافه شده توسط این فید. بسته به نوع فید، آیتمها میتوانند تاجر، خدمات یا جایگاههای دسترسی باشند. |
existing Items | string ( int64 format) موارد موجود، در صورت نیاز از اطلاعات جدیدتر فید بهروزرسانی میشوند. |
deleted Items | string ( int64 format) موارد دیگر در این فید وجود ندارند و در نتیجه حذف شدند. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[[["\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. |"]]