gogol-datastore-0.0.1: Google Cloud Datastore SDK.

Copyright(c) 2015 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.DataSets.Commit

Contents

Description

Commit a transaction, optionally creating, deleting or modifying some entities.

See: Google Cloud Datastore API Reference for datastore.datasets.commit.

Synopsis

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

dataSetsCommit Source

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.