FeedStatus
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
État d'un flux importé par la plate-forme de l'agrégateur.
Représentation JSON |
{
"name": string,
"state": enum (State ),
"errorDetails": string,
"statistics": {
object (FeedStatistics )
}
} |
Champs |
name |
string
Nom de la ressource du flux, au format
partners/{partner_id}/feeds/merchants/{fileName}
partners/{partner_id}/feeds/services/{fileName}
partners/{partner_id}/feeds/availability/{fileName}
|
state |
enum (State )
État de traitement de ce flux.
|
errorDetails |
string
Chaîne lisible fournissant plus de détails si nous n'avons pas pu traiter ce flux.
|
statistics |
object (FeedStatistics )
Statistiques spécifiques à ce flux.
|
FeedStatistics
Statistiques obtenues lors du traitement d'un flux importé.
Représentation JSON |
{
"newItems": string,
"existingItems": string,
"deletedItems": string
} |
Champs |
newItems |
string (int64 format)
Nouveaux éléments ajoutés par ce flux. En fonction du type de flux, les éléments peuvent correspondre à des marchands, des services ou des créneaux de disponibilité.
|
existingItems |
string (int64 format)
Éléments existants, mis à jour selon les besoins à partir des informations plus récentes du flux.
|
deletedItems |
string (int64 format)
Articles qui ne sont plus présents dans ce flux et qui ont donc été supprimés.
|
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/25 (UTC).
[null,null,["Dernière mise à jour le 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. |"]]