def METHOD_NAME(self, interval, timeout=None):
    props = self.client.get_service_properties(timeout=timeout)
    metrics = {}
    if interval == 'both':
        metrics['hour'] = props['hour_metrics']
        metrics['minute'] = props['minute_metrics']
    else:
        metrics[interval] = props['{}_metrics'.format(interval)]
    return metrics