diff --git a/minio/minioadmin.py b/minio/minioadmin.py index 75bc7f561..8da638a79 100644 --- a/minio/minioadmin.py +++ b/minio/minioadmin.py @@ -708,6 +708,14 @@ def bucket_quota_get(self, bucket: str) -> str: ) return response.data.decode() + def get_data_usage_info(self): + """Get data usage info""" + response = self._url_open( + "GET", + _COMMAND.DATA_USAGE_INFO, + ) + return response.data.decode() + def get_service_account(self, access_key: str) -> str: """Get information about service account""" response = self._url_open(