Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 401 and 402]

(no description)

File Size: 563 lines (15 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 9 classes

Google_Service_DataTransfer:: (1 method):
  __construct()

Google_Service_DataTransfer_Applications_Resource:: (2 methods):
  get()
  listApplications()

Google_Service_DataTransfer_Transfers_Resource:: (3 methods):
  get()
  insert()
  listTransfers()

Google_Service_DataTransfer_Application:: (10 methods):
  setEtag()
  getEtag()
  setId()
  getId()
  setKind()
  getKind()
  setName()
  getName()
  setTransferParams()
  getTransferParams()

Google_Service_DataTransfer_ApplicationDataTransfer:: (6 methods):
  setApplicationId()
  getApplicationId()
  setApplicationTransferParams()
  getApplicationTransferParams()
  setApplicationTransferStatus()
  getApplicationTransferStatus()

Google_Service_DataTransfer_ApplicationTransferParam:: (4 methods):
  setKey()
  getKey()
  setValue()
  getValue()

Google_Service_DataTransfer_ApplicationsListResponse:: (8 methods):
  setApplications()
  getApplications()
  setEtag()
  getEtag()
  setKind()
  getKind()
  setNextPageToken()
  getNextPageToken()

Google_Service_DataTransfer_DataTransfer:: (16 methods):
  setApplicationDataTransfers()
  getApplicationDataTransfers()
  setEtag()
  getEtag()
  setId()
  getId()
  setKind()
  getKind()
  setNewOwnerUserId()
  getNewOwnerUserId()
  setOldOwnerUserId()
  getOldOwnerUserId()
  setOverallTransferStatusCode()
  getOverallTransferStatusCode()
  setRequestTime()
  getRequestTime()

Google_Service_DataTransfer_DataTransfersListResponse:: (8 methods):
  setDataTransfers()
  getDataTransfers()
  setEtag()
  getEtag()
  setKind()
  getKind()
  setNextPageToken()
  getNextPageToken()


Class: Google_Service_DataTransfer  - X-Ref

Service definition for DataTransfer (datatransfer_v1).

<p>
Admin Data Transfer API lets you transfer user data from one user to another.</p>

<p>
For more information about this service, see the API
<a href="https://developers.google.com/admin-sdk/data-transfer/" target="_blank">Documentation</a>
</p>

__construct(Google_Client $client)   X-Ref
Constructs the internal representation of the DataTransfer service.

param: Google_Client $client

Class: Google_Service_DataTransfer_Applications_Resource  - X-Ref

The "applications" collection of methods.
Typical usage is:
<code>
$adminService = new Google_Service_DataTransfer(...);
$applications = $adminService->applications;
</code>

get($applicationId, $optParams = array()   X-Ref
Retrieves information about an application for the given application ID.
(applications.get)

param: string $applicationId ID of the application resource to be retrieved.
param: array $optParams Optional parameters.
return: Google_Service_DataTransfer_Application

listApplications($optParams = array()   X-Ref
Lists the applications available for data transfer for a customer.
(applications.listApplications)

param: array $optParams Optional parameters.
return: Google_Service_DataTransfer_ApplicationsListResponse

Class: Google_Service_DataTransfer_Transfers_Resource  - X-Ref

The "transfers" collection of methods.
Typical usage is:
<code>
$adminService = new Google_Service_DataTransfer(...);
$transfers = $adminService->transfers;
</code>

get($dataTransferId, $optParams = array()   X-Ref
Retrieves a data transfer request by its resource ID. (transfers.get)

param: string $dataTransferId ID of the resource to be retrieved. This is
param: array $optParams Optional parameters.
return: Google_Service_DataTransfer_DataTransfer

insert(Google_Service_DataTransfer_DataTransfer $postBody, $optParams = array()   X-Ref
Inserts a data transfer request. (transfers.insert)

param: Google_DataTransfer $postBody
param: array $optParams Optional parameters.
return: Google_Service_DataTransfer_DataTransfer

listTransfers($optParams = array()   X-Ref
Lists the transfers for a customer by source user, destination user, or
status. (transfers.listTransfers)

param: array $optParams Optional parameters.
return: Google_Service_DataTransfer_DataTransfersListResponse

Class: Google_Service_DataTransfer_Application  - X-Ref

setEtag($etag)   X-Ref
No description

getEtag()   X-Ref
No description

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setName($name)   X-Ref
No description

getName()   X-Ref
No description

setTransferParams($transferParams)   X-Ref
No description

getTransferParams()   X-Ref
No description

Class: Google_Service_DataTransfer_ApplicationTransferParam  - X-Ref

setKey($key)   X-Ref
No description

getKey()   X-Ref
No description

setValue($value)   X-Ref
No description

getValue()   X-Ref
No description

Class: Google_Service_DataTransfer_ApplicationsListResponse  - X-Ref

setApplications($applications)   X-Ref
No description

getApplications()   X-Ref
No description

setEtag($etag)   X-Ref
No description

getEtag()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setNextPageToken($nextPageToken)   X-Ref
No description

getNextPageToken()   X-Ref
No description

Class: Google_Service_DataTransfer_DataTransfer  - X-Ref

setApplicationDataTransfers($applicationDataTransfers)   X-Ref
No description

getApplicationDataTransfers()   X-Ref
No description

setEtag($etag)   X-Ref
No description

getEtag()   X-Ref
No description

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setNewOwnerUserId($newOwnerUserId)   X-Ref
No description

getNewOwnerUserId()   X-Ref
No description

setOldOwnerUserId($oldOwnerUserId)   X-Ref
No description

getOldOwnerUserId()   X-Ref
No description

setOverallTransferStatusCode($overallTransferStatusCode)   X-Ref
No description

getOverallTransferStatusCode()   X-Ref
No description

setRequestTime($requestTime)   X-Ref
No description

getRequestTime()   X-Ref
No description

Class: Google_Service_DataTransfer_DataTransfersListResponse  - X-Ref

setDataTransfers($dataTransfers)   X-Ref
No description

getDataTransfers()   X-Ref
No description

setEtag($etag)   X-Ref
No description

getEtag()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setNextPageToken($nextPageToken)   X-Ref
No description

getNextPageToken()   X-Ref
No description