Greetings!
We’re here to assist by providing the information you need for this Samsung dryer model.
You should use a 1/2-inch gas pipe to bring gas to your dryer, but when you connect it to the dryer, you'll need to shrink the pipe down to 3/8 inch. Also, there must be a shutoff valve (a valve to turn the gas off) placed within 6 inches of the dryer, and it has to be easy to access and approved for safety.
I have shared this model's user manual (link) below. Please visit the link and turn to page 18 for the gas requirements.
https://downloadcenter.samsung.com/content/UM/202401/20240129150303040/DC68-03381W-04_IB_DV6000_EN_231006.pdf
Should you have additional questions, please feel free to get back to us via the following options:
1. Facebook Messenger: http://m.me/samsungsupport
2. Twitter: https://twitter.com/messages/compose?recipient_id=18768513
3. Samsung Community: https://us.community.samsung.com/t5/Samsung-Community/ct-p/us
When you message us, please provide us with this reference number 1148146784 to help our team pull up your information.
Leo