* $mybusinesslodgingService = new Google\Service\MyBusinessLodging(...); * $lodging = $mybusinesslodgingService->lodging; * */ class LocationsLodging extends \Google\Service\Resource { /** * Returns the Google updated Lodging of a specific location. * (lodging.getGoogleUpdated) * * @param string $name Required. Google identifier for this location in the * form: `accounts/{account_id}/locations/{location_id}/lodging` * @param array $optParams Optional parameters. * * @opt_param string readMask Required. The specific fields to return. Use "*" * to include all fields. Repeated field items cannot be individually specified. * @return GetGoogleUpdatedLodgingResponse */ public function getGoogleUpdated($name, $optParams = []) { $params = ['name' => $name]; $params = array_merge($params, $optParams); return $this->call('getGoogleUpdated', [$params], GetGoogleUpdatedLodgingResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(LocationsLodging::class, 'Google_Service_MyBusinessLodging_Resource_LocationsLodging');