gogol-admin-datatransfer-0.2.0: Google Admin Data Transfer 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.DataTransfer.Types

Contents

Description

 

Synopsis

Service Configuration

dataTransferService :: ServiceConfig Source #

Default request referring to version datatransfer_v1 of the Admin Data Transfer API. This contains the host and root path used as a starting point for constructing service requests.

OAuth Scopes

adminDataTransferReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/admin.datatransfer.readonly"] Source #

View data transfers between users in your organization

adminDataTransferScope :: Proxy '["https://www.googleapis.com/auth/admin.datatransfer"] Source #

View and manage data transfers between users in your organization

Application

data Application Source #

The JSON template for an Application resource.

See: application smart constructor.

Instances

Eq Application Source # 
Data Application Source # 

Methods

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

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

toConstr :: Application -> Constr #

dataTypeOf :: Application -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Application Source # 
Generic Application Source # 

Associated Types

type Rep Application :: * -> * #

ToJSON Application Source # 
FromJSON Application Source # 
type Rep Application Source # 

application :: Application Source #

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

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

aTransferParams :: Lens' Application [ApplicationTransferParam] Source #

The list of all possible transfer parameters for this application. These parameters can be used to select the data of the user in this application to be transfered.

aEtag :: Lens' Application (Maybe Text) Source #

Etag of the resource.

aKind :: Lens' Application Text Source #

Identifies the resource as a DataTransfer Application Resource.

aName :: Lens' Application (Maybe Text) Source #

The application's name.

aId :: Lens' Application (Maybe Int64) Source #

The application's ID.

ApplicationTransferParam

data ApplicationTransferParam Source #

Template for application transfer parameters.

See: applicationTransferParam smart constructor.

Instances

Eq ApplicationTransferParam Source # 
Data ApplicationTransferParam Source # 

Methods

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

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

toConstr :: ApplicationTransferParam -> Constr #

dataTypeOf :: ApplicationTransferParam -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ApplicationTransferParam Source # 
Generic ApplicationTransferParam Source # 
ToJSON ApplicationTransferParam Source # 
FromJSON ApplicationTransferParam Source # 
type Rep ApplicationTransferParam Source # 
type Rep ApplicationTransferParam = D1 (MetaData "ApplicationTransferParam" "Network.Google.DataTransfer.Types.Product" "gogol-admin-datatransfer-0.2.0-7kFLic6fUkR990QWgqZSHS" False) (C1 (MetaCons "ApplicationTransferParam'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_atpValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_atpKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

applicationTransferParam :: ApplicationTransferParam Source #

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

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

atpValue :: Lens' ApplicationTransferParam [Text] Source #

The value of the coressponding transfer parameter. eg: 'PRIVATE' or 'SHARED'

atpKey :: Lens' ApplicationTransferParam (Maybe Text) Source #

The type of the transfer parameter. eg: 'PRIVACY_LEVEL'

ApplicationsListResponse

data ApplicationsListResponse Source #

Template for a collection of Applications.

See: applicationsListResponse smart constructor.

Instances

Eq ApplicationsListResponse Source # 
Data ApplicationsListResponse Source # 

Methods

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

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

toConstr :: ApplicationsListResponse -> Constr #

dataTypeOf :: ApplicationsListResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ApplicationsListResponse Source # 
Generic ApplicationsListResponse Source # 
ToJSON ApplicationsListResponse Source # 
FromJSON ApplicationsListResponse Source # 
type Rep ApplicationsListResponse Source # 
type Rep ApplicationsListResponse = D1 (MetaData "ApplicationsListResponse" "Network.Google.DataTransfer.Types.Product" "gogol-admin-datatransfer-0.2.0-7kFLic6fUkR990QWgqZSHS" False) (C1 (MetaCons "ApplicationsListResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_alrEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_alrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_alrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_alrApplications") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Application]))))))

applicationsListResponse :: ApplicationsListResponse Source #

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

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

alrNextPageToken :: Lens' ApplicationsListResponse (Maybe Text) Source #

Continuation token which will be used to specify next page in list API.

alrKind :: Lens' ApplicationsListResponse Text Source #

Identifies the resource as a collection of Applications.

alrApplications :: Lens' ApplicationsListResponse [Application] Source #

List of applications that support data transfer and are also installed for the customer.

DataTransfer

data DataTransfer Source #

The JSON template for a DataTransfer resource.

See: dataTransfer smart constructor.

Instances

Eq DataTransfer Source # 
Data DataTransfer Source # 

Methods

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

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

toConstr :: DataTransfer -> Constr #

dataTypeOf :: DataTransfer -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DataTransfer Source # 
Generic DataTransfer Source # 

Associated Types

type Rep DataTransfer :: * -> * #

ToJSON DataTransfer Source # 
FromJSON DataTransfer Source # 
type Rep DataTransfer Source # 

dataTransfer :: DataTransfer Source #

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

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

dtEtag :: Lens' DataTransfer (Maybe Text) Source #

ETag of the resource.

dtOldOwnerUserId :: Lens' DataTransfer (Maybe Text) Source #

ID of the user whose data is being transfered.

dtKind :: Lens' DataTransfer Text Source #

Identifies the resource as a DataTransfer request.

dtNewOwnerUserId :: Lens' DataTransfer (Maybe Text) Source #

ID of the user to whom the data is being transfered.

dtRequestTime :: Lens' DataTransfer (Maybe UTCTime) Source #

The time at which the data transfer was requested (Read-only).

dtApplicationDataTransfers :: Lens' DataTransfer [ApplicationDataTransfer] Source #

List of per application data transfer resources. It contains data transfer details of the applications associated with this transfer resource. Note that this list is also used to specify the applications for which data transfer has to be done at the time of the transfer resource creation.

dtId :: Lens' DataTransfer (Maybe Text) Source #

The transfer's ID (Read-only).

dtOverallTransferStatusCode :: Lens' DataTransfer (Maybe Text) Source #

Overall transfer status (Read-only).

DataTransfersListResponse

data DataTransfersListResponse Source #

Template for a collection of DataTransfer resources.

See: dataTransfersListResponse smart constructor.

Instances

Eq DataTransfersListResponse Source # 
Data DataTransfersListResponse Source # 

Methods

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

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

toConstr :: DataTransfersListResponse -> Constr #

dataTypeOf :: DataTransfersListResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DataTransfersListResponse Source # 
Generic DataTransfersListResponse Source # 
ToJSON DataTransfersListResponse Source # 
FromJSON DataTransfersListResponse Source # 
type Rep DataTransfersListResponse Source # 
type Rep DataTransfersListResponse = D1 (MetaData "DataTransfersListResponse" "Network.Google.DataTransfer.Types.Product" "gogol-admin-datatransfer-0.2.0-7kFLic6fUkR990QWgqZSHS" False) (C1 (MetaCons "DataTransfersListResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dtlrEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dtlrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_dtlrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dtlrDataTransfers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [DataTransfer]))))))

dataTransfersListResponse :: DataTransfersListResponse Source #

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

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

dtlrNextPageToken :: Lens' DataTransfersListResponse (Maybe Text) Source #

Continuation token which will be used to specify next page in list API.

dtlrKind :: Lens' DataTransfersListResponse Text Source #

Identifies the resource as a collection of data transfer requests.

ApplicationDataTransfer

data ApplicationDataTransfer Source #

Template to map fields of ApplicationDataTransfer resource.

See: applicationDataTransfer smart constructor.

Instances

Eq ApplicationDataTransfer Source # 
Data ApplicationDataTransfer Source # 

Methods

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

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

toConstr :: ApplicationDataTransfer -> Constr #

dataTypeOf :: ApplicationDataTransfer -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ApplicationDataTransfer Source # 
Generic ApplicationDataTransfer Source # 
ToJSON ApplicationDataTransfer Source # 
FromJSON ApplicationDataTransfer Source # 
type Rep ApplicationDataTransfer Source # 
type Rep ApplicationDataTransfer = D1 (MetaData "ApplicationDataTransfer" "Network.Google.DataTransfer.Types.Product" "gogol-admin-datatransfer-0.2.0-7kFLic6fUkR990QWgqZSHS" False) (C1 (MetaCons "ApplicationDataTransfer'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_adtApplicationTransferParams") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ApplicationTransferParam]))) ((:*:) (S1 (MetaSel (Just Symbol "_adtApplicationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (S1 (MetaSel (Just Symbol "_adtApplicationTransferStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

applicationDataTransfer :: ApplicationDataTransfer Source #

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

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

adtApplicationTransferParams :: Lens' ApplicationDataTransfer [ApplicationTransferParam] Source #

The transfer parameters for the application. These parameters are used to select the data which will get transfered in context of this application.

adtApplicationTransferStatus :: Lens' ApplicationDataTransfer (Maybe Text) Source #

Current status of transfer for this application. (Read-only)