Stay organized with collections
Save and categorize content based on your preferences.
UserInformation Definition
// Personal information about the person taking action (e.g. making a// booking, an order, or creates a parking session).messageUserInformation{// Unique ID of the user to the partner, chosen by Reserve with Google.// (required)stringuser_id=1;// Given name of the user (maximum 40 characters) (required)stringgiven_name=2;// Family name of the user (maximum 40 characters) (required)stringfamily_name=3;// Address of the user (optional)PostalAddressaddress=4;// Phone number of the user (required)// Consistent with the international definition in ITU-T E.123 recommendation.// However, local conventions are also followed, such as using '-' instead of// a space as separator. For example, a phone number in the US can be// written as '+1 415-736-0000'stringtelephone=5;// Email address of the user (required except for waitlists)stringemail=6;// User's language code, in IETF BCP 47 format. It is sent only if a partner// is allowed to use this feature. Please contact Reserve with Google team// to be added to the allowlist and receive this code. (optional)stringlanguage_code=7;reserved8;}
PostalAddress Definition
// The postal address for a merchant.messagePostalAddress{// The country, using ISO 3166-1 alpha-2 country code, e.g. "US" (required)stringcountry=1;// The locality/city, e.g. "Mountain View". (required)stringlocality=2;// The region/state/province, e.g. "CA". This field is only required in// countries where region is commonly a part of the address. (optional)stringregion=3;// The postal code, e.g. "94043". (required)stringpostal_code=4;// The street address, e.g. "1600 Amphitheatre Pkwy". (required)stringstreet_address=5;}
[[["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."],[[["\u003cp\u003e\u003ccode\u003eUserInformation\u003c/code\u003e stores personal details of a user, such as their name, contact information, and address, used when making bookings or orders.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003euser_id\u003c/code\u003e, \u003ccode\u003egiven_name\u003c/code\u003e, \u003ccode\u003efamily_name\u003c/code\u003e, \u003ccode\u003etelephone\u003c/code\u003e, and \u003ccode\u003eemail\u003c/code\u003e are required fields within \u003ccode\u003eUserInformation\u003c/code\u003e for most actions, with \u003ccode\u003eemail\u003c/code\u003e being optional for waitlists.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePostalAddress\u003c/code\u003e, nested within \u003ccode\u003eUserInformation\u003c/code\u003e, provides the user's address with required fields like \u003ccode\u003ecountry\u003c/code\u003e, \u003ccode\u003elocality\u003c/code\u003e, \u003ccode\u003epostal_code\u003c/code\u003e, and \u003ccode\u003estreet_address\u003c/code\u003e, while \u003ccode\u003eregion\u003c/code\u003e is optional.\u003c/p\u003e\n"],["\u003cp\u003ePhone numbers in \u003ccode\u003eUserInformation\u003c/code\u003e adhere to the international ITU-T E.123 recommendation, allowing for local conventions in formatting.\u003c/p\u003e\n"],["\u003cp\u003eA user's \u003ccode\u003elanguage_code\u003c/code\u003e is included in \u003ccode\u003eUserInformation\u003c/code\u003e only for partners with explicit permission from Reserve with Google.\u003c/p\u003e\n"]]],["The `UserInformation` message defines personal data needed for actions like bookings. It requires a unique `user_id`, `given_name`, `family_name`, `telephone`, and `email`. An optional `address` and `language_code` can be included. The `PostalAddress` message details an address, mandating the `country`, `locality`, `postal_code`, and `street_address`, with `region` being optional depending on the country. All string fields have specified format requirements.\n"],null,["# User definition\n\n### UserInformation Definition\n\n```carbon\n// Personal information about the person taking action (e.g. making a\n// booking, an order, or creates a parking session).\nmessage UserInformation {\n\n // Unique ID of the user to the partner, chosen by Reserve with Google.\n // (required)\n string user_id = 1;\n\n // Given name of the user (maximum 40 characters) (required)\n string given_name = 2;\n\n // Family name of the user (maximum 40 characters) (required)\n string family_name = 3;\n\n // Address of the user (optional)\n PostalAddress address = 4;\n\n // Phone number of the user (required)\n // Consistent with the international definition in ITU-T E.123 recommendation.\n // However, local conventions are also followed, such as using '-' instead of\n // a space as separator. For example, a phone number in the US can be\n // written as '+1 415-736-0000'\n string telephone = 5;\n\n // Email address of the user (required except for waitlists)\n string email = 6;\n\n // User's language code, in IETF BCP 47 format. It is sent only if a partner\n // is allowed to use this feature. Please contact Reserve with Google team\n // to be added to the allowlist and receive this code. (optional)\n string language_code = 7;\n\n reserved 8;\n}\n```\n\n### PostalAddress Definition\n\n```carbon\n// The postal address for a merchant.\nmessage PostalAddress {\n // The country, using ISO 3166-1 alpha-2 country code, e.g. \"US\" (required)\n string country = 1;\n\n // The locality/city, e.g. \"Mountain View\". (required)\n string locality = 2;\n\n // The region/state/province, e.g. \"CA\". This field is only required in\n // countries where region is commonly a part of the address. (optional)\n string region = 3;\n\n // The postal code, e.g. \"94043\". (required)\n string postal_code = 4;\n\n // The street address, e.g. \"1600 Amphitheatre Pkwy\". (required)\n string street_address = 5;\n}\n```"]]