public __construct ( Google\Cloud\BigQuery\Connection\ConnectionInterface $connection, string $id, string $projectId, array $info = [], |
||
$connection | Google\Cloud\BigQuery\Connection\ConnectionInterface | Represents a connection to BigQuery. |
$id | string | The job's ID. |
$projectId | string | The project's ID. |
$info | array | [optional] The job's metadata. |
$mapper | Maps values between PHP and BigQuery. |
public function __construct(ConnectionInterface $connection, $id, $projectId, array $info = [], ValueMapper $mapper = null)
{
$this->connection = $connection;
$this->info = $info;
$this->identity = ['jobId' => $id, 'projectId' => $projectId];
$this->mapper = $mapper;
}