RasterLayerExportClass will only create a .png with a single value transparency, however there is a bug in Google earth which prevents this from working.
The other export options don't support transparency at all? (jpg, tiff)
I do notice that the 3D analyst toolbox performs this correctly with the "Layer to KML" function, this I have no source for.