Google Apps Chat V1 Client - Class ControlType (0.1.3)

Reference documentation and code samples for the Google Apps Chat V1 Client class ControlType.

How the switch appears in the user interface.

Google Workspace Add-ons and Chat apps:

Protobuf type google.apps.card.v1.DecoratedText.SwitchControl.ControlType

Namespace

Google \ Apps \ Card \ V1 \ DecoratedText \ SwitchControl

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

PBSWITCH

Value: 0

A toggle-style switch.

Generated from protobuf enum SWITCH = 0;

CHECKBOX

Value: 1

Deprecated in favor of CHECK_BOX.

Generated from protobuf enum CHECKBOX = 1;

CHECK_BOX

Value: 2

A checkbox.

Generated from protobuf enum CHECK_BOX = 2;