Google_Service_Gmail_Users_Resource

The "users" collection of methods.

Defined (1)

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

/includes/api-libs/Google/Service/Gmail.php  
  1. class Google_Service_Gmail_Users_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Gets the current user's Gmail profile. (users.getProfile) 
  5. * @param string $userId The user's email address. The special value me can be 
  6. * used to indicate the authenticated user. 
  7. * @param array $optParams Optional parameters. 
  8. * @return Google_Service_Gmail_Profile 
  9. */ 
  10. public function getProfile($userId, $optParams = array()) 
  11. $params = array('userId' => $userId); 
  12. $params = array_merge($params, $optParams); 
  13. return $this->call('getProfile', array($params), "Google_Service_Gmail_Profile");