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 \ DateTimePickerMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
DATE_AND_TIME
Value: 0Users input a date and time.
Generated from protobuf enum DATE_AND_TIME = 0;
DATE_ONLY
Value: 1Users input a date.
Generated from protobuf enum DATE_ONLY = 1;
TIME_ONLY
Value: 2Users input a time.
Generated from protobuf enum TIME_ONLY = 2;