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 |
Unreserves all items from a queue, making them all eligible to be polled. This method is useful for resetting the indexing queue after a connector has been restarted.
See: Cloud Search API Reference for cloudsearch.indexing.datasources.items.unreserve
.
Synopsis
- type IndexingDatasourcesItemsUnreserveResource = "v1" :> ("indexing" :> (Capture "name" Text :> ("items:unreserve" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UnreserveItemsRequest :> Post '[JSON] Operation))))))))))
- indexingDatasourcesItemsUnreserve :: UnreserveItemsRequest -> Text -> IndexingDatasourcesItemsUnreserve
- data IndexingDatasourcesItemsUnreserve
- idiuXgafv :: Lens' IndexingDatasourcesItemsUnreserve (Maybe Xgafv)
- idiuUploadProtocol :: Lens' IndexingDatasourcesItemsUnreserve (Maybe Text)
- idiuAccessToken :: Lens' IndexingDatasourcesItemsUnreserve (Maybe Text)
- idiuUploadType :: Lens' IndexingDatasourcesItemsUnreserve (Maybe Text)
- idiuPayload :: Lens' IndexingDatasourcesItemsUnreserve UnreserveItemsRequest
- idiuName :: Lens' IndexingDatasourcesItemsUnreserve Text
- idiuCallback :: Lens' IndexingDatasourcesItemsUnreserve (Maybe Text)
REST Resource
type IndexingDatasourcesItemsUnreserveResource = "v1" :> ("indexing" :> (Capture "name" Text :> ("items:unreserve" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UnreserveItemsRequest :> Post '[JSON] Operation)))))))))) Source #
A resource alias for cloudsearch.indexing.datasources.items.unreserve
method which the
IndexingDatasourcesItemsUnreserve
request conforms to.
Creating a Request
indexingDatasourcesItemsUnreserve Source #
Creates a value of IndexingDatasourcesItemsUnreserve
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data IndexingDatasourcesItemsUnreserve Source #
Unreserves all items from a queue, making them all eligible to be polled. This method is useful for resetting the indexing queue after a connector has been restarted.
See: indexingDatasourcesItemsUnreserve
smart constructor.
Instances
Request Lenses
idiuUploadProtocol :: Lens' IndexingDatasourcesItemsUnreserve (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
idiuAccessToken :: Lens' IndexingDatasourcesItemsUnreserve (Maybe Text) Source #
OAuth access token.
idiuUploadType :: Lens' IndexingDatasourcesItemsUnreserve (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
idiuPayload :: Lens' IndexingDatasourcesItemsUnreserve UnreserveItemsRequest Source #
Multipart request metadata.