class Locations extends Resource (View source)

The "locations" collection of methods.

Typical usage is:

 $mybusinesslodgingService = new Google\Service\MyBusinessLodging(...);
 $locations = $mybusinesslodgingService->locations;

Methods

getLodging(string $name, array $optParams = [])

Returns the Lodging of a specific location. (locations.getLodging)

updateLodging(string $name, Lodging $postBody, array $optParams = [])

Updates the Lodging of a specific location. (locations.updateLodging)

Details

Lodging getLodging(string $name, array $optParams = [])

Returns the Lodging of a specific location. (locations.getLodging)

Parameters

string $name

Required. Google identifier for this location in the form: locations/{location_id}/lodging

array $optParams

Optional parameters.

Return Value

Lodging

Exceptions

Exception

Lodging updateLodging(string $name, Lodging $postBody, array $optParams = [])

Updates the Lodging of a specific location. (locations.updateLodging)

Parameters

string $name

Required. Google identifier for this location in the form: locations/{location_id}/lodging

Lodging $postBody
array $optParams

Optional parameters.

Return Value

Lodging

Exceptions

Exception