def list_datasets(self, get_global_public):
return self.resources.list_datasets(get_global_public)<EOL>
Lists datasets in resources. Setting 'get_global_public' to 'True'
will retrieve all public datasets in cloud. 'False' will get user's
public datasets.

Arguments:
    get_global_public (bool): True if user wants all public datasets in
                              cloud. False if user wants only their
                              public datasets.

Returns:
    dict: Returns datasets in JSON format