Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
L'espace contient les informations permettant d'identifier un espace d'inventaire.
Définition de l'espace publicitaire
// An inventory slotmessageSlot{// ID of the merchant for the slot (required for CreateBooking)stringmerchant_id=1;// ID of the merchant Service (required for CreateBooking)stringservice_id=2;// Start time of the appointment slot in seconds of UTC time since Unix epoch.// (required for CreateBooking)int64start_sec=3;// Duration of the appointment slot (required for CreateBooking)int64duration_sec=4;// Opaque tag that identifies the availability slot and matches the value// provided in the availability feed (optional)stringavailability_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)ResourceIdsresources=6;// Indicates whether bookings of this slot will be confirmed// synchronously or asynchronously. (optional)// An UNSPECIFIED value will be interpreted as synchronous.ConfirmationModeconfirmation_mode=7;}
Définition des ressources
// Resource specification that disambiguates an appointment slotmessageResourceIds{// The staff ID as provided in the feed or empty if not applicable or no staff// was selected. (optional)stringstaff_id=1;// The room ID as provided in the feed or empty if not applicable or no room// was selected. (optional)stringroom_id=2;// For Dining Reservations only: the number of seats requested in the booking.// (optional)int32party_size=3;}
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2024/11/26 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2024/11/26 (UTC)."],[[["`Slot` message defines an inventory slot with details like merchant and service IDs, start time, duration, and an optional availability tag."],["`Slot` can optionally specify resources like staff and room IDs using the nested `ResourceIds` message for disambiguation."],["`ConfirmationMode` within the `Slot` message indicates whether bookings are confirmed synchronously or asynchronously."],["`ResourceIds` can include `party_size` for dining reservations to specify the number of seats requested."]]],[]]