public function listUsersSettingsDelegates($userId, $optParams = array())
  {
    $params = array('userId' => $userId);
    $params = array_merge($params, $optParams);
    return $this->call('list', array($params), "Google_Service_Gmail_ListDelegatesResponse");
  }
public function listUsersSettingsDelegates($userId, $optParams = array())
  {
    $params = array('userId' => $userId);
    $params = array_merge($params, $optParams);
    return $this->call('list', array($params), "Google_Service_Gmail_ListDelegatesResponse");
  }
public function listUsersSettingsDelegates ( $ userId , $ optParams = array ( ) ) { $ params = array ( 'userId' => $ userId ) ; $ params = array_merge ( $ params , $ optParams ) ; return $ this -> call ( 'list' , array ( $ params ) , "Google_Service_Gmail_ListDelegatesResponse" ) ; }
Lists the delegates for the specified account.

This method is only available to service account clients that have been
delegated domain-wide authority. (delegates.listUsersSettingsDelegates)

@param string $userId User's email address. The special value "me" can be
used to indicate the authenticated user.
@param array $optParams Optional parameters.
@return Google_Service_Gmail_ListDelegatesResponse
Lists the delegates for the specified account .