* $searchconsoleService = new Google\Service\SearchConsole(...); * $index = $searchconsoleService->index; * */ class UrlInspectionIndex extends \Google\Service\Resource { /** * Index inspection. (index.inspect) * * @param InspectUrlIndexRequest $postBody * @param array $optParams Optional parameters. * @return InspectUrlIndexResponse */ public function inspect(InspectUrlIndexRequest $postBody, $optParams = []) { $params = ['postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('inspect', [$params], InspectUrlIndexResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(UrlInspectionIndex::class, 'Google_Service_SearchConsole_Resource_UrlInspectionIndex');