I'm currently designing a self-powered PCB with a STM32L432KCU6 and USB. After having done some research, it seems that it is necessary to connect the VBUS pin for detection purposes. However, is it also needed if I want not to use the detection feature? I would prefer establishing the USB connection by clicking on a button instead of automatically establishing it when VBUS is sensed.
I'm sorry if this is a trivial question, but I don't have much experience with USB so far.

simulate this circuit – Schematic created using CircuitLab
Isn't the host always listening so that when enabling the pull-up on the data line via a button press it could detect the device?
– Hermetica Sep 15 '19 at 09:32