Google_Service_Admin

Service definition for Admin (email_migration_v2).

Defined (1)

The class is defined in the following location(s).

/lib/Google/Service/Admin.php  
  1. class Google_Service_Admin extends Google_Service 
  2. /** Manage email messages of users on your domain. */ 
  3. const EMAIL_MIGRATION = "https://www.googleapis.com/auth/email.migration"; 
  4.  
  5. public $mail; 
  6.  
  7.  
  8. /** 
  9. * Constructs the internal representation of the Admin service. 
  10. * @param Google_Client $client 
  11. */ 
  12. public function __construct(Google_Client $client) 
  13. parent::__construct($client); 
  14. $this->servicePath = 'email/v2/users/'; 
  15. $this->version = 'email_migration_v2'; 
  16. $this->serviceName = 'admin'; 
  17.  
  18. $this->mail = new Google_Service_Admin_Mail_Resource( 
  19. $this,  
  20. $this->serviceName,  
  21. 'mail',  
  22. array( 
  23. 'methods' => array( 
  24. 'insert' => array( 
  25. 'path' => '{userKey}/mail',  
  26. 'httpMethod' => 'POST',  
  27. 'parameters' => array( 
  28. 'userKey' => array( 
  29. 'location' => 'path',  
  30. 'type' => 'string',  
  31. 'required' => true,  
  32. ),  
  33. ),  
  34. ),  
  35. );