Google\Cloud\BigQuery\Dataset::__construct PHP Method

__construct() public method

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 dataset's ID.
$projectId string The project's ID.
$info array [optional] The dataset's metadata.
    public function __construct(ConnectionInterface $connection, $id, $projectId, array $info = [])
    {
        $this->connection = $connection;
        $this->info = $info;
        $this->identity = ['datasetId' => $id, 'projectId' => $projectId];
    }