* $acceleratedmobilepageurlService = new Google\Service\Acceleratedmobilepageurl(...); * $ampUrls = $acceleratedmobilepageurlService->ampUrls; * */ class AmpUrls extends \Google\Service\Resource { /** * Returns AMP URL(s) and equivalent [AMP Cache URL(s)](/amp/cache/overview#amp- * cache-url-format). (ampUrls.batchGet) * * @param BatchGetAmpUrlsRequest $postBody * @param array $optParams Optional parameters. * @return BatchGetAmpUrlsResponse */ public function batchGet(BatchGetAmpUrlsRequest $postBody, $optParams = []) { $params = ['postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('batchGet', [$params], BatchGetAmpUrlsResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(AmpUrls::class, 'Google_Service_Acceleratedmobilepageurl_Resource_AmpUrls');