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 |
Resets a search application to default settings. This will return an empty response.
See: Cloud Search API Reference for cloudsearch.settings.searchapplications.reset
.
Synopsis
- type SettingsSearchApplicationsResetResource = "v1" :> ("settings" :> (CaptureMode "name" "reset" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ResetSearchApplicationRequest :> Post '[JSON] Operation)))))))))
- settingsSearchApplicationsReset :: ResetSearchApplicationRequest -> Text -> SettingsSearchApplicationsReset
- data SettingsSearchApplicationsReset
- ssarXgafv :: Lens' SettingsSearchApplicationsReset (Maybe Xgafv)
- ssarUploadProtocol :: Lens' SettingsSearchApplicationsReset (Maybe Text)
- ssarAccessToken :: Lens' SettingsSearchApplicationsReset (Maybe Text)
- ssarUploadType :: Lens' SettingsSearchApplicationsReset (Maybe Text)
- ssarPayload :: Lens' SettingsSearchApplicationsReset ResetSearchApplicationRequest
- ssarName :: Lens' SettingsSearchApplicationsReset Text
- ssarCallback :: Lens' SettingsSearchApplicationsReset (Maybe Text)
REST Resource
type SettingsSearchApplicationsResetResource = "v1" :> ("settings" :> (CaptureMode "name" "reset" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ResetSearchApplicationRequest :> Post '[JSON] Operation))))))))) Source #
A resource alias for cloudsearch.settings.searchapplications.reset
method which the
SettingsSearchApplicationsReset
request conforms to.
Creating a Request
settingsSearchApplicationsReset Source #
Creates a value of SettingsSearchApplicationsReset
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SettingsSearchApplicationsReset Source #
Resets a search application to default settings. This will return an empty response.
See: settingsSearchApplicationsReset
smart constructor.
Instances
Request Lenses
ssarUploadProtocol :: Lens' SettingsSearchApplicationsReset (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
ssarAccessToken :: Lens' SettingsSearchApplicationsReset (Maybe Text) Source #
OAuth access token.
ssarUploadType :: Lens' SettingsSearchApplicationsReset (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ssarPayload :: Lens' SettingsSearchApplicationsReset ResetSearchApplicationRequest Source #
Multipart request metadata.
ssarName :: Lens' SettingsSearchApplicationsReset Text Source #
The name of the search application to be reset. Format: applications/{application_id}.
ssarCallback :: Lens' SettingsSearchApplicationsReset (Maybe Text) Source #
JSONP