def METHOD_NAME(profile: DatastoreProfile) -> str:
    return DatastoreProfile2Json._to_json(
        {
            k: v
            for k, v in profile.dict().items()
            if not str(k) in profile._private_attributes
        }
    )