更新日志
v1.2:2023 年 10 月 26 日
可持续认证
弃用 SustainabilityCertifications 对象。了解详情。
v1.1:2021 年 9 月 9 日
可持续性
在 Lodging 类型中添加了 Sustainability 对象。了解详情。
v1:2021 年 4 月 5 日
API 权限
Lodging API 需要在 GCP Console 中启用。OAuth 范围保持不变。
端点网址
可以通过 https://mybusinesslodging.googleapis.com/v1/{name=locations/{locationId}/lodging}(而不是 https://mybusiness.googleapis.com/v4/accounts/{accountId}/locations/{locationId})使用 Lodging API。
LanguageSpoken 格式
LanguageSpoken 对象已更改,现在接受语言代码。了解详情。
现在,allUnits 和 someUnits 字段只是输出。
您无法再修改 allUnits 或 someUnits 字段。了解详情。