Verb-object compound, composed of guarda (“to guard (originally)”) + barranca (“canyon, ravine”).
guardabarranca m (plural guardabarrancas)