BigQuery/src/JobConfigurationTrait.php
public function jobConfigurationProperties(
        $projectId,
        array $config,
        $location
    ) {
        $this->config = array_replace_recursive([
            'projectId' => $projectId,
            'jobReference' => ['projectId' => $projectId]
        ], $config);

        if ($location && !isset($this->config['jobReference']['location'])) {
            $this->config['jobReference']['location'] = $location;
        }

        if (!isset($this->config['jobReference']['jobId'])) {
            $this->config['jobReference']['jobId'] = $this->generateJobId();
        }
    }
public function jobConfigurationProperties(
        $projectId,
        array $config,
        $location
    ) {
        $this->config = array_replace_recursive([
            'projectId' => $projectId,
            'jobReference' => ['projectId' => $projectId]
        ], $config);

        if ($location && !isset($this->config['jobReference']['location'])) {
            $this->config['jobReference']['location'] = $location;
        }

        if (!isset($this->config['jobReference']['jobId'])) {
            $this->config['jobReference']['jobId'] = $this->generateJobId();
        }
    }
public function jobConfigurationProperties ( $ projectId , array $ config , $ location ) { $ this -> config = array_replace_recursive ( [ 'projectId' => $ projectId , 'jobReference' => [ 'projectId' => $ projectId ] ] , $ config ) ; if ( $ location && ! isset ( $ this -> config [ 'jobReference' ] [ 'location' ] ) ) { $ this -> config [ 'jobReference' ] [ 'location' ] = $ location ; } if ( ! isset ( $ this -> config [ 'jobReference' ] [ 'jobId' ] ) ) { $ this -> config [ 'jobReference' ] [ 'jobId' ] = $ this -> generateJobId ( ) ; } }
Sets shared job configuration properties.

@access private
@param string $projectId The project's ID.
@param array $config A set of configuration options for a job.
@param string|null $location The geographic location in which the job is
executed.
Sets shared job configuration properties .