操作 Feed

定义

<ph type="x-smartling-placeholder">

操作 Feed

message ActionFeed {
  repeated ActionDetail data = 1;
}

ActionDetail 的定义

message ActionDetail {
  optional string entity_id = 2;
  repeated Action actions = 1;
}

操作的定义

// 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;
  }
}

AppointmentInfo 的定义

message AppointmentInfo {
  // Deep link for appointment action.
  string url = 1;
}

操作 Feed 示例

操作 Feed

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

描述符文件

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