| Copyright | (c) 2015 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 |
Network.Google.Resource.Datastore.DataSets.Commit
Description
Commit a transaction, optionally creating, deleting or modifying some entities.
See: Google Cloud Datastore API Reference for datastore.datasets.commit.
- type DataSetsCommitResource = "datastore" :> ("v1beta2" :> ("datasets" :> (Capture "datasetId" Text :> ("commit" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` CommitRequest :> Post `[JSON]` CommitResponse))))))
- dataSetsCommit :: CommitRequest -> Text -> DataSetsCommit
- data DataSetsCommit
- dscPayload :: Lens' DataSetsCommit CommitRequest
- dscDataSetId :: Lens' DataSetsCommit Text
REST Resource
type DataSetsCommitResource = "datastore" :> ("v1beta2" :> ("datasets" :> (Capture "datasetId" Text :> ("commit" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` CommitRequest :> Post `[JSON]` CommitResponse)))))) Source
A resource alias for datastore.datasets.commit method which the
DataSetsCommit request conforms to.
Creating a Request
Arguments
| :: CommitRequest | |
| -> Text | |
| -> DataSetsCommit |
Creates a value of DataSetsCommit with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DataSetsCommit Source
Commit a transaction, optionally creating, deleting or modifying some entities.
See: dataSetsCommit smart constructor.
Request Lenses
dscPayload :: Lens' DataSetsCommit CommitRequest Source
Multipart request metadata.
dscDataSetId :: Lens' DataSetsCommit Text Source
Identifies the dataset.