gogol-appstate-0.3.0: Google App State SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.AppState.States.Delete

Contents

Description

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

REST Resource

type StatesDeleteResource = "appstate" :> ("v1" :> ("states" :> (Capture "stateKey" (Textual Int32) :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))) #

A resource alias for appstate.states.delete method which the StatesDelete request conforms to.

Creating a Request

statesDelete #

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 #

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

Eq StatesDelete # 
Data StatesDelete # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StatesDelete -> c StatesDelete #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StatesDelete #

toConstr :: StatesDelete -> Constr #

dataTypeOf :: StatesDelete -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c StatesDelete) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StatesDelete) #

gmapT :: (forall b. Data b => b -> b) -> StatesDelete -> StatesDelete #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StatesDelete -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StatesDelete -> r #

gmapQ :: (forall d. Data d => d -> u) -> StatesDelete -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StatesDelete -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StatesDelete -> m StatesDelete #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StatesDelete -> m StatesDelete #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StatesDelete -> m StatesDelete #

Show StatesDelete # 
Generic StatesDelete # 

Associated Types

type Rep StatesDelete :: * -> * #

GoogleRequest StatesDelete # 

Associated Types

type Rs StatesDelete :: * #

type Scopes StatesDelete :: [Symbol] #

type Rep StatesDelete # 
type Rep StatesDelete = D1 (MetaData "StatesDelete" "Network.Google.Resource.AppState.States.Delete" "gogol-appstate-0.3.0-EGMeJlIxZhEFrEPUQklAKW" True) (C1 (MetaCons "StatesDelete'" PrefixI True) (S1 (MetaSel (Just Symbol "_sdStateKey") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Textual Int32))))
type Scopes StatesDelete # 
type Scopes StatesDelete = (:) Symbol "https://www.googleapis.com/auth/appstate" ([] Symbol)
type Rs StatesDelete # 
type Rs StatesDelete = ()

Request Lenses

sdStateKey :: Lens' StatesDelete Int32 #

The key for the data to be retrieved.