'Build a view of an API resource.
:param context: the neutron context
:param data: the object for which a view is being created
:param fields_to_strip: attributes to remove from the view
:returns: a view of the object which includes only attributes
visible according to API resource declaration and authZ policies.'

def _view(self, context, data, fields_to_strip=None):

    fields_to_strip = ((fields_to_strip or []) + self._exclude_attributes_by_policy(context, data))
    return self._filter_attributes(data, fields_to_strip)
