Yes, unfortunately ruby-libvirt doesn't define them in a constants module for easy use.  At least, none that I could find.