I could be wrong but my first approach was to see what it seems to be used in, from the photograph it seems to be part of a snubber network which means it has to be a fast recovery diode. Your voltage measurement told me it was a Schottky diode, normal silicon diodes have higher Vf, typically 0.7V.
From there I searched through my data sheets for diodes in that package and found one with the G10 marking. I keep a fairly large list of data sheets here and add to it each time I use a new component. Currently I have 8,048 data sheets in my collection! One day, if I ever have time, I will index them all by device type, manufacturer, package and SMD code but it's a massive job and has to be done by hand.
Brian.