'Initializes a Resource.
:param name: The name of the resource, i.e., "volumes".
:param flag: The name of the flag or configuration option
which specifies the default value of the quota
for this resource.
:param parent_project_id: The id of the current project\'s parent,
if any.'

def __init__(self, name, flag=None, parent_project_id=None):

    self.name = name
    self.flag = flag
    self.parent_project_id = parent_project_id
