Copyright | (c) 2015-2025 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <[email protected]> Toni Cebrián <[email protected]> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | GHC2021 |
Gogol.Datastore.Projects.AllocateIds
Contents
Description
Allocates IDs for the given keys, which is useful for referencing an entity before it is inserted.
See: Cloud Datastore API Reference for datastore.projects.allocateIds
.
Synopsis
- type DatastoreProjectsAllocateIdsResource = "v1" :> ("projects" :> (CaptureMode "projectId" "allocateIds" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "access_token" Text :> (QueryParam "callback" Text :> (QueryParam "uploadType" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AllocateIdsRequest :> Post '[JSON] AllocateIdsResponse)))))))))
- data DatastoreProjectsAllocateIds = DatastoreProjectsAllocateIds {
- xgafv :: Maybe Xgafv
- accessToken :: Maybe Text
- callback :: Maybe Text
- payload :: AllocateIdsRequest
- projectId :: Text
- uploadType :: Maybe Text
- uploadProtocol :: Maybe Text
- newDatastoreProjectsAllocateIds :: AllocateIdsRequest -> Text -> DatastoreProjectsAllocateIds
Resource
type DatastoreProjectsAllocateIdsResource = "v1" :> ("projects" :> (CaptureMode "projectId" "allocateIds" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "access_token" Text :> (QueryParam "callback" Text :> (QueryParam "uploadType" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AllocateIdsRequest :> Post '[JSON] AllocateIdsResponse))))))))) Source #
A resource alias for datastore.projects.allocateIds
method which the
DatastoreProjectsAllocateIds
request conforms to.
Constructing a Request
data DatastoreProjectsAllocateIds Source #
Allocates IDs for the given keys, which is useful for referencing an entity before it is inserted.
See: newDatastoreProjectsAllocateIds
smart constructor.
Constructors
DatastoreProjectsAllocateIds | |
Fields
|
Instances
newDatastoreProjectsAllocateIds Source #
Arguments
:: AllocateIdsRequest | Multipart request metadata. See |
-> Text | Required. The ID of the project against which to make the request. See |
-> DatastoreProjectsAllocateIds |
Creates a value of DatastoreProjectsAllocateIds
with the minimum fields required to make a request.