ข้อกำหนดอื่นๆ

ชุดทรัพยากร ได้แก่ พนักงานและห้องที่ผู้ใช้เลือก ซึ่งจะมีไว้ให้เพื่อชี้แจงสล็อตให้ชัดเจน

// Resource specification that disambiguates an appointment slot
message Resources {
  // The staff ID as provided in the feed or empty if not applicable or no staff
  // was selected. (optional)
  string staff_id = 1;
  // The room ID as provided in the feed or empty if not applicable or no room
  // was selected. (optional)
  string room_id = 2;
  // For Dining Reservations only: the number of seats requested in the booking.
  // (optional)
  int32 party_size = 3;
}

ข้อความ AvailabilityUpdate เพิ่มเติมที่สามารถระบุไว้เป็นส่วนหนึ่งของ CheckAvailabilityResponse

// An update to one ore more slots indicating that the availability for the
// associated time has potentially changed.
message AvailabilityUpdate {
  repeated SlotAvailability slot_availability = 1;
}

ความพร้อมใช้งานของสล็อต

// An inventory slot and associated count of open spots.
message SlotAvailability {
  Slot slot = 1;
  // Number of available spots.
  // 0 indicates that the appointment slot is not available. (required)
  int32 count_available = 2;
}