레스토랑은 바, 레스토랑, 바 또는 레스토랑 같은 합니다. Actions Center는 이러한 구분을 지원하며 사용자는 테이블을 예약할 구역도 지정할 수 있습니다. 이에 대한 예는 아래와 같습니다. 여기서 '바'와 '테라스'의 사용 가능 여부는 서로 다르며, 있습니다.
<ph type="x-smartling-placeholder">![그림 1: 좌석 섹션이 있는 식당의 시간대 선택 예](https://developers-dot-devsite-v2-prod.appspot.com/static/actions-center/images/reservation_selection_panel.png?authuser=5&hl=ko)
이러한 인벤토리 분리는
resources
의 room_id
및 room_name
필드
메시지를
재고 시간대입니다.
// A resource is used to disambiguate availability slots from one another when // different staff, room or party_size values are part of the service. // Multiple slots for the same service and time interval can co-exist when they // have different resources. message Resources { // One of staff_id, room_id, or party_size must be set. // Optional ID for a staff member providing the service. This field identifies // the staff member across all merchants, services, and availability records. // It also needs to be stable over time to allow correlation with past // bookings. (optional but required if staff_name is present) string staff_id = 1; // Optional name of a staff member providing the service. This field will be // displayed to users making a booking, and should be human-readable, as // opposed to an opaque identifier. (optional but required if staff_id is // present) string staff_name = 2; // An optional ID for the room the service is located in. This field // identifies the room across all merchants, services, and availability // records. It also needs to be stable over time to allow correlation with // past bookings. (optional but required if room_name is present) string room_id = 3; // An optional name for the room the service is located in. This // field will be displayed to users making a booking, and should be human // readable, as opposed to an opaque identifier. (optional but required if // room_id is present) // In dining a room name should only be used for seating areas such as the bar // or patio and should not be used for fixed price menus, special activities, // or any other non-room value (such as reservation or dinner). It is strongly // recommended that the default seating area not have a room associated with // it. string room_name = 4; // Applicable only for Dining: The party size that can be accommodated // during this time slot. A restaurant can be associated with multiple Slots // for the same time, each specifying a different party_size, if for instance // 2, 3, or 4 people can be seated with a reservation. (optional) int32 party_size = 5; }
이 정보는 슬롯 정의의 필수 부분이며
피드뿐만 아니라 모든 예약 및 실시간 업데이트에 포함됩니다.
작업을 수행할 수 있습니다 지정된 room_id
및 room_name
의 예를 볼 수 있습니다.
를
식당, 카테고리별 피드 예