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):2024-08-20。
[null,null,["最后更新时间 (UTC):2024-08-20。"],[[["`FeedStatus` reflects the processing status of a feed uploaded by an aggregator's platform, including merchants, services, or availability."],["It provides information on the feed's state (e.g., processing, succeeded, failed), errors encountered, and overall statistics."],["`FeedStatistics` offers a breakdown of the impact of the feed, showing the number of new, updated, and removed items."],["The feed resource is identified by a unique name in the format of `partners/{partner_id}/feeds/{feed_type}/{fileName}`."]]],[]]