'Returns the list of volume types.'

def index(self, req):

    limited_types = self._get_volume_types(req)
    req.cache_resource(limited_types, name='types')
    return self._view_builder.index(req, limited_types)
