Sitemaps
class Sitemaps extends Resource (View source)
The "sitemaps" collection of methods.
Typical usage is:
$searchconsoleService = new Google\Service\SearchConsole(...);
$sitemaps = $searchconsoleService->sitemaps;
Methods
Deletes a sitemap from the Sitemaps report. Does not stop Google from crawling this sitemap or the URLs that were previously crawled in the deleted sitemap. (sitemaps.delete)
Retrieves information about a specific sitemap. (sitemaps.get)
Lists the sitemaps-entries submitted for this
site, or included in the sitemap index file (if sitemapIndex
is specified
in the request). (sitemaps.listSitemaps)
Submits a sitemap for a site. (sitemaps.submit)
Details
delete(string $siteUrl, string $feedpath, array $optParams = [])
Deletes a sitemap from the Sitemaps report. Does not stop Google from crawling this sitemap or the URLs that were previously crawled in the deleted sitemap. (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)