@SiteTour360 is right, you need a camera that can record a GSV video. It is a special format video where every frame has location data in it. Simple 360 video recording won't work at all for blue lines.
Then you can use tools provided by the camera manufacturer(or 3rd party) to upload it to Google for processing. The cheapest one will be Insta360 OneX but if you can invest in Pilot One EE you will get much better resolution.
When you submit your video to Google you do it without specifying any place or street name, you simply upload it, google finds where it has been taken based on location data in each frame, strip frames from it and publish them as a blue line.
Keep in mind that your blue line most likely to be a second choice to the one created by Google. To see it maps users need to access publishing timeline on Google Maps(top left corner) and switch to yours. By default Google will always shows their own no matter how outdated it is.
I could make my blue line default on my street and every time I open maps there I can see mine by default. However it can act as default on my PC only as my personal choice and everybody else is shown the one created by Google 11 years ago.
Stay away from Theta V/Z1 if you want to use it to capture any street view under their app. They have bugs in the app and it screws up location data a lot. If you are going to use them with Google Street View app it locationd data should be ok.
DSLR obviously won't work for blue lines.