class documentation

class ViewType(Enum): (source)

View In Hierarchy

Undocumented

Constant CHECKBOX Display the Boolean input as a checkbox.
Constant SWITCH Display the Boolean input as a toggle switch.
Constant VIEW_TYPE_UNSPECIFIED No form control type specified. Specify CHECKBOX or SWITCH.

Inherited from Enum:

Class Method get_descriptor Return the protobuf EnumDescriptor for this enum.
Constant __PB2_DESCRIPTOR__ Alias for code that expects a protobuf descriptor.
Constant __PROTO_DESCRIPTOR__ Enum descriptor from the registry.
Constant __REGISTRY__ Registry for the enum and its descriptor.
Class Variable __PROTO_FULL_NAME__ Fully qualified protobuf enum name.
Class Method _missing_ Represent unknown open-enum numbers without losing their value.
CHECKBOX: ellipsis = (source)

Display the Boolean input as a checkbox.

Value
...
SWITCH: ellipsis = (source)

Display the Boolean input as a toggle switch.

Value
...
VIEW_TYPE_UNSPECIFIED: ellipsis = (source)

No form control type specified. Specify CHECKBOX or SWITCH.

Value
...