BigQuery/src/Table.php
public function startJob(JobConfigurationInterface $config, array $options = [])
    {
        $response = null;
        $config = $config->toArray() + $options;

        if (isset($config['data'])) {
            $response = $this->connection->insertJobUpload($config)->upload();
        } else {
            $response = $this->connection->insertJob($config);
        }

        return new Job(
            $this->connection,
            $config['jobReference']['jobId'],
            $this->identity['projectId'],
            $this->mapper,
            $response
        );
    }
public function startJob(JobConfigurationInterface $config, array $options = [])
    {
        $response = null;
        $config = $config->toArray() + $options;

        if (isset($config['data'])) {
            $response = $this->connection->insertJobUpload($config)->upload();
        } else {
            $response = $this->connection->insertJob($config);
        }

        return new Job(
            $this->connection,
            $config['jobReference']['jobId'],
            $this->identity['projectId'],
            $this->mapper,
            $response
        );
    }
public function startJob ( JobConfigurationInterface $ config , array $ options = [ ] ) { $ response = null ; $ config = $ config -> toArray ( ) + $ options ; if ( isset ( $ config [ 'data' ] ) ) { $ response = $ this -> connection -> insertJobUpload ( $ config ) -> upload ( ) ; } else { $ response = $ this -> connection -> insertJob ( $ config ) ; } return new Job ( $ this -> connection , $ config [ 'jobReference' ] [ 'jobId' ] , $ this -> identity [ 'projectId' ] , $ this -> mapper , $ response ) ; }
Starts a job in an asynchronous fashion. In this case, it will be
required to manually trigger a call to wait for job completion.

Example:
```
$job = $table->startJob($jobConfig);
```

@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.
@return Job
Starts a job in an asynchronous fashion . In this case it will be required to manually trigger a call to wait for job completion .