There are a lot of useful Gmail features hidden just under the surface that you could go years without noticing.
To make a Spotify playlist public or hidden, you just need to open its three-dot menu on desktop or mobile.