def get_all_roles(self, view = None):
    """
    Get all roles in the service.

    @param view: View to materialize ('full' or 'summary')
    @return: A list of ApiRole objects.
    """
    return roles.get_all_roles(self._get_resource_root(), self.name,
        self._get_cluster_name(), view)
def get_all_roles ( self , view = None ) : return roles . get_all_roles ( self . _get_resource_root ( ) , self . name , self . _get_cluster_name ( ) , view )
Get all roles in the service.

    @param view: View to materialize ('full' or 'summary')
    @return: A list of ApiRole objects.