Hi there and thanks for your question.
This is the bulbourethral gland. When you see the bumps it means your dog is having an erection. It is more common in an unneutered male, but can happen in a neutered male as well.
They should go back down to normal within a few minutes.
Hope this helps!
You're quite welcome! It's definitely nothing to be worried about. :)