location = $location; } /** * @return Location */ public function getLocation() { return $this->location; } /** * The number of matches to return. The default value is 3, with a maximum of * 10. Note that latency may increase if more are requested. There is no * pagination. * * @param int $pageSize */ public function setPageSize($pageSize) { $this->pageSize = $pageSize; } /** * @return int */ public function getPageSize() { return $this->pageSize; } /** * Text query to search for. The search results from a query string will be * less accurate than if providing an exact location, but can provide more * inexact matches. * * @param string $query */ public function setQuery($query) { $this->query = $query; } /** * @return string */ public function getQuery() { return $this->query; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SearchGoogleLocationsRequest::class, 'Google_Service_MyBusinessBusinessInformation_SearchGoogleLocationsRequest');