* Transfers user data from one user to another.

* *

* For more information about this service, see the API * Documentation *

* * @author Google, Inc. */ class Google_Service_DataTransfer extends Google_Service { /** View and manage data transfers between users in your organization. */ const ADMIN_DATATRANSFER = "https://www.googleapis.com/auth/admin.datatransfer"; /** View data transfers between users in your organization. */ const ADMIN_DATATRANSFER_READONLY = "https://www.googleapis.com/auth/admin.datatransfer.readonly"; public $applications; public $transfers; /** * Constructs the internal representation of the DataTransfer service. * * @param Google_Client $client */ public function __construct(Google_Client $client) { parent::__construct($client); $this->rootUrl = 'https://www.googleapis.com/'; $this->servicePath = 'admin/datatransfer/v1/'; $this->batchPath = 'batch/admin/datatransfer_v1'; $this->version = 'datatransfer_v1'; $this->serviceName = 'admin'; $this->applications = new Google_Service_DataTransfer_Resource_Applications( $this, $this->serviceName, 'applications', array( 'methods' => array( 'get' => array( 'path' => 'applications/{applicationId}', 'httpMethod' => 'GET', 'parameters' => array( 'applicationId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'applications', 'httpMethod' => 'GET', 'parameters' => array( 'customerId' => array( 'location' => 'query', 'type' => 'string', ), 'maxResults' => array( 'location' => 'query', 'type' => 'integer', ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); $this->transfers = new Google_Service_DataTransfer_Resource_Transfers( $this, $this->serviceName, 'transfers', array( 'methods' => array( 'get' => array( 'path' => 'transfers/{dataTransferId}', 'httpMethod' => 'GET', 'parameters' => array( 'dataTransferId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'insert' => array( 'path' => 'transfers', 'httpMethod' => 'POST', 'parameters' => array(), ),'list' => array( 'path' => 'transfers', 'httpMethod' => 'GET', 'parameters' => array( 'customerId' => array( 'location' => 'query', 'type' => 'string', ), 'maxResults' => array( 'location' => 'query', 'type' => 'integer', ), 'newOwnerUserId' => array( 'location' => 'query', 'type' => 'string', ), 'oldOwnerUserId' => array( 'location' => 'query', 'type' => 'string', ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), 'status' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); } }