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 the schema of a data source.
See: Cloud Search API Reference for cloudsearch.indexing.datasources.deleteSchema
.
Synopsis
- type IndexingDatasourcesDeleteSchemaResource = "v1" :> ("indexing" :> (Capture "name" Text :> ("schema" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "debugOptions.enableDebugging" Bool :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation))))))))))
- indexingDatasourcesDeleteSchema :: Text -> IndexingDatasourcesDeleteSchema
- data IndexingDatasourcesDeleteSchema
- iddsXgafv :: Lens' IndexingDatasourcesDeleteSchema (Maybe Xgafv)
- iddsUploadProtocol :: Lens' IndexingDatasourcesDeleteSchema (Maybe Text)
- iddsAccessToken :: Lens' IndexingDatasourcesDeleteSchema (Maybe Text)
- iddsUploadType :: Lens' IndexingDatasourcesDeleteSchema (Maybe Text)
- iddsName :: Lens' IndexingDatasourcesDeleteSchema Text
- iddsDebugOptionsEnableDebugging :: Lens' IndexingDatasourcesDeleteSchema (Maybe Bool)
- iddsCallback :: Lens' IndexingDatasourcesDeleteSchema (Maybe Text)
REST Resource
type IndexingDatasourcesDeleteSchemaResource = "v1" :> ("indexing" :> (Capture "name" Text :> ("schema" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "debugOptions.enableDebugging" Bool :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation)))))))))) Source #
A resource alias for cloudsearch.indexing.datasources.deleteSchema
method which the
IndexingDatasourcesDeleteSchema
request conforms to.
Creating a Request
indexingDatasourcesDeleteSchema Source #
Creates a value of IndexingDatasourcesDeleteSchema
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data IndexingDatasourcesDeleteSchema Source #
Deletes the schema of a data source.
See: indexingDatasourcesDeleteSchema
smart constructor.
Instances
Request Lenses
iddsUploadProtocol :: Lens' IndexingDatasourcesDeleteSchema (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
iddsAccessToken :: Lens' IndexingDatasourcesDeleteSchema (Maybe Text) Source #
OAuth access token.
iddsUploadType :: Lens' IndexingDatasourcesDeleteSchema (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
iddsName :: Lens' IndexingDatasourcesDeleteSchema Text Source #
Name of the data source to delete Schema. Format: datasources/{source_id}
iddsDebugOptionsEnableDebugging :: Lens' IndexingDatasourcesDeleteSchema (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.
iddsCallback :: Lens' IndexingDatasourcesDeleteSchema (Maybe Text) Source #
JSONP