There are a few ways to do this.
Selective plating of a non conducting material is usually not kept to tight tolerance (dimensionally). The coating thickness is controlled relatively well. A flash of electroless nickel in the 25-50 microinch range and flash of gold in the 25-75 microinch range...