Entity versioning

Each entity that is sent to Google, whether through batch or incremental, has a version attached to it. This version comes in the form of a timestamp. Google only processes entities (for example: a restaurant, a menu, or a service) with a timestamp equal to or newer than the last accepted timestamp. Otherwise, the entity is dropped.

If an entity is considered stale (dropped) for seven days consecutively, it is garbage collected and removed from serving.

Suppose we get the following entity on June 16th at 7 AM with the version set "2018-06-16T00:00:00Z".

{
  "@type": "Restaurant",
  "@id": "http://provider.com/threebrotherstacos",
  ...
}

Later that day, the same entity but with an older timestamped version set is received: "2018-06-15T00:00:00Z'.

{
      "@type": "Restaurant",
      "@id": "http://provider.com/threebrotherstacos",
      ...
}

In this situation, the last entity is considered stale and no longer valid, and is dropped as a result. Google therefore continues to serve the entity with version "2018-06-16T00:00:00Z".