Google Apps Chat V1 Client - Class DateTimePickerType (0.1.3)

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

The format for the date and time in the DateTimePicker widget.

Determines whether users can input a date, a time, or both a date and time. Google Workspace Add-ons and Chat apps:

Protobuf type google.apps.card.v1.DateTimePicker.DateTimePickerType

Namespace

Google \ Apps \ Card \ V1 \ DateTimePicker

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

DATE_AND_TIME

Value: 0

Users input a date and time.

Generated from protobuf enum DATE_AND_TIME = 0;

DATE_ONLY

Value: 1

Users input a date.

Generated from protobuf enum DATE_ONLY = 1;

TIME_ONLY

Value: 2

Users input a time.

Generated from protobuf enum TIME_ONLY = 2;