resistor/diode in parking break wiring

Which is it, a resistor or a diode?