gogol-datastore-0.4.0: Google Cloud Datastore 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.Datastore.Projects.ReserveIds

Contents

Description

Prevents the supplied keys' IDs from being auto-allocated by Cloud Datastore.

See: Cloud Datastore API Reference for datastore.projects.reserveIds.

Synopsis

REST Resource

type ProjectsReserveIdsResource = "v1" :> ("projects" :> (CaptureMode "projectId" "reserveIds" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ReserveIdsRequest :> Post '[JSON] ReserveIdsResponse))))))))) Source #

A resource alias for datastore.projects.reserveIds method which the ProjectsReserveIds request conforms to.

Creating a Request

projectsReserveIds Source #

Creates a value of ProjectsReserveIds with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ProjectsReserveIds Source #

Prevents the supplied keys' IDs from being auto-allocated by Cloud Datastore.

See: projectsReserveIds smart constructor.

Instances
Eq ProjectsReserveIds Source # 
Instance details

Defined in Network.Google.Resource.Datastore.Projects.ReserveIds

Data ProjectsReserveIds Source # 
Instance details

Defined in Network.Google.Resource.Datastore.Projects.ReserveIds

Methods

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

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

toConstr :: ProjectsReserveIds -> Constr #

dataTypeOf :: ProjectsReserveIds -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsReserveIds Source # 
Instance details

Defined in Network.Google.Resource.Datastore.Projects.ReserveIds

Generic ProjectsReserveIds Source # 
Instance details

Defined in Network.Google.Resource.Datastore.Projects.ReserveIds

Associated Types

type Rep ProjectsReserveIds :: Type -> Type #

GoogleRequest ProjectsReserveIds Source # 
Instance details

Defined in Network.Google.Resource.Datastore.Projects.ReserveIds

Associated Types

type Rs ProjectsReserveIds :: Type #

type Scopes ProjectsReserveIds :: [Symbol] #

type Rep ProjectsReserveIds Source # 
Instance details

Defined in Network.Google.Resource.Datastore.Projects.ReserveIds

type Rep ProjectsReserveIds = D1 (MetaData "ProjectsReserveIds" "Network.Google.Resource.Datastore.Projects.ReserveIds" "gogol-datastore-0.4.0-DxtGpCFjzKb7bKvoY75v5a" False) (C1 (MetaCons "ProjectsReserveIds'" PrefixI True) ((S1 (MetaSel (Just "_priXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_priUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_priAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_priUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_priPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ReserveIdsRequest)) :*: (S1 (MetaSel (Just "_priProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_priCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsReserveIds Source # 
Instance details

Defined in Network.Google.Resource.Datastore.Projects.ReserveIds

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

Defined in Network.Google.Resource.Datastore.Projects.ReserveIds

Request Lenses

priUploadProtocol :: Lens' ProjectsReserveIds (Maybe Text) Source #

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

priUploadType :: Lens' ProjectsReserveIds (Maybe Text) Source #

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

priProjectId :: Lens' ProjectsReserveIds Text Source #

The ID of the project against which to make the request.