I want to update an existing table I have in BigQuery with a single new row.
I found an example how this could be done if I have that json in a file in Google Cloud Storage:
$confLoad->setSourceUris(array(
"gs://json_file_bucket/some_name.json"
));
$conf = new \Google_JobConfiguration;
$conf->setLoad($confLoad);
$job->setConfiguration($conf);
$service = new \Google_BigQueryService($this->client);
$running = $service->jobs->insert($this->projectId, $job);
But I don't understand how this can be achieved without an external json file.