* $analyticsreportingService = new Google\Service\AnalyticsReporting(...); * $reports = $analyticsreportingService->reports; * */ class Reports extends \Google\Service\Resource { /** * Returns the Analytics data. (reports.batchGet) * * @param GetReportsRequest $postBody * @param array $optParams Optional parameters. * @return GetReportsResponse */ public function batchGet(GetReportsRequest $postBody, $optParams = []) { $params = ['postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('batchGet', [$params], GetReportsResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Reports::class, 'Google_Service_AnalyticsReporting_Resource_Reports');