class Acceleratedmobilepageurl extends Service (View source)

Service definition for Acceleratedmobilepageurl (v1).

Retrieves the list of AMP URLs (and equivalent AMP Cache URLs) for a given list of public URL(s).

For more information about this service, see the API Documentation

Properties

$ampUrls
$rootUrlTemplate

Methods

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the Acceleratedmobilepageurl service.

Details

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the Acceleratedmobilepageurl service.

Parameters

Client|array $clientOrConfig

The client used to deliver requests, or a config array to pass to a new Client instance.

string $rootUrl

The root URL used for requests to the service.