public function updateLanguage($userId, Google_Service_Gmail_LanguageSettings $postBody, $optParams = array())
  {
    $params = array('userId' => $userId, 'postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('updateLanguage', array($params), "Google_Service_Gmail_LanguageSettings");
  }
public function updateLanguage($userId, Google_Service_Gmail_LanguageSettings $postBody, $optParams = array())
  {
    $params = array('userId' => $userId, 'postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('updateLanguage', array($params), "Google_Service_Gmail_LanguageSettings");
  }
public function updateLanguage ( $ userId , Google_Service_Gmail_LanguageSettings $ postBody , $ optParams = array ( ) ) { $ params = array ( 'userId' => $ userId , 'postBody' => $ postBody ) ; $ params = array_merge ( $ params , $ optParams ) ; return $ this -> call ( 'updateLanguage' , array ( $ params ) , "Google_Service_Gmail_LanguageSettings" ) ; }
Updates language settings.

If successful, the return object contains the displayLanguage that was saved
for the user, which may differ from the value passed into the request. This
is because the requested displayLanguage may not be directly supported by
Gmail but have a close variant that is, and so the variant may be chosen and
saved instead. (settings.updateLanguage)

@param string $userId User's email address. The special value "me" can be
used to indicate the authenticated user.
@param Google_Service_Gmail_LanguageSettings $postBody
@param array $optParams Optional parameters.
@return Google_Service_Gmail_LanguageSettings
Updates language settings .