* $adexperiencereportService = new Google\Service\AdExperienceReport(...); * $sites = $adexperiencereportService->sites; * */ class Sites extends \Google\Service\Resource { /** * Gets a site's Ad Experience Report summary. (sites.get) * * @param string $name Required. The name of the site whose summary to get, e.g. * `sites/http%3A%2F%2Fwww.google.com%2F`. Format: `sites/{site}` * @param array $optParams Optional parameters. * @return SiteSummaryResponse */ public function get($name, $optParams = []) { $params = ['name' => $name]; $params = array_merge($params, $optParams); return $this->call('get', [$params], SiteSummaryResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Sites::class, 'Google_Service_AdExperienceReport_Resource_Sites');