Google\Cloud\BigQuery\Job::__construct PHP 메소드

__construct() 공개 메소드

public __construct ( Google\Cloud\BigQuery\Connection\ConnectionInterface $connection, string $id, string $projectId, array $info = [], ValueMapper $mapper = null )
$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 ValueMapper 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;
    }