execute()
execute(\Google_Client $client, \Psr\Http\Message\RequestInterface $request, $expectedClass = null, $config = array(), $retryMap = null) : array
Executes a Psr\Http\Message\RequestInterface and (if applicable) automatically retries when errors occur.
Parameters
\Google_Client | $client | |
\Psr\Http\Message\RequestInterface | $request | |
$expectedClass | ||
$config | ||
$retryMap |
Throws
- \Google_Service_Exception
on server side error (ie: not authenticated, invalid or malformed post body, invalid url)
Returns
array —decoded result