gogol-appstate-0.4.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] ())))) Source #

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

Creating a Request

statesDelete Source #

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
Eq StatesDelete Source # 
Instance details

Defined in Network.Google.Resource.AppState.States.Delete

Data StatesDelete Source # 
Instance details

Defined in Network.Google.Resource.AppState.States.Delete

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 Source # 
Instance details

Defined in Network.Google.Resource.AppState.States.Delete

Generic StatesDelete Source # 
Instance details

Defined in Network.Google.Resource.AppState.States.Delete

Associated Types

type Rep StatesDelete :: Type -> Type #

GoogleRequest StatesDelete Source # 
Instance details

Defined in Network.Google.Resource.AppState.States.Delete

Associated Types

type Rs StatesDelete :: Type #

type Scopes StatesDelete :: [Symbol] #

type Rep StatesDelete Source # 
Instance details

Defined in Network.Google.Resource.AppState.States.Delete

type Rep StatesDelete = D1 (MetaData "StatesDelete" "Network.Google.Resource.AppState.States.Delete" "gogol-appstate-0.4.0-3myNnuC4x6s9zunr51UCcB" True) (C1 (MetaCons "StatesDelete'" PrefixI True) (S1 (MetaSel (Just "_sdStateKey") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Textual Int32))))
type Scopes StatesDelete Source # 
Instance details

Defined in Network.Google.Resource.AppState.States.Delete

type Scopes StatesDelete = "https://www.googleapis.com/auth/appstate" ': ([] :: [Symbol])
type Rs StatesDelete Source # 
Instance details

Defined in Network.Google.Resource.AppState.States.Delete

type Rs StatesDelete = ()

Request Lenses

sdStateKey :: Lens' StatesDelete Int32 Source #

The key for the data to be retrieved.