gogol-datastore-0.3.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.BeginTransaction

Contents

Description

Begins a new transaction.

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

Synopsis

REST Resource

type ProjectsBeginTransactionResource = "v1" :> ("projects" :> (CaptureMode "projectId" "beginTransaction" 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] BeginTransactionRequest :> Post '[JSON] BeginTransactionResponse))))))))))) Source #

A resource alias for datastore.projects.beginTransaction method which the ProjectsBeginTransaction request conforms to.

Creating a Request

projectsBeginTransaction Source #

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

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

data ProjectsBeginTransaction Source #

Begins a new transaction.

See: projectsBeginTransaction smart constructor.

Instances

Eq ProjectsBeginTransaction Source # 
Data ProjectsBeginTransaction Source # 

Methods

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

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

toConstr :: ProjectsBeginTransaction -> Constr #

dataTypeOf :: ProjectsBeginTransaction -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

pbtUploadProtocol :: Lens' ProjectsBeginTransaction (Maybe Text) Source #

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

pbtPp :: Lens' ProjectsBeginTransaction Bool Source #

Pretty-print response.

pbtUploadType :: Lens' ProjectsBeginTransaction (Maybe Text) Source #

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

pbtProjectId :: Lens' ProjectsBeginTransaction Text Source #

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