Google_MetadataColumnsServiceResource

The "columns" collection of methods.

Defined (1)

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

/google-api-php-client/api-code/contrib/Google_AnalyticsService.php  
  1. class Google_MetadataColumnsServiceResource extends Google_ServiceResource { 
  2.  
  3. /** 
  4. * Lists all columns for a report type (columns.list) 
  5. * @param string $reportType Report type. Allowed Values: 'ga'. Where 'ga' corresponds to the Core Reporting API 
  6. * @param array $optParams Optional parameters. 
  7. * @return Google_Columns 
  8. */ 
  9. public function listMetadataColumns($reportType, $optParams = array()) { 
  10. $params = array('reportType' => $reportType); 
  11. $params = array_merge($params, $optParams); 
  12. $data = $this->__call('list', array($params)); 
  13. if ($this->useObjects()) { 
  14. return new Google_Columns($data); 
  15. } else { 
  16. return $data;