AI-generated Key Takeaways
-
Retrieves the Google-updated lodging information for a specific location using a
GET
request. -
Requires specifying the location ID as a path parameter and optionally a field mask as a query parameter.
-
Returns the lodging data and a diff mask indicating the fields updated by Google.
-
Needs authorization with the
https://www.googleapis.com/auth/business.manage
scope.
Returns the Google updated Lodging of a specific location.
HTTP request
GET https://mybusinesslodging.googleapis.com/v1/{name=locations/*/lodging}:getGoogleUpdated
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. Google identifier for this location in the form: |
Query parameters
Parameters | |
---|---|
readMask |
Required. The specific fields to return. Use "*" to include all fields. Repeated field items cannot be individually specified. This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body must be empty.
Response body
Response message for LodgingService.GetGoogleUpdatedLodging
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"lodging": {
object ( |
Fields | |
---|---|
lodging |
Required. The Google updated Lodging. |
diffMask |
Required. The fields in the Lodging that have been updated by Google. Repeated field items are not individually specified. This is a comma-separated list of fully qualified names of fields. Example: |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/business.manage
For more information, see the OAuth 2.0 Overview.