class SearchConsole extends Service (View source)

Service definition for SearchConsole (v1).

The Search Console API provides access to both Search Console data (verified users only) and to public information on an URL basis (anyone)

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
$urlInspection_index
$urlTestingTools_mobileFriendlyTest
$rootUrlTemplate

Methods

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

Constructs the internal representation of the SearchConsole service.

Details

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

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