public final class GoogleAppsCardV1DateTimePicker
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Chat API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GoogleAppsCardV1DateTimePicker() |
| Modifier and Type | Method and Description |
|---|---|
GoogleAppsCardV1DateTimePicker |
clone() |
HostAppDataSourceMarkup |
getHostAppDataSource()
A data source that's unique to a Google Workspace host application, such as Gmail emails,
Google Calendar events, or Google Chat messages.
|
String |
getLabel()
The text that prompts users to input a date, a time, or a date and time.
|
String |
getName()
The name by which the `DateTimePicker` is identified in a form input event.
|
GoogleAppsCardV1Action |
getOnChangeAction()
Triggered when the user clicks **Save** or **Clear** from the `DateTimePicker` interface.
|
Integer |
getTimezoneOffsetDate()
The number representing the time zone offset from UTC, in minutes.
|
String |
getType()
Whether the widget supports inputting a date, a time, or the date and time.
|
Long |
getValueMsEpoch()
The default value displayed in the widget, in milliseconds since [Unix epoch
time](https://en.wikipedia.org/wiki/Unix_time).
|
GoogleAppsCardV1DateTimePicker |
set(String fieldName,
Object value) |
GoogleAppsCardV1DateTimePicker |
setHostAppDataSource(HostAppDataSourceMarkup hostAppDataSource)
A data source that's unique to a Google Workspace host application, such as Gmail emails,
Google Calendar events, or Google Chat messages.
|
GoogleAppsCardV1DateTimePicker |
setLabel(String label)
The text that prompts users to input a date, a time, or a date and time.
|
GoogleAppsCardV1DateTimePicker |
setName(String name)
The name by which the `DateTimePicker` is identified in a form input event.
|
GoogleAppsCardV1DateTimePicker |
setOnChangeAction(GoogleAppsCardV1Action onChangeAction)
Triggered when the user clicks **Save** or **Clear** from the `DateTimePicker` interface.
|
GoogleAppsCardV1DateTimePicker |
setTimezoneOffsetDate(Integer timezoneOffsetDate)
The number representing the time zone offset from UTC, in minutes.
|
GoogleAppsCardV1DateTimePicker |
setType(String type)
Whether the widget supports inputting a date, a time, or the date and time.
|
GoogleAppsCardV1DateTimePicker |
setValueMsEpoch(Long valueMsEpoch)
The default value displayed in the widget, in milliseconds since [Unix epoch
time](https://en.wikipedia.org/wiki/Unix_time).
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic HostAppDataSourceMarkup getHostAppDataSource()
null for nonepublic GoogleAppsCardV1DateTimePicker setHostAppDataSource(HostAppDataSourceMarkup hostAppDataSource)
hostAppDataSource - hostAppDataSource or null for nonepublic String getLabel()
null for nonepublic GoogleAppsCardV1DateTimePicker setLabel(String label)
label - label or null for nonepublic String getName()
null for nonepublic GoogleAppsCardV1DateTimePicker setName(String name)
name - name or null for nonepublic GoogleAppsCardV1Action getOnChangeAction()
null for nonepublic GoogleAppsCardV1DateTimePicker setOnChangeAction(GoogleAppsCardV1Action onChangeAction)
onChangeAction - onChangeAction or null for nonepublic Integer getTimezoneOffsetDate()
null for nonepublic GoogleAppsCardV1DateTimePicker setTimezoneOffsetDate(Integer timezoneOffsetDate)
timezoneOffsetDate - timezoneOffsetDate or null for nonepublic String getType()
null for nonepublic GoogleAppsCardV1DateTimePicker setType(String type)
type - type or null for nonepublic Long getValueMsEpoch()
null for nonepublic GoogleAppsCardV1DateTimePicker setValueMsEpoch(Long valueMsEpoch)
valueMsEpoch - valueMsEpoch or null for nonepublic GoogleAppsCardV1DateTimePicker set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleAppsCardV1DateTimePicker clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.