gogol-firestore-0.4.0: Google Cloud Firestore 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.FireStore.Projects.Databases.Documents.Rollback

Contents

Description

Rolls back a transaction.

See: Cloud Firestore API Reference for firestore.projects.databases.documents.rollback.

Synopsis

REST Resource

type ProjectsDatabasesDocumentsRollbackResource = "v1" :> (Capture "database" Text :> ("documents:rollback" :> (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] Empty))))))))) Source #

A resource alias for firestore.projects.databases.documents.rollback method which the ProjectsDatabasesDocumentsRollback request conforms to.

Creating a Request

data ProjectsDatabasesDocumentsRollback Source #

Rolls back a transaction.

See: projectsDatabasesDocumentsRollback smart constructor.

Instances
Eq ProjectsDatabasesDocumentsRollback Source # 
Instance details

Defined in Network.Google.Resource.FireStore.Projects.Databases.Documents.Rollback

Data ProjectsDatabasesDocumentsRollback Source # 
Instance details

Defined in Network.Google.Resource.FireStore.Projects.Databases.Documents.Rollback

Methods

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

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

toConstr :: ProjectsDatabasesDocumentsRollback -> Constr #

dataTypeOf :: ProjectsDatabasesDocumentsRollback -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsDatabasesDocumentsRollback Source # 
Instance details

Defined in Network.Google.Resource.FireStore.Projects.Databases.Documents.Rollback

Generic ProjectsDatabasesDocumentsRollback Source # 
Instance details

Defined in Network.Google.Resource.FireStore.Projects.Databases.Documents.Rollback

Associated Types

type Rep ProjectsDatabasesDocumentsRollback :: Type -> Type #

GoogleRequest ProjectsDatabasesDocumentsRollback Source # 
Instance details

Defined in Network.Google.Resource.FireStore.Projects.Databases.Documents.Rollback

type Rep ProjectsDatabasesDocumentsRollback Source # 
Instance details

Defined in Network.Google.Resource.FireStore.Projects.Databases.Documents.Rollback

type Rep ProjectsDatabasesDocumentsRollback = D1 (MetaData "ProjectsDatabasesDocumentsRollback" "Network.Google.Resource.FireStore.Projects.Databases.Documents.Rollback" "gogol-firestore-0.4.0-GW3AvKXkpND5rISC8pKhKY" False) (C1 (MetaCons "ProjectsDatabasesDocumentsRollback'" PrefixI True) ((S1 (MetaSel (Just "_pddrXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pddrUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pddrDatabase") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) :*: ((S1 (MetaSel (Just "_pddrAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pddrUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pddrPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 RollbackRequest) :*: S1 (MetaSel (Just "_pddrCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsDatabasesDocumentsRollback Source # 
Instance details

Defined in Network.Google.Resource.FireStore.Projects.Databases.Documents.Rollback

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

Defined in Network.Google.Resource.FireStore.Projects.Databases.Documents.Rollback

Request Lenses

pddrUploadProtocol :: Lens' ProjectsDatabasesDocumentsRollback (Maybe Text) Source #

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

pddrDatabase :: Lens' ProjectsDatabasesDocumentsRollback Text Source #

The database name. In the format: `projects/{project_id}/databases/{database_id}`.

pddrUploadType :: Lens' ProjectsDatabasesDocumentsRollback (Maybe Text) Source #

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