'Refresh the usage records for a particular project and user
on a list of resources.  This will force usage records to be
sync\'d immediately to the actual usage.
This method will raise a QuotaUsageRefreshNotAllowed exception if a
usage refresh is not allowed on a resource for the given project
or user.
:param context: The request context, for access checks.
:param project_id: Optional:  Project whose resources to
refresh.  If not set, then the project_id
is taken from the context.
:param user_id: Optional: User whose resources to refresh.
If not set, then the user_id is taken from the
context.
:param resources_names: Optional: A list of the resource names
for which the usage must be refreshed.
If not specified, then all the usages
for the project and user will be refreshed.'

def usage_refresh(self, context, project_id=None, user_id=None, resource_names=None):

    self._driver.usage_refresh(context, self._resources, project_id, user_id, resource_names)
