class Webmasters extends Service (View source)

Service definition for Webmasters (v3).

View Google Search Console data for your verified sites.

For more information about this service, see the API Documentation

Constants

WEBMASTERS

View and manage Search Console data for your verified sites.

WEBMASTERS_READONLY

View Search Console data for your verified sites.

Properties

$searchanalytics
$sitemaps
$sites

Methods

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

Constructs the internal representation of the Webmasters service.

Details

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

Constructs the internal representation of the Webmasters 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.