BigQuery/src/Table.php
public function runJob(JobConfigurationInterface $config, array $options = [])
    {
        $maxRetries = $this->pluck('maxRetries', $options, false);
        $job = $this->startJob($config, $options);
        $job->waitUntilComplete(['maxRetries' => $maxRetries]);

        return $job;
    }
public function runJob(JobConfigurationInterface $config, array $options = [])
    {
        $maxRetries = $this->pluck('maxRetries', $options, false);
        $job = $this->startJob($config, $options);
        $job->waitUntilComplete(['maxRetries' => $maxRetries]);

        return $job;
    }
public function runJob ( JobConfigurationInterface $ config , array $ options = [ ] ) { $ maxRetries = $ this -> pluck ( 'maxRetries' , $ options , false ) ; $ job = $ this -> startJob ( $ config , $ options ) ; $ job -> waitUntilComplete ( [ 'maxRetries' => $ maxRetries ] ) ; return $ job ; }
Starts a job in an synchronous fashion, waiting for the job to complete
before returning.

Example:
```
$job = $table->runJob($jobConfig);
echo $job->isComplete(); // true
```

@see https://cloud.google.com/bigquery/docs/reference/v2/jobs Jobs insert API Documentation.

@param JobConfigurationInterface $config The job configuration.
@param array $options [optional] {
Configuration options.

@type int $maxRetries The number of times to retry, checking if the
job has completed. **Defaults to** `100`.
}
@return Job
Starts a job in an synchronous fashion waiting for the job to complete before returning .