Class EnumType (3.0.0)

EnumType(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Attribute

NameDescription
allowed_values Sequence[.tags.FieldType.EnumType.EnumValue]
Required on create; optional on update. The set of allowed values for this enum. This set must not be empty, the display names of the values in this set must not be empty and the display names of the values must be case- insensitively unique within this set. Currently, enum values can only be added to the list of allowed values. Deletion and renaming of enum values are not supported. Can have up to 500 allowed values.

Classes

EnumValue

EnumValue(mapping=None, *, ignore_unknown_fields=False, **kwargs)