That's an LED. Silk screen identifier is D1 and I see an anode bonding wire and a cathode marker. In the assembled product, there should be a light pipe or window so the LED can show some kind of status.
EDIT: If you place your meter in diode mode, you should see a drop of 2-3V with the negative probe lead on the cathode pad.