Lodging API
יומן שינויים
גרסה 1.2: 26 באוקטובר 2023
אישורי קיימוּת
הוצאה משימוש של האובייקט SustainabilityCertifications
. מידע נוסף
גרסה 1.1: 9 בספטמבר 2021
קיימוּת
הוספת אובייקט Sustainability
מסוג Lodging
. מידע נוסף
v1: 2021-04-05
גישה ל-API
צריך להפעיל את Lodging API דרך מסוף GCP. היקף הרשאת ה-OAuth לא ישתנה.
כתובת URL של נקודת קצה
אפשר לגשת ל-Lodging API בכתובת https://mybusinesslodging.googleapis.com/v1/{name=locations/{locationId}/lodging}
במקום בכתובת https://mybusiness.googleapis.com/v4/accounts/{accountId}/locations/{locationId}
האובייקט LanguageSpoken
השתנה ועכשיו הוא מקבל קוד שפה. מידע נוסף
allUnits
ו-someUnits
הם עכשיו 'פלט בלבד'.
לא ניתן יותר לערוך את השדות allUnits
או someUnits
. מידע נוסף
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-01-29 (שעון UTC).
[null,null,["עדכון אחרון: 2025-01-29 (שעון UTC)."],[[["The Lodging API has been updated with a new endpoint URL (`https://mybusinesslodging.googleapis.com/v1/{name=locations/{locationId}/lodging}`) and requires enabling from the GCP Console."],["The `LanguageSpoken` object now uses language codes, and the `allUnits` and `someUnits` fields have become output-only, meaning they can no longer be edited."],["A new `Sustainability` object was introduced in v1.1 within the `Lodging` type, providing information about sustainability practices."],["The `SustainabilityCertifications` object has been deprecated in the latest version (v1.2), with further details available in the provided link."]]],[]]