Action feed

Definitions

ActionFeed Definition

message ActionFeed {
  repeated ActionDetail data = 1;
}

ActionDetail Definition

message ActionDetail {
  optional string entity_id = 2;
  optional string link_id = 3;
  // Deep link for action detail
  optional string url = 4;
  repeated Action actions = 1;
}

Action Definition

// Information about an Action which could be performed.
message Action {
  // Deprecated fields not to be reused.
  reserved 1;
  oneof action_info {
    AppointmentInfo appointment_info = 2;
    FoodOrderingInfo food_ordering_info = 3;
  }
}

Action Feed samples

Action Feed

{
  "data": [
    {
      "entity_id": "appointments-merchant-1",
      "link_id": "appointment-link-1",
      "url": "https://www.epapartnerwebsite.com/appointment/appointment-partner-1",
      "actions":[
        {
          "appointment_info": {}
        }
      ]
    }
  ]
}

Descriptor File

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