Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- dataTransferService :: ServiceConfig
- adminDataTransferReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/admin.datatransfer.readonly"]
- adminDataTransferScope :: Proxy '["https://www.googleapis.com/auth/admin.datatransfer"]
- data Application
- application :: Application
- aTransferParams :: Lens' Application [ApplicationTransferParam]
- aEtag :: Lens' Application (Maybe Text)
- aKind :: Lens' Application Text
- aName :: Lens' Application (Maybe Text)
- aId :: Lens' Application (Maybe Int64)
- data ApplicationTransferParam
- applicationTransferParam :: ApplicationTransferParam
- atpValue :: Lens' ApplicationTransferParam [Text]
- atpKey :: Lens' ApplicationTransferParam (Maybe Text)
- data ApplicationsListResponse
- applicationsListResponse :: ApplicationsListResponse
- alrEtag :: Lens' ApplicationsListResponse (Maybe Text)
- alrNextPageToken :: Lens' ApplicationsListResponse (Maybe Text)
- alrKind :: Lens' ApplicationsListResponse Text
- alrApplications :: Lens' ApplicationsListResponse [Application]
- data DataTransfer
- dataTransfer :: DataTransfer
- dtEtag :: Lens' DataTransfer (Maybe Text)
- dtOldOwnerUserId :: Lens' DataTransfer (Maybe Text)
- dtKind :: Lens' DataTransfer Text
- dtNewOwnerUserId :: Lens' DataTransfer (Maybe Text)
- dtRequestTime :: Lens' DataTransfer (Maybe UTCTime)
- dtApplicationDataTransfers :: Lens' DataTransfer [ApplicationDataTransfer]
- dtId :: Lens' DataTransfer (Maybe Text)
- dtOverallTransferStatusCode :: Lens' DataTransfer (Maybe Text)
- data DataTransfersListResponse
- dataTransfersListResponse :: DataTransfersListResponse
- dtlrEtag :: Lens' DataTransfersListResponse (Maybe Text)
- dtlrNextPageToken :: Lens' DataTransfersListResponse (Maybe Text)
- dtlrKind :: Lens' DataTransfersListResponse Text
- dtlrDataTransfers :: Lens' DataTransfersListResponse [DataTransfer]
- data ApplicationDataTransfer
- applicationDataTransfer :: ApplicationDataTransfer
- adtApplicationTransferParams :: Lens' ApplicationDataTransfer [ApplicationTransferParam]
- adtApplicationId :: Lens' ApplicationDataTransfer (Maybe Int64)
- adtApplicationTransferStatus :: Lens' ApplicationDataTransfer (Maybe Text)
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
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.
aKind :: Lens' Application Text Source #
Identifies the resource as a DataTransfer Application Resource.
ApplicationTransferParam
data ApplicationTransferParam Source #
Template for application transfer parameters.
See: applicationTransferParam
smart constructor.
Instances
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
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
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:
dtOldOwnerUserId :: Lens' DataTransfer (Maybe Text) Source #
ID of the user whose data is being transfered.
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.
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
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.
dtlrDataTransfers :: Lens' DataTransfersListResponse [DataTransfer] Source #
List of data transfer requests.
ApplicationDataTransfer
data ApplicationDataTransfer Source #
Template to map fields of ApplicationDataTransfer resource.
See: applicationDataTransfer
smart constructor.
Instances
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.
adtApplicationId :: Lens' ApplicationDataTransfer (Maybe Int64) Source #
The application's ID.
adtApplicationTransferStatus :: Lens' ApplicationDataTransfer (Maybe Text) Source #
Current status of transfer for this application. (Read-only)