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.Get

Contents

Description

Retrieves the data corresponding to the passed key. If the key does not exist on the server, an HTTP 404 will be returned.

See: Google App State API Reference for appstate.states.get.

Synopsis

REST Resource

type StatesGetResource = "appstate" :> ("v1" :> ("states" :> (Capture "stateKey" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] GetResponse)))) Source #

A resource alias for appstate.states.get method which the StatesGet request conforms to.

Creating a Request

statesGet Source #

Arguments

:: Int32

sgStateKey

-> StatesGet 

Creates a value of StatesGet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data StatesGet Source #

Retrieves the data corresponding to the passed key. If the key does not exist on the server, an HTTP 404 will be returned.

See: statesGet smart constructor.

Instances
Eq StatesGet Source # 
Instance details

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

Data StatesGet Source # 
Instance details

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

Methods

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

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

toConstr :: StatesGet -> Constr #

dataTypeOf :: StatesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show StatesGet Source # 
Instance details

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

Generic StatesGet Source # 
Instance details

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

Associated Types

type Rep StatesGet :: Type -> Type #

GoogleRequest StatesGet Source # 
Instance details

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

Associated Types

type Rs StatesGet :: Type #

type Scopes StatesGet :: [Symbol] #

type Rep StatesGet Source # 
Instance details

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

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

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

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

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

Request Lenses

sgStateKey :: Lens' StatesGet Int32 Source #

The key for the data to be retrieved.