מפרט של משבצת
השדה Slot מכיל את המידע שמזהה מקום מודעה במלאי.
// An inventory slot
message Slot {
// ID of the merchant for the slot (required for CreateBooking)
string merchant_id = 1;
// ID of the merchant service (required for CreateBooking)
string service_id = 2;
// Start time of the appointment slot in seconds of UTC time since Unix epoch.
// (required for CreateBooking)
google.protobuf.Timestamp start_time = 3;
// Duration of the appointment slot (required for CreateBooking)
google.protobuf.Duration duration = 4;
// Opaque tag that identifies the availability slot and matches the value
// provided in the availability feed (optional)
string availability_tag = 5;
// The set of resources that disambiguates the appointment slot, e.g. by
// indicating the staff member and room selected by the user (optional)
Resources resources = 6;
reserved 7;
}
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-11-26 (שעון UTC).
[null,null,["עדכון אחרון: 2024-11-26 (שעון UTC)."],[[["`Slot` message identifies an inventory slot with details like merchant ID, service ID, start time, and duration."],["It uses `start_time` and `duration` to define the appointment slot's timeframe, expressed in UTC and as a duration respectively."],["An optional `availability_tag` can link the slot to its source in an availability feed."],["`resources` field allows for specification of staff, room, or other resources associated with the slot."]]],["The `Slot` message identifies an inventory slot using several fields. It requires `merchant_id`, `service_id`, `start_time`, and `duration` for booking creation. `availability_tag` can be provided to match a slot in an availability feed. An optional `resources` field further specifies the slot, such as the selected staff member or room. Field 7 is reserved for future use. These components identify and help book an available appointment.\n"]]