gogol-datastore-0.5.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: 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 "access_token" Text :> (QueryParam "uploadType" 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 # 
Instance details

Defined in Network.Google.Resource.Datastore.Projects.Lookup

Data ProjectsLookup Source # 
Instance details

Defined in Network.Google.Resource.Datastore.Projects.Lookup

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

Defined in Network.Google.Resource.Datastore.Projects.Lookup

Generic ProjectsLookup Source # 
Instance details

Defined in Network.Google.Resource.Datastore.Projects.Lookup

Associated Types

type Rep ProjectsLookup :: Type -> Type #

GoogleRequest ProjectsLookup Source # 
Instance details

Defined in Network.Google.Resource.Datastore.Projects.Lookup

Associated Types

type Rs ProjectsLookup :: Type #

type Scopes ProjectsLookup :: [Symbol] #

type Rep ProjectsLookup Source # 
Instance details

Defined in Network.Google.Resource.Datastore.Projects.Lookup

type Rep ProjectsLookup = D1 (MetaData "ProjectsLookup" "Network.Google.Resource.Datastore.Projects.Lookup" "gogol-datastore-0.5.0-2OK4qkxQOjCFU9EpQ0LxpB" False) (C1 (MetaCons "ProjectsLookup'" PrefixI True) ((S1 (MetaSel (Just "_plXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_plUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_plUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 LookupRequest)) :*: (S1 (MetaSel (Just "_plProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_plCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLookup Source # 
Instance details

Defined in Network.Google.Resource.Datastore.Projects.Lookup

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

Defined in Network.Google.Resource.Datastore.Projects.Lookup

Request Lenses

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

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

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.