Quy cách khác

Tập hợp Tài nguyên (tức là nhân viên và phòng) do người dùng chọn được cung cấp để phân biệt các Vùng.

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

Các thông báo về tình trạng còn hàng bổ sung có thể được cung cấp trong phản hồi 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;
}

Tình trạng còn trống

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