Where is PrimitiveType?

I want to do:

from UnityEngine import GameObject
cube = GameObject.CreatePrimitive(PrimitiveType.Cube)

in Python!

However there is something i am missing:

from ? import PrimitiveType

In which module can i actually find PrimitiveType.Cube ?

PrimitiveType is defined in UnityEngine.