gogol-datastore-0.2.0: Google Cloud Datastore 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.Datastore.Projects.Lookup

Contents

Description

Looks up entities by key.

See: Google Cloud Datastore API Reference for datastore.projects.lookup.

Synopsis

REST Resource

type ProjectsLookupResource = "v1" :> ("projects" :> (CaptureMode "projectId" "lookup" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LookupRequest :> Post '[JSON] LookupResponse))))))))))) Source #

A resource alias for datastore.projects.lookup method which the ProjectsLookup request conforms to.

Creating a Request

projectsLookup Source #

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

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

data ProjectsLookup Source #

Looks up entities by key.

See: projectsLookup smart constructor.

Instances

Eq ProjectsLookup Source # 
Data ProjectsLookup Source # 

Methods

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

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

toConstr :: ProjectsLookup -> Constr #

dataTypeOf :: ProjectsLookup -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLookup Source # 
Generic ProjectsLookup Source # 

Associated Types

type Rep ProjectsLookup :: * -> * #

GoogleRequest ProjectsLookup Source # 
type Rep ProjectsLookup Source # 
type Scopes ProjectsLookup Source # 
type Scopes ProjectsLookup = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/datastore" ([] Symbol))
type Rs ProjectsLookup Source # 

Request Lenses

plUploadProtocol :: Lens' ProjectsLookup (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

plPp :: Lens' ProjectsLookup Bool Source #

Pretty-print response.

plUploadType :: Lens' ProjectsLookup (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

plPayload :: Lens' ProjectsLookup LookupRequest Source #

Multipart request metadata.

plProjectId :: Lens' ProjectsLookup Text Source #

The ID of the project against which to make the request.