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 a data source.
See: Cloud Search API Reference for cloudsearch.settings.datasources.delete
.
Synopsis
- type SettingsDatasourcesDeleteResource = "v1" :> ("settings" :> (Capture "name" Text :> (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)))))))))
- settingsDatasourcesDelete :: Text -> SettingsDatasourcesDelete
- data SettingsDatasourcesDelete
- sddXgafv :: Lens' SettingsDatasourcesDelete (Maybe Xgafv)
- sddUploadProtocol :: Lens' SettingsDatasourcesDelete (Maybe Text)
- sddAccessToken :: Lens' SettingsDatasourcesDelete (Maybe Text)
- sddUploadType :: Lens' SettingsDatasourcesDelete (Maybe Text)
- sddName :: Lens' SettingsDatasourcesDelete Text
- sddDebugOptionsEnableDebugging :: Lens' SettingsDatasourcesDelete (Maybe Bool)
- sddCallback :: Lens' SettingsDatasourcesDelete (Maybe Text)
REST Resource
type SettingsDatasourcesDeleteResource = "v1" :> ("settings" :> (Capture "name" Text :> (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.settings.datasources.delete
method which the
SettingsDatasourcesDelete
request conforms to.
Creating a Request
settingsDatasourcesDelete Source #
Creates a value of SettingsDatasourcesDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SettingsDatasourcesDelete Source #
Deletes a data source.
See: settingsDatasourcesDelete
smart constructor.
Instances
Request Lenses
sddUploadProtocol :: Lens' SettingsDatasourcesDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
sddAccessToken :: Lens' SettingsDatasourcesDelete (Maybe Text) Source #
OAuth access token.
sddUploadType :: Lens' SettingsDatasourcesDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
sddName :: Lens' SettingsDatasourcesDelete Text Source #
Name of the data source. Format: datasources/{source_id}.
sddDebugOptionsEnableDebugging :: Lens' SettingsDatasourcesDelete (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.
sddCallback :: Lens' SettingsDatasourcesDelete (Maybe Text) Source #
JSONP