def METHOD_NAME(self, **kw):
    """Wrapper for rbd device unmap.
    Unmap a rbd device.
    Args:
    kw: Key value pair of method arguments
        Example::
            rbd device unmap <image-snap-or-device-spec>
        Supported keys:
            device-type (str): device type [ggate, krbd (default), nbd]
            pool(str): pool name
            namespace(str): namespace name
            image(str): image name
            snap(str): snapshot name
            options(str): device specific options
            image-snap-or-device-spec: [<pool-name>/]<image-name>[@<snap-name>]
                                        or <device-path>
            See rbd help device unmap for more supported keys
    """
    kw_copy = deepcopy(kw)
    image_snap_or_device_spec = kw_copy.pop("image-snap-or-device-spec", "")
    cmd = f"{self.base_cmd} unmap {image_snap_or_device_spec} {build_cmd_from_args(**kw_copy)}"
    return self.execute_as_sudo(cmd=cmd)