Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- 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))))))))
- projectsInstancesTablesGenerateConsistencyToken :: GenerateConsistencyTokenRequest -> Text -> ProjectsInstancesTablesGenerateConsistencyToken
- data ProjectsInstancesTablesGenerateConsistencyToken
- pitgctXgafv :: Lens' ProjectsInstancesTablesGenerateConsistencyToken (Maybe Xgafv)
- pitgctUploadProtocol :: Lens' ProjectsInstancesTablesGenerateConsistencyToken (Maybe Text)
- pitgctAccessToken :: Lens' ProjectsInstancesTablesGenerateConsistencyToken (Maybe Text)
- pitgctUploadType :: Lens' ProjectsInstancesTablesGenerateConsistencyToken (Maybe Text)
- pitgctPayload :: Lens' ProjectsInstancesTablesGenerateConsistencyToken GenerateConsistencyTokenRequest
- pitgctName :: Lens' ProjectsInstancesTablesGenerateConsistencyToken Text
- pitgctCallback :: Lens' ProjectsInstancesTablesGenerateConsistencyToken (Maybe Text)
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
projectsInstancesTablesGenerateConsistencyToken Source #
Creates a value of ProjectsInstancesTablesGenerateConsistencyToken
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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
Request Lenses
pitgctXgafv :: Lens' ProjectsInstancesTablesGenerateConsistencyToken (Maybe Xgafv) Source #
V1 error format.
pitgctUploadProtocol :: Lens' ProjectsInstancesTablesGenerateConsistencyToken (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pitgctAccessToken :: Lens' ProjectsInstancesTablesGenerateConsistencyToken (Maybe Text) Source #
OAuth access token.
pitgctUploadType :: Lens' ProjectsInstancesTablesGenerateConsistencyToken (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pitgctPayload :: Lens' ProjectsInstancesTablesGenerateConsistencyToken GenerateConsistencyTokenRequest Source #
Multipart request metadata.
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/ `.