public static function doExecute(Google_Client $client, Google_Http_Request $req)
  {
    $httpRequest = $client->getIo()->makeRequest($req);
    $httpRequest->setExpectedClass($req->getExpectedClass());
    return self::decodeHttpResponse($httpRequest, $client);
  }
public static function doExecute(Google_Client $client, Google_Http_Request $req)
  {
    $httpRequest = $client->getIo()->makeRequest($req);
    $httpRequest->setExpectedClass($req->getExpectedClass());
    return self::decodeHttpResponse($httpRequest, $client);
  }
public static function doExecute ( Google_Client $ client , Google_Http_Request $ req ) { $ httpRequest = $ client -> getIo ( ) -> makeRequest ( $ req ) ; $ httpRequest -> setExpectedClass ( $ req -> getExpectedClass ( ) ) ; return self :: decodeHttpResponse ( $ httpRequest , $ client ) ; }
Executes a Google_Http_Request

@param Google_Client $client
@param Google_Http_Request $req
@return array decoded result
@throws Google_Service_Exception on server side error (ie: not authenticated,
invalid or malformed post body, invalid url)
Executes a Google_Http_Request