Superconductivity of gallium in various confined geometries