gogol-bigtableadmin-0.4.0: Google Cloud Bigtable Admin 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.BigtableAdmin.Projects.Instances.Tables.GenerateConsistencyToken

Contents

Description

Generates a consistency token for a Table, which can be used in CheckConsistency to check whether mutations to the table that finished before this call started have been replicated. The tokens will be available for 90 days.

See: Cloud Bigtable Admin API Reference for bigtableadmin.projects.instances.tables.generateConsistencyToken.

Synopsis

REST Resource

type ProjectsInstancesTablesGenerateConsistencyTokenResource = "v2" :> (CaptureMode "name" "generateConsistencyToken" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GenerateConsistencyTokenRequest :> Post '[JSON] GenerateConsistencyTokenResponse)))))))) Source #

A resource alias for bigtableadmin.projects.instances.tables.generateConsistencyToken method which the ProjectsInstancesTablesGenerateConsistencyToken request conforms to.

Creating a Request

data ProjectsInstancesTablesGenerateConsistencyToken Source #

Generates a consistency token for a Table, which can be used in CheckConsistency to check whether mutations to the table that finished before this call started have been replicated. The tokens will be available for 90 days.

See: projectsInstancesTablesGenerateConsistencyToken smart constructor.

Instances
Eq ProjectsInstancesTablesGenerateConsistencyToken Source # 
Instance details

Defined in Network.Google.Resource.BigtableAdmin.Projects.Instances.Tables.GenerateConsistencyToken

Data ProjectsInstancesTablesGenerateConsistencyToken Source # 
Instance details

Defined in Network.Google.Resource.BigtableAdmin.Projects.Instances.Tables.GenerateConsistencyToken

Methods

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

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

toConstr :: ProjectsInstancesTablesGenerateConsistencyToken -> Constr #

dataTypeOf :: ProjectsInstancesTablesGenerateConsistencyToken -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsInstancesTablesGenerateConsistencyToken Source # 
Instance details

Defined in Network.Google.Resource.BigtableAdmin.Projects.Instances.Tables.GenerateConsistencyToken

Generic ProjectsInstancesTablesGenerateConsistencyToken Source # 
Instance details

Defined in Network.Google.Resource.BigtableAdmin.Projects.Instances.Tables.GenerateConsistencyToken

GoogleRequest ProjectsInstancesTablesGenerateConsistencyToken Source # 
Instance details

Defined in Network.Google.Resource.BigtableAdmin.Projects.Instances.Tables.GenerateConsistencyToken

type Rep ProjectsInstancesTablesGenerateConsistencyToken Source # 
Instance details

Defined in Network.Google.Resource.BigtableAdmin.Projects.Instances.Tables.GenerateConsistencyToken

type Rep ProjectsInstancesTablesGenerateConsistencyToken = D1 (MetaData "ProjectsInstancesTablesGenerateConsistencyToken" "Network.Google.Resource.BigtableAdmin.Projects.Instances.Tables.GenerateConsistencyToken" "gogol-bigtableadmin-0.4.0-6szCCW4cHyY2Lkz5NnlqK" False) (C1 (MetaCons "ProjectsInstancesTablesGenerateConsistencyToken'" PrefixI True) ((S1 (MetaSel (Just "_pitgctXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pitgctUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pitgctAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pitgctUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pitgctPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GenerateConsistencyTokenRequest)) :*: (S1 (MetaSel (Just "_pitgctName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pitgctCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsInstancesTablesGenerateConsistencyToken Source # 
Instance details

Defined in Network.Google.Resource.BigtableAdmin.Projects.Instances.Tables.GenerateConsistencyToken

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

Defined in Network.Google.Resource.BigtableAdmin.Projects.Instances.Tables.GenerateConsistencyToken

Request Lenses

pitgctUploadProtocol :: Lens' ProjectsInstancesTablesGenerateConsistencyToken (Maybe Text) Source #

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

pitgctUploadType :: Lens' ProjectsInstancesTablesGenerateConsistencyToken (Maybe Text) Source #

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

pitgctName :: Lens' ProjectsInstancesTablesGenerateConsistencyToken Text Source #

The unique name of the Table for which to create a consistency token. Values are of the form `projects//instances//tables/ `.