target.apidocs.com.google.api.services.indexing.v3.Indexing.UrlNotifications.html Maven / Gradle / Ivy
Indexing.UrlNotifications (Indexing API v3-rev20200804-1.30.10)
com.google.api.services.indexing.v3
Class Indexing.UrlNotifications
- java.lang.Object
-
- com.google.api.services.indexing.v3.Indexing.UrlNotifications
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Indexing.UrlNotifications.GetMetadata
class
Indexing.UrlNotifications.Publish
-
Constructor Summary
Constructors
Constructor and Description
UrlNotifications()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Indexing.UrlNotifications.GetMetadata
getMetadata()
Gets metadata about a Web Document.
Indexing.UrlNotifications.Publish
publish(UrlNotification content)
Notifies that a URL has been updated or deleted.
-
-
Method Detail
-
getMetadata
public Indexing.UrlNotifications.GetMetadata getMetadata()
throws IOException
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.
Create a request for the method "urlNotifications.getMetadata".
This request holds the parameters needed by the indexing server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Returns:
- the request
- Throws:
IOException
-
publish
public Indexing.UrlNotifications.Publish publish(UrlNotification content)
throws IOException
Notifies that a URL has been updated or deleted.
Create a request for the method "urlNotifications.publish".
This request holds the parameters needed by the indexing server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
content
- the UrlNotification
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy