diff --git a/src/Google/Client.php b/src/Google/Client.php index 1f3820c84..224247140 100644 --- a/src/Google/Client.php +++ b/src/Google/Client.php @@ -130,6 +130,7 @@ public function __construct(array $config = array()) // Task Runner retry configuration // @see Google_Task_Runner 'retry' => array(), + 'retry_map' => null, // cache config for downstream auth caching 'cache_config' => [], @@ -795,7 +796,13 @@ public function execute(RequestInterface $request, $expectedClass = null) // this is where most of the grunt work is done $http = $this->authorize(); - return Google_Http_REST::execute($http, $request, $expectedClass, $this->config['retry']); + return Google_Http_REST::execute( + $http, + $request, + $expectedClass, + $this->config['retry'], + $this->config['retry_map'] + ); } /**