Class UrlNotificationsResource
The "urlNotifications" collection of methods.
Inherited Members
Namespace: Google.Apis.Indexing.v3
Assembly: Google.Apis.Indexing.v3.dll
Syntax
public class UrlNotificationsResource
Constructors
UrlNotificationsResource(IClientService)
Constructs a new resource.
Declaration
public UrlNotificationsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
GetMetadata()
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.
Declaration
public virtual UrlNotificationsResource.GetMetadataRequest GetMetadata()
Returns
| Type | Description |
|---|---|
| UrlNotificationsResource.GetMetadataRequest |
Publish(UrlNotification)
Notifies that a URL has been updated or deleted.
Declaration
public virtual UrlNotificationsResource.PublishRequest Publish(UrlNotification body)
Parameters
| Type | Name | Description |
|---|---|---|
| UrlNotification | body | The body of the request. |
Returns
| Type | Description |
|---|---|
| UrlNotificationsResource.PublishRequest |