UrlNotifications
class UrlNotifications extends Resource (View source)
The "urlNotifications" collection of methods.
Typical usage is:
$indexingService = new Google\Service\Indexing(...);
$urlNotifications = $indexingService->urlNotifications;
Methods
getMetadata(array $optParams = [])
Gets metadata about a Web Document. This method can only be used to query URLs that were previously seen in successful Indexing API notifications.
publish(UrlNotification $postBody, array $optParams = [])
Notifies that a URL has been updated or deleted. (urlNotifications.publish)
Details
UrlNotificationMetadata
getMetadata(array $optParams = [])
Gets metadata about a Web Document. This method can only be used to query URLs that were previously seen in successful Indexing API notifications.
Includes the latest UrlNotification
received via this API.
(urlNotifications.getMetadata)
PublishUrlNotificationResponse
publish(UrlNotification $postBody, array $optParams = [])
Notifies that a URL has been updated or deleted. (urlNotifications.publish)