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 key and the data associated with it. The key is removed and no longer counts against the key quota. Note that since this method is not safe in the face of concurrent modifications, it should only be used for development and testing purposes. Invoking this method in shipping code can result in data loss and data corruption.
See: Google App State API Reference for appstate.states.delete
.
Synopsis
- type StatesDeleteResource = "appstate" :> ("v1" :> ("states" :> (Capture "stateKey" (Textual Int32) :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))
- statesDelete :: Int32 -> StatesDelete
- data StatesDelete
- sdStateKey :: Lens' StatesDelete Int32
REST Resource
type StatesDeleteResource = "appstate" :> ("v1" :> ("states" :> (Capture "stateKey" (Textual Int32) :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))) Source #
A resource alias for appstate.states.delete
method which the
StatesDelete
request conforms to.
Creating a Request
Creates a value of StatesDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data StatesDelete Source #
Deletes a key and the data associated with it. The key is removed and no longer counts against the key quota. Note that since this method is not safe in the face of concurrent modifications, it should only be used for development and testing purposes. Invoking this method in shipping code can result in data loss and data corruption.
See: statesDelete
smart constructor.
Instances
Request Lenses
sdStateKey :: Lens' StatesDelete Int32 Source #
The key for the data to be retrieved.