Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Notifies that a URL has been updated or deleted.
See: Indexing API Reference for indexing.urlNotifications.publish
.
Synopsis
- type URLNotificationsPublishResource = "v3" :> ("urlNotifications:publish" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] URLNotification :> Post '[JSON] PublishURLNotificationResponse))))))))
- urlNotificationsPublish :: URLNotification -> URLNotificationsPublish
- data URLNotificationsPublish
- unpXgafv :: Lens' URLNotificationsPublish (Maybe Xgafv)
- unpUploadProtocol :: Lens' URLNotificationsPublish (Maybe Text)
- unpAccessToken :: Lens' URLNotificationsPublish (Maybe Text)
- unpUploadType :: Lens' URLNotificationsPublish (Maybe Text)
- unpPayload :: Lens' URLNotificationsPublish URLNotification
- unpCallback :: Lens' URLNotificationsPublish (Maybe Text)
REST Resource
type URLNotificationsPublishResource = "v3" :> ("urlNotifications:publish" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] URLNotification :> Post '[JSON] PublishURLNotificationResponse)))))))) Source #
A resource alias for indexing.urlNotifications.publish
method which the
URLNotificationsPublish
request conforms to.
Creating a Request
urlNotificationsPublish Source #
Creates a value of URLNotificationsPublish
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data URLNotificationsPublish Source #
Notifies that a URL has been updated or deleted.
See: urlNotificationsPublish
smart constructor.
Instances
Request Lenses
unpUploadProtocol :: Lens' URLNotificationsPublish (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
unpAccessToken :: Lens' URLNotificationsPublish (Maybe Text) Source #
OAuth access token.
unpUploadType :: Lens' URLNotificationsPublish (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
unpPayload :: Lens' URLNotificationsPublish URLNotification Source #
Multipart request metadata.
unpCallback :: Lens' URLNotificationsPublish (Maybe Text) Source #
JSONP