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 |
Deletes Item resource for the specified resource name.
See: Cloud Search API Reference for cloudsearch.indexing.datasources.items.delete
.
Synopsis
- type IndexingDatasourcesItemsDeleteResource = "v1" :> ("indexing" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "mode" Text :> (QueryParam "uploadType" Text :> (QueryParam "connectorName" Text :> (QueryParam "version" Bytes :> (QueryParam "debugOptions.enableDebugging" Bool :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation))))))))))))
- indexingDatasourcesItemsDelete :: Text -> IndexingDatasourcesItemsDelete
- data IndexingDatasourcesItemsDelete
- ididXgafv :: Lens' IndexingDatasourcesItemsDelete (Maybe Xgafv)
- ididUploadProtocol :: Lens' IndexingDatasourcesItemsDelete (Maybe Text)
- ididAccessToken :: Lens' IndexingDatasourcesItemsDelete (Maybe Text)
- ididMode :: Lens' IndexingDatasourcesItemsDelete (Maybe Text)
- ididUploadType :: Lens' IndexingDatasourcesItemsDelete (Maybe Text)
- ididConnectorName :: Lens' IndexingDatasourcesItemsDelete (Maybe Text)
- ididName :: Lens' IndexingDatasourcesItemsDelete Text
- ididVersion :: Lens' IndexingDatasourcesItemsDelete (Maybe ByteString)
- ididDebugOptionsEnableDebugging :: Lens' IndexingDatasourcesItemsDelete (Maybe Bool)
- ididCallback :: Lens' IndexingDatasourcesItemsDelete (Maybe Text)
REST Resource
type IndexingDatasourcesItemsDeleteResource = "v1" :> ("indexing" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "mode" Text :> (QueryParam "uploadType" Text :> (QueryParam "connectorName" Text :> (QueryParam "version" Bytes :> (QueryParam "debugOptions.enableDebugging" Bool :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation)))))))))))) Source #
A resource alias for cloudsearch.indexing.datasources.items.delete
method which the
IndexingDatasourcesItemsDelete
request conforms to.
Creating a Request
indexingDatasourcesItemsDelete Source #
Creates a value of IndexingDatasourcesItemsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data IndexingDatasourcesItemsDelete Source #
Deletes Item resource for the specified resource name.
See: indexingDatasourcesItemsDelete
smart constructor.
Instances
Request Lenses
ididUploadProtocol :: Lens' IndexingDatasourcesItemsDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
ididAccessToken :: Lens' IndexingDatasourcesItemsDelete (Maybe Text) Source #
OAuth access token.
ididMode :: Lens' IndexingDatasourcesItemsDelete (Maybe Text) Source #
Required. The RequestMode for this request.
ididUploadType :: Lens' IndexingDatasourcesItemsDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ididConnectorName :: Lens' IndexingDatasourcesItemsDelete (Maybe Text) Source #
Name of connector making this call. Format: datasources/{source_id}/connectors/{ID}
ididName :: Lens' IndexingDatasourcesItemsDelete Text Source #
Required. Name of the item to delete. Format: datasources/{source_id}/items/{item_id}
ididVersion :: Lens' IndexingDatasourcesItemsDelete (Maybe ByteString) Source #
Required. The incremented version of the item to delete from the index. The indexing system stores the version from the datasource as a byte string and compares the Item version in the index to the version of the queued Item using lexical ordering. Cloud Search Indexing won't delete any queued item with a version value that is less than or equal to the version of the currently indexed item. The maximum length for this field is 1024 bytes.
ididDebugOptionsEnableDebugging :: Lens' IndexingDatasourcesItemsDelete (Maybe Bool) Source #
If set, the request will enable debugging features of Cloud Search. Only turn on this field, if asked by Google to help with debugging.
ididCallback :: Lens' IndexingDatasourcesItemsDelete (Maybe Text) Source #
JSONP