Google_MetadataColumnsServiceResource
The "columns" collection of methods.
Defined (1)
The class is defined in the following location(s).
- /src/contrib/Google_AnalyticsService.php
- class Google_MetadataColumnsServiceResource extends Google_ServiceResource {
- /**
- * Lists all columns for a report type (columns.list)
- *
- * @param string $reportType Report type. Allowed Values: 'ga'. Where 'ga' corresponds to the Core Reporting API
- * @param array $optParams Optional parameters.
- * @return Google_Columns
- */
- public function listMetadataColumns($reportType, $optParams = array()) {
- $params = array('reportType' => $reportType);
- $params = array_merge($params, $optParams);
- $data = $this->__call('list', array($params));
- if ($this->useObjects()) {
- return new Google_Columns($data);
- } else {
- return $data;
- }
- }
- }