Google_Service_Bigquery_Tabledata_Resource

The "tabledata" collection of methods.

Defined (1)

The class is defined in the following location(s).

/lib/Google/Service/Bigquery.php  
  1. class Google_Service_Bigquery_Tabledata_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Inserts the supplied rows into the table. (tabledata.insertAll) 
  5. * @param string $projectId 
  6. * Project ID of the destination table. 
  7. * @param string $datasetId 
  8. * Dataset ID of the destination table. 
  9. * @param string $tableId 
  10. * Table ID of the destination table. 
  11. * @param Google_TableDataInsertAllRequest $postBody 
  12. * @param array $optParams Optional parameters. 
  13. * @return Google_Service_Bigquery_TableDataInsertAllResponse 
  14. */ 
  15. public function insertAll($projectId, $datasetId, $tableId, Google_Service_Bigquery_TableDataInsertAllRequest $postBody, $optParams = array()) 
  16. $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId, 'postBody' => $postBody); 
  17. $params = array_merge($params, $optParams); 
  18. return $this->call('insertAll', array($params), "Google_Service_Bigquery_TableDataInsertAllResponse"); 
  19. /** 
  20. * Retrieves table data from a specified set of rows. (tabledata.listTabledata) 
  21. * @param string $projectId 
  22. * Project ID of the table to read 
  23. * @param string $datasetId 
  24. * Dataset ID of the table to read 
  25. * @param string $tableId 
  26. * Table ID of the table to read 
  27. * @param array $optParams Optional parameters. 
  28. * @opt_param string maxResults 
  29. * Maximum number of results to return 
  30. * @opt_param string pageToken 
  31. * Page token, returned by a previous call, identifying the result set 
  32. * @opt_param string startIndex 
  33. * Zero-based index of the starting row to read 
  34. * @return Google_Service_Bigquery_TableDataList 
  35. */ 
  36. public function listTabledata($projectId, $datasetId, $tableId, $optParams = array()) 
  37. $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId); 
  38. $params = array_merge($params, $optParams); 
  39. return $this->call('list', array($params), "Google_Service_Bigquery_TableDataList");