Action feed

Definitions

ActionFeed Definition

message ActionFeed {
  repeated ActionDetail data = 1;
}

ActionDetail Definition

message ActionDetail {
  string entity_id = 2;
  string link_id = 3;

  // Deep link for action detail
  string url = 4;
  repeated Action actions = 1;
}

DiningInfo Definition

message DiningInfo {
  enum DiningType {
    UNKNOWN = 0;
    TABLE_RESERVATION = 1;
  }

  DiningType dining_type = 1 [features.field_presence = IMPLICIT];
}

Action Feed samples

Action Feed

{
  "data": [
    {
      "entity_id": "reservations-redirect-merchant-1",
      "link_id": "reservations-redirect-link-1",
      "url": "https://www.example.com/restaurant/reservation",
      "actions":[
        {
          "dining_info": { "dining_type": "TABLE_RESERVATION" }
        }
      ]
    }
  ]
}

Descriptor File

{
  "generation_timestamp": 1677540395,
  "name": "reservewithgoogle.action.v2",
  "data_file": [
    "action_1677540395.json"
  ]
}