* $chromeuxreportService = new Google\Service\ChromeUXReport(...); * $records = $chromeuxreportService->records; * */ class Records extends \Google\Service\Resource { /** * Queries the Chrome User Experience for a single `record` for a given site. * Returns a `record` that contains one or more `metrics` corresponding to * performance data about the requested site. (records.queryRecord) * * @param QueryRequest $postBody * @param array $optParams Optional parameters. * @return QueryResponse */ public function queryRecord(QueryRequest $postBody, $optParams = []) { $params = ['postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('queryRecord', [$params], QueryResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Records::class, 'Google_Service_ChromeUXReport_Resource_Records');