FeedStatus
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
"name": string,
"state": enum (State ),
"errorDetails": string,
"statistics": {
object (FeedStatistics )
}
} |
字段 |
name |
string
Feed 资源的名称,格式为
partners/{partner_id}/feeds/merchants/{fileName}
partners/{partner_id}/feeds/services/{fileName}
partners/{partner_id}/feeds/availability/{fileName}
|
state |
enum (State )
此 Feed 的处理状态。
|
errorDetails |
string
如果我们无法处理此 Feed,用户可理解的字符串可提供更多详情。
|
statistics |
object (FeedStatistics )
特定于此 Feed 的统计信息。
|
FeedStatistics
JSON 表示法 |
{
"newItems": string,
"existingItems": string,
"deletedItems": string
} |
字段 |
newItems |
string (int64 format)
此 Feed 新添加的项。内容可以是商家、服务或可用性空档,具体取决于 Feed 的类型。
|
existingItems |
string (int64 format)
现有项,根据需要根据 Feed 中的较新信息进行更新。
|
deletedItems |
string (int64 format)
此 Feed 中已不存在的商品,并因此而被移除。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):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. |"]]