gogol-admin-datatransfer-0.3.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 #

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"] #

View data transfers between users in your organization

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

View and manage data transfers between users in your organization

Application

data Application #

The JSON template for an Application resource.

See: application smart constructor.

Instances

Eq Application # 
Data Application # 

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 # 
Generic Application # 

Associated Types

type Rep Application :: * -> * #

ToJSON Application # 
FromJSON Application # 
type Rep Application # 

application :: Application #

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] #

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) #

Etag of the resource.

aKind :: Lens' Application Text #

Identifies the resource as a DataTransfer Application Resource.

aName :: Lens' Application (Maybe Text) #

The application's name.

aId :: Lens' Application (Maybe Int64) #

The application's ID.

ApplicationTransferParam

data ApplicationTransferParam #

Template for application transfer parameters.

See: applicationTransferParam smart constructor.

Instances

Eq ApplicationTransferParam # 
Data ApplicationTransferParam # 

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 # 
Generic ApplicationTransferParam # 
ToJSON ApplicationTransferParam # 
FromJSON ApplicationTransferParam # 
type Rep ApplicationTransferParam # 
type Rep ApplicationTransferParam = D1 (MetaData "ApplicationTransferParam" "Network.Google.DataTransfer.Types.Product" "gogol-admin-datatransfer-0.3.0-3DcjWqgP6M62tz2bIhfvAP" 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 #

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] #

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

atpKey :: Lens' ApplicationTransferParam (Maybe Text) #

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

ApplicationsListResponse

data ApplicationsListResponse #

Template for a collection of Applications.

See: applicationsListResponse smart constructor.

Instances

Eq ApplicationsListResponse # 
Data ApplicationsListResponse # 

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 # 
Generic ApplicationsListResponse # 
ToJSON ApplicationsListResponse # 
FromJSON ApplicationsListResponse # 
type Rep ApplicationsListResponse # 
type Rep ApplicationsListResponse = D1 (MetaData "ApplicationsListResponse" "Network.Google.DataTransfer.Types.Product" "gogol-admin-datatransfer-0.3.0-3DcjWqgP6M62tz2bIhfvAP" 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 #

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:

alrEtag :: Lens' ApplicationsListResponse (Maybe Text) #

ETag of the resource.

alrNextPageToken :: Lens' ApplicationsListResponse (Maybe Text) #

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

alrKind :: Lens' ApplicationsListResponse Text #

Identifies the resource as a collection of Applications.

alrApplications :: Lens' ApplicationsListResponse [Application] #

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

DataTransfer

data DataTransfer #

The JSON template for a DataTransfer resource.

See: dataTransfer smart constructor.

Instances

Eq DataTransfer # 
Data DataTransfer # 

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 # 
Generic DataTransfer # 

Associated Types

type Rep DataTransfer :: * -> * #

ToJSON DataTransfer # 
FromJSON DataTransfer # 
type Rep DataTransfer # 

dataTransfer :: DataTransfer #

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) #

ETag of the resource.

dtOldOwnerUserId :: Lens' DataTransfer (Maybe Text) #

ID of the user whose data is being transfered.

dtKind :: Lens' DataTransfer Text #

Identifies the resource as a DataTransfer request.

dtNewOwnerUserId :: Lens' DataTransfer (Maybe Text) #

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

dtRequestTime :: Lens' DataTransfer (Maybe UTCTime) #

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

dtApplicationDataTransfers :: Lens' DataTransfer [ApplicationDataTransfer] #

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) #

The transfer's ID (Read-only).

dtOverallTransferStatusCode :: Lens' DataTransfer (Maybe Text) #

Overall transfer status (Read-only).

DataTransfersListResponse

data DataTransfersListResponse #

Template for a collection of DataTransfer resources.

See: dataTransfersListResponse smart constructor.

Instances

Eq DataTransfersListResponse # 
Data DataTransfersListResponse # 

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 # 
Generic DataTransfersListResponse # 
ToJSON DataTransfersListResponse # 
FromJSON DataTransfersListResponse # 
type Rep DataTransfersListResponse # 
type Rep DataTransfersListResponse = D1 (MetaData "DataTransfersListResponse" "Network.Google.DataTransfer.Types.Product" "gogol-admin-datatransfer-0.3.0-3DcjWqgP6M62tz2bIhfvAP" 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 #

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) #

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

dtlrKind :: Lens' DataTransfersListResponse Text #

Identifies the resource as a collection of data transfer requests.

dtlrDataTransfers :: Lens' DataTransfersListResponse [DataTransfer] #

List of data transfer requests.

ApplicationDataTransfer

data ApplicationDataTransfer #

Template to map fields of ApplicationDataTransfer resource.

See: applicationDataTransfer smart constructor.

Instances

Eq ApplicationDataTransfer # 
Data ApplicationDataTransfer # 

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 # 
Generic ApplicationDataTransfer # 
ToJSON ApplicationDataTransfer # 
FromJSON ApplicationDataTransfer # 
type Rep ApplicationDataTransfer # 
type Rep ApplicationDataTransfer = D1 (MetaData "ApplicationDataTransfer" "Network.Google.DataTransfer.Types.Product" "gogol-admin-datatransfer-0.3.0-3DcjWqgP6M62tz2bIhfvAP" 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 #

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] #

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) #

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