Sitemaps
class Sitemaps extends Resource (View source)
The "sitemaps" collection of methods.
Typical usage is:
$webmastersService = new Google\Service\Webmasters(...);
$sitemaps = $webmastersService->sitemaps;
Methods
delete(string $siteUrl, string $feedpath, array $optParams = [])
Deletes a sitemap from this site. (sitemaps.delete)
get(string $siteUrl, string $feedpath, array $optParams = [])
Retrieves information about a specific sitemap. (sitemaps.get)
listSitemaps(string $siteUrl, array $optParams = [])
Lists the sitemaps-entries submitted for this site, or included in the sitemap index file (if sitemapIndex is specified in the request).
submit(string $siteUrl, string $feedpath, array $optParams = [])
Submits a sitemap for a site. (sitemaps.submit)
Details
delete(string $siteUrl, string $feedpath, array $optParams = [])
Deletes a sitemap from this site. (sitemaps.delete)
WmxSitemap
get(string $siteUrl, string $feedpath, array $optParams = [])
Retrieves information about a specific sitemap. (sitemaps.get)
SitemapsListResponse
listSitemaps(string $siteUrl, array $optParams = [])
Lists the sitemaps-entries submitted for this site, or included in the sitemap index file (if sitemapIndex is specified in the request).
(sitemaps.listSitemaps)
submit(string $siteUrl, string $feedpath, array $optParams = [])
Submits a sitemap for a site. (sitemaps.submit)