Google_Service_Admin

Service definition for Admin (email_migration_v2).

Defined (1)

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

/vendor/google/apiclient/src/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 = 
  4. "https://www.googleapis.com/auth/email.migration"; 
  5.  
  6. public $mail; 
  7.  
  8.  
  9. /** 
  10. * Constructs the internal representation of the Admin service. 
  11. * @param Google_Client $client 
  12. */ 
  13. public function __construct(Google_Client $client) 
  14. parent::__construct($client); 
  15. $this->rootUrl = 'https://www.googleapis.com/'; 
  16. $this->servicePath = 'email/v2/users/'; 
  17. $this->version = 'email_migration_v2'; 
  18. $this->serviceName = 'admin'; 
  19.  
  20. $this->mail = new Google_Service_Admin_Mail_Resource( 
  21. $this,  
  22. $this->serviceName,  
  23. 'mail',  
  24. array( 
  25. 'methods' => array( 
  26. 'insert' => array( 
  27. 'path' => '{userKey}/mail',  
  28. 'httpMethod' => 'POST',  
  29. 'parameters' => array( 
  30. 'userKey' => array( 
  31. 'location' => 'path',  
  32. 'type' => 'string',  
  33. 'required' => true,  
  34. ),  
  35. ),  
  36. ),  
  37. );