public function updateAutoForwarding($userId, Google_Service_Gmail_AutoForwarding $postBody, $optParams = array())
  {
    $params = array('userId' => $userId, 'postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('updateAutoForwarding', array($params), "Google_Service_Gmail_AutoForwarding");
  }
public function updateAutoForwarding($userId, Google_Service_Gmail_AutoForwarding $postBody, $optParams = array())
  {
    $params = array('userId' => $userId, 'postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('updateAutoForwarding', array($params), "Google_Service_Gmail_AutoForwarding");
  }
public function updateAutoForwarding ( $ userId , Google_Service_Gmail_AutoForwarding $ postBody , $ optParams = array ( ) ) { $ params = array ( 'userId' => $ userId , 'postBody' => $ postBody ) ; $ params = array_merge ( $ params , $ optParams ) ; return $ this -> call ( 'updateAutoForwarding' , array ( $ params ) , "Google_Service_Gmail_AutoForwarding" ) ; }
Updates the auto-forwarding setting for the specified account. A verified
forwarding address must be specified when auto-forwarding is enabled.

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

@param string $userId User's email address. The special value "me" can be
used to indicate the authenticated user.
@param Google_Service_Gmail_AutoForwarding $postBody
@param array $optParams Optional parameters.
@return Google_Service_Gmail_AutoForwarding
Updates the auto - forwarding setting for the specified account . A verified forwarding address must be specified when auto - forwarding is enabled .