src/Google/AdsApi/AdManager/Util/v201805/Pql.php
public static function getColumnLabels(ResultSet $resultSet)
    {
        $columnLabels = [];
        foreach ($resultSet->getColumnTypes() as $columnType) {
            $columnLabels[] = $columnType->getLabelName();
        }

        return $columnLabels;
    }
public static function getColumnLabels(ResultSet $resultSet)
    {
        $columnLabels = [];
        foreach ($resultSet->getColumnTypes() as $columnType) {
            $columnLabels[] = $columnType->getLabelName();
        }

        return $columnLabels;
    }
public static function getColumnLabels ( ResultSet $ resultSet ) { $ columnLabels = [ ] ; foreach ( $ resultSet -> getColumnTypes ( ) as $ columnType ) { $ columnLabels [ ] = $ columnType -> getLabelName ( ) ; } return $ columnLabels ; }
Gets the column labels for the result set.

@param ResultSet $resultSet the result set to get the column labels for
@return string[] the string list of column labels
Gets the column labels for the result set .