This will be above ground. City inspector said he thought copper piping used for gas outdoors has to be protected from impact, but he wasn't 100% sure. It sounds like black pipe is the way to go. I just don't like working with black pipe because it is so hard to figure out the right order to tighten up everything.
I will probably end up hiring a plumber or HVAC person to take care of the black pipe. Should I use a union at the generator? I have read not to use unions with gas because they can be almost impossible to get to not leak.
The unions that I used to be able to get had a brass insert that would make a perfect seal every time, so no leaks. When I worked in a shop that plumbed fuel oil trucks, we used to use Rector Seal #5 on all threads, and would paint the mating surfaces of the unions prior to tightening. It would lubricate the metal sealing surfaces, so the hexes could be tightened properly. We had to make sure that there were no leaks. There is nothing wrong with having unions, if they are properly installed.
One thing to check, is if you have old steel natural gas lines, is to check them periodically for pinhole leaks. At work, we had a rooftop HVAC unit, and during the fall, occasionally we would smell natural gas. Called the gas company, and they couldn't find it, but with all natural gas "smell" calls, the fire department would also respond. The fire department started checking with their meters, and found the source was a "rusted and pinholed" pipe on the roof. The fire department then told the management of the shopping center that all the exposed rusted steel piping to all the units on the roof had to be replaced. The building and pipes were about 20 - 25 years old.