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

Contents

Description

Rolls back a transaction.

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

Synopsis

REST Resource

type ProjectsRollbackResource = "v1" :> ("projects" :> (CaptureMode "projectId" "rollback" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RollbackRequest :> Post '[JSON] RollbackResponse))))))))) Source #

A resource alias for datastore.projects.rollback method which the ProjectsRollback request conforms to.

Creating a Request

projectsRollback Source #

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

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

data ProjectsRollback Source #

Rolls back a transaction.

See: projectsRollback smart constructor.

Instances
Eq ProjectsRollback Source # 
Instance details

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

Data ProjectsRollback Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsRollback -> Constr #

dataTypeOf :: ProjectsRollback -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsRollback Source # 
Instance details

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

Generic ProjectsRollback Source # 
Instance details

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

Associated Types

type Rep ProjectsRollback :: Type -> Type #

GoogleRequest ProjectsRollback Source # 
Instance details

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

Associated Types

type Rs ProjectsRollback :: Type #

type Scopes ProjectsRollback :: [Symbol] #

type Rep ProjectsRollback Source # 
Instance details

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

type Rep ProjectsRollback = D1 (MetaData "ProjectsRollback" "Network.Google.Resource.Datastore.Projects.Rollback" "gogol-datastore-0.4.0-DxtGpCFjzKb7bKvoY75v5a" False) (C1 (MetaCons "ProjectsRollback'" PrefixI True) ((S1 (MetaSel (Just "_prXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_prUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_prUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 RollbackRequest)) :*: (S1 (MetaSel (Just "_prProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_prCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsRollback Source # 
Instance details

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

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

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

Request Lenses

prUploadProtocol :: Lens' ProjectsRollback (Maybe Text) Source #

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

prUploadType :: Lens' ProjectsRollback (Maybe Text) Source #

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

prPayload :: Lens' ProjectsRollback RollbackRequest Source #

Multipart request metadata.

prProjectId :: Lens' ProjectsRollback Text Source #

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