<?php $userDefinedOptions = ['configuration' => ['load' => ['writeDisposition' => 'WRITE_TRUNCATE']]]; $projectId = 'my_project'; $name = 'load'; $config = [ 'destinationTable' => [ 'tableId' => 'my_table', 'datasetId' => 'data', 'proejctId' => 'gbq_project', ] ]; $result = [ 'projectId' => $projectId, 'configuration' => [ $name => $config ] ] + $userDefinedOptions; print_r($result);
You have javascript disabled. You will not be able to edit any code.