* $analyticsadminService = new Google\Service\GoogleAnalyticsAdmin(...); * $accountSummaries = $analyticsadminService->accountSummaries; * */ class AccountSummaries extends \Google\Service\Resource { /** * Returns summaries of all accounts accessible by the caller. * (accountSummaries.listAccountSummaries) * * @param array $optParams Optional parameters. * * @opt_param int pageSize The maximum number of AccountSummary resources to * return. The service may return fewer than this value, even if there are * additional pages. If unspecified, at most 50 resources will be returned. The * maximum value is 200; (higher values will be coerced to the maximum) * @opt_param string pageToken A page token, received from a previous * `ListAccountSummaries` call. Provide this to retrieve the subsequent page. * When paginating, all other parameters provided to `ListAccountSummaries` must * match the call that provided the page token. * @return GoogleAnalyticsAdminV1alphaListAccountSummariesResponse */ public function listAccountSummaries($optParams = []) { $params = []; $params = array_merge($params, $optParams); return $this->call('list', [$params], GoogleAnalyticsAdminV1alphaListAccountSummariesResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(AccountSummaries::class, 'Google_Service_GoogleAnalyticsAdmin_Resource_AccountSummaries');