def get(self, bucket: str, key: str) -> bytes:
        """
        Retrieves the data for a given object in a given bucket.
        :param bucket: the bucket the object resides in.
        :param key: the key of the object for which metadata is being
        retrieved.
        :return: the data
        """
        bucket_obj = self._ensure_bucket_loaded(bucket)
        blob_obj = bucket_obj.blob(key)

        try:
            return blob_obj.download_as_string()
        except NotFound:
            raise BlobNotFoundError(f"Could not find gs://{bucket}/{key}")