// It can be a tee time for a golf course entity.// The availability feed should be a list of this message.messageGolfAvailability{// An opaque string generated by the partner that identifies a tee time slot.// Must be unique across all entities and tee time slots.// Strongly recommended to only include URL-safe characters.// Required.stringavailability_id=10;// An opaque string generated by the partner that identifies an Entity.// Must be unique across all entities.// Strongly recommended to only include URL-safe characters.// Required.stringentity_id=1;// Timestamp of when this availability slot starts in UTC.// Given in seconds since the unix epoch.// For example, 1735714800 seconds for 1 Jan 2025, 07:00:00 (UTC).// Required.int64start_time_sec=2;// Number of total spots and available spots of this booking availability.// E.g. a golf tee time of 4 spots with 2 booked.// golf_availability {spots_total: 4, spots_available: 2}// Required.int32spots_total=3;// Required.int32spots_available=4;// The minimum number of spots that should be booked for this availability.// For example, a user has to book at least 2 spots for a tee time sometimes.// If set, spots_minimum_book should be less or equal to spots_available.// Required.int32spots_minimum_book=5;// Link of this booking availability. Users will be redirected to partner// website to continue booking after clicking this link.// Required.stringbooking_link=6;// Base price per person.// Required.google.type.Moneybase_price=7;// Fee per person.// Required.google.type.Moneyfee_price=8;// Number of holes in the golf availability/tee time.// Required.enumHoles{// Not specified. Do not use.HOLES_UNSPECIFIED=0;// 6 Holes.SIX_HOLES=5;// 9 Holes.NINE_HOLES=1;// 12 Holes.TWELVE_HOLES=2;// 14 Holes.FOURTEEN_HOLES=3;// 18 HolesEIGHTEEN_HOLES=4;}Holesholes=9;}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-20 UTC."],[[["The Golf Availability feed provides real-time data on tee time availability, including total and available spots, pricing, and booking links."],["Partners should submit their Golf Availability feeds in JSON format, although the specification is defined in protobuffer."],["Each tee time slot is uniquely identified by an `availability_id` and associated with a specific golf course entity using an `entity_id`."],["Key data points within the feed include start time, number of spots, booking link, pricing details, and number of holes."],["Sample JSON feeds and a descriptor file are provided to guide partners in structuring their data for seamless integration."]]],["The Golf Availability feed uses JSON format to detail tee time slots. Each `GolfAvailability` entry requires a unique `availability_id` and `entity_id`, a `start_time_sec` timestamp, and a `booking_link`. It also specifies `spots_total`, `spots_available`, and optionally `spots_minimum_book`. Pricing information includes `base_price` and `fee_price` per person. The number of holes available, represented by `Holes`, is also required. A `GolfAvailabilityFeed` is a list of these availability messages.\n"]]