google.generativeai.types.PartType

This symbol is a type alias.

Source: