AI-generated Key Takeaways
-
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 theallUnits
andsomeUnits
fields have become output-only, meaning they can no longer be edited. -
A new
Sustainability
object was introduced in v1.1 within theLodging
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.
Change log
v1.2: 2023-10-26
Sustainability Certifications
Deprecation of SustainabilityCertifications
object. More Info.
v1.1: 2021-09-09
Sustainability
Addition of Sustainability
object within Lodging
Type. More Info.
v1: 2021-04-05
API Access
The Lodging API will need to be enabled from the GCP Console. The OAuth scope remains the same.
Endpoint URL
The Lodging API is accessible at https://mybusinesslodging.googleapis.com/v1/{name=locations/{locationId}/lodging}
instead of https://mybusiness.googleapis.com/v4/accounts/{accountId}/locations/{locationId}
LanguageSpoken
format
The LanguageSpoken
object has changed and now accepts a language code. More Info.
allUnits
and someUnits
are now Output Only.
You can no longer edit the allUnits
or someUnits
fields. More info.