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.Export

Contents

Description

Exports a copy of all or a subset of entities from Google Cloud Datastore to another storage system, such as Google Cloud Storage. Recent updates to entities may not be reflected in the export. The export occurs in the background and its progress can be monitored and managed via the Operation resource that is created. The output of an export may only be used once the associated operation is done. If an export operation is cancelled before completion it may leave partial data behind in Google Cloud Storage.

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

Synopsis

REST Resource

type ProjectsExportResource = "v1" :> ("projects" :> (CaptureMode "projectId" "export" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GoogleDatastoreAdminV1ExportEntitiesRequest :> Post '[JSON] GoogleLongrunningOperation))))))))) Source #

A resource alias for datastore.projects.export method which the ProjectsExport request conforms to.

Creating a Request

projectsExport Source #

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

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

data ProjectsExport Source #

Exports a copy of all or a subset of entities from Google Cloud Datastore to another storage system, such as Google Cloud Storage. Recent updates to entities may not be reflected in the export. The export occurs in the background and its progress can be monitored and managed via the Operation resource that is created. The output of an export may only be used once the associated operation is done. If an export operation is cancelled before completion it may leave partial data behind in Google Cloud Storage.

See: projectsExport smart constructor.

Instances
Eq ProjectsExport Source # 
Instance details

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

Data ProjectsExport Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsExport -> Constr #

dataTypeOf :: ProjectsExport -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsExport Source # 
Instance details

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

Generic ProjectsExport Source # 
Instance details

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

Associated Types

type Rep ProjectsExport :: Type -> Type #

GoogleRequest ProjectsExport Source # 
Instance details

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

Associated Types

type Rs ProjectsExport :: Type #

type Scopes ProjectsExport :: [Symbol] #

type Rep ProjectsExport Source # 
Instance details

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

type Scopes ProjectsExport Source # 
Instance details

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

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

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

Request Lenses

peUploadProtocol :: Lens' ProjectsExport (Maybe Text) Source #

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

peUploadType :: Lens' ProjectsExport (Maybe Text) Source #

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

peProjectId :: Lens' ProjectsExport Text Source #

Project ID against which to make the request.