gogol-datastore-0.4.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.RunQuery

Contents

Description

Queries for entities.

See: Cloud Datastore API Reference for datastore.projects.runQuery.

Synopsis

REST Resource

type ProjectsRunQueryResource = "v1" :> ("projects" :> (CaptureMode "projectId" "runQuery" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RunQueryRequest :> Post '[JSON] RunQueryResponse))))))))) Source #

A resource alias for datastore.projects.runQuery method which the ProjectsRunQuery request conforms to.

Creating a Request

projectsRunQuery Source #

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

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

data ProjectsRunQuery Source #

Queries for entities.

See: projectsRunQuery smart constructor.

Instances
Eq ProjectsRunQuery Source # 
Instance details

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

Data ProjectsRunQuery Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsRunQuery -> Constr #

dataTypeOf :: ProjectsRunQuery -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsRunQuery Source # 
Instance details

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

Generic ProjectsRunQuery Source # 
Instance details

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

Associated Types

type Rep ProjectsRunQuery :: Type -> Type #

GoogleRequest ProjectsRunQuery Source # 
Instance details

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

Associated Types

type Rs ProjectsRunQuery :: Type #

type Scopes ProjectsRunQuery :: [Symbol] #

type Rep ProjectsRunQuery Source # 
Instance details

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

type Rep ProjectsRunQuery = D1 (MetaData "ProjectsRunQuery" "Network.Google.Resource.Datastore.Projects.RunQuery" "gogol-datastore-0.4.0-DxtGpCFjzKb7bKvoY75v5a" False) (C1 (MetaCons "ProjectsRunQuery'" PrefixI True) ((S1 (MetaSel (Just "_prqXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_prqUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prqAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_prqUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prqPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 RunQueryRequest)) :*: (S1 (MetaSel (Just "_prqProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_prqCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsRunQuery Source # 
Instance details

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

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

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

Request Lenses

prqUploadProtocol :: Lens' ProjectsRunQuery (Maybe Text) Source #

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

prqUploadType :: Lens' ProjectsRunQuery (Maybe Text) Source #

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

prqProjectId :: Lens' ProjectsRunQuery Text Source #

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