On doping Ge metal with a little of In or Ga, one gets
p-type semi conductor
insulator
rectifier
n-type semi conductor