Eric Swalwell has suspended his campaign for governor of California amid allegations of sexual assault.