public final class GoogleAppsCardV1SelectionInput
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 |
|---|
GoogleAppsCardV1SelectionInput() |
| Modifier and Type | Method and Description |
|---|---|
GoogleAppsCardV1SelectionInput |
clone() |
List<GoogleAppsCardV1DataSourceConfig> |
getDataSourceConfigs()
Optional.
|
GoogleAppsCardV1Action |
getExternalDataSource()
An external data source, such as a relational database.
|
String |
getHintText()
Optional.
|
List<GoogleAppsCardV1SelectionItem> |
getItems()
An array of selectable items.
|
String |
getLabel()
The text that appears above the selection input field in the user interface.
|
Integer |
getMultiSelectMaxSelectedItems()
For multiselect menus, the maximum number of items that a user can select.
|
Integer |
getMultiSelectMinQueryLength()
For multiselect menus, the number of text characters that a user inputs before the menu returns
suggested selection items.
|
String |
getName()
Required.
|
GoogleAppsCardV1Action |
getOnChangeAction()
If specified, the form is submitted when the selection changes.
|
GoogleAppsCardV1PlatformDataSource |
getPlatformDataSource()
A data source from Google Workspace.
|
String |
getType()
The type of items that are displayed to users in a `SelectionInput` widget.
|
GoogleAppsCardV1SelectionInput |
set(String fieldName,
Object value) |
GoogleAppsCardV1SelectionInput |
setDataSourceConfigs(List<GoogleAppsCardV1DataSourceConfig> dataSourceConfigs)
Optional.
|
GoogleAppsCardV1SelectionInput |
setExternalDataSource(GoogleAppsCardV1Action externalDataSource)
An external data source, such as a relational database.
|
GoogleAppsCardV1SelectionInput |
setHintText(String hintText)
Optional.
|
GoogleAppsCardV1SelectionInput |
setItems(List<GoogleAppsCardV1SelectionItem> items)
An array of selectable items.
|
GoogleAppsCardV1SelectionInput |
setLabel(String label)
The text that appears above the selection input field in the user interface.
|
GoogleAppsCardV1SelectionInput |
setMultiSelectMaxSelectedItems(Integer multiSelectMaxSelectedItems)
For multiselect menus, the maximum number of items that a user can select.
|
GoogleAppsCardV1SelectionInput |
setMultiSelectMinQueryLength(Integer multiSelectMinQueryLength)
For multiselect menus, the number of text characters that a user inputs before the menu returns
suggested selection items.
|
GoogleAppsCardV1SelectionInput |
setName(String name)
Required.
|
GoogleAppsCardV1SelectionInput |
setOnChangeAction(GoogleAppsCardV1Action onChangeAction)
If specified, the form is submitted when the selection changes.
|
GoogleAppsCardV1SelectionInput |
setPlatformDataSource(GoogleAppsCardV1PlatformDataSource platformDataSource)
A data source from Google Workspace.
|
GoogleAppsCardV1SelectionInput |
setType(String type)
The type of items that are displayed to users in a `SelectionInput` widget.
|
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 List<GoogleAppsCardV1DataSourceConfig> getDataSourceConfigs()
null for nonepublic GoogleAppsCardV1SelectionInput setDataSourceConfigs(List<GoogleAppsCardV1DataSourceConfig> dataSourceConfigs)
dataSourceConfigs - dataSourceConfigs or null for nonepublic GoogleAppsCardV1Action getExternalDataSource()
null for nonepublic GoogleAppsCardV1SelectionInput setExternalDataSource(GoogleAppsCardV1Action externalDataSource)
externalDataSource - externalDataSource or null for nonepublic String getHintText()
null for nonepublic GoogleAppsCardV1SelectionInput setHintText(String hintText)
hintText - hintText or null for nonepublic List<GoogleAppsCardV1SelectionItem> getItems()
null for nonepublic GoogleAppsCardV1SelectionInput setItems(List<GoogleAppsCardV1SelectionItem> items)
items - items or null for nonepublic String getLabel()
null for nonepublic GoogleAppsCardV1SelectionInput setLabel(String label)
label - label or null for nonepublic Integer getMultiSelectMaxSelectedItems()
null for nonepublic GoogleAppsCardV1SelectionInput setMultiSelectMaxSelectedItems(Integer multiSelectMaxSelectedItems)
multiSelectMaxSelectedItems - multiSelectMaxSelectedItems or null for nonepublic Integer getMultiSelectMinQueryLength()
null for nonepublic GoogleAppsCardV1SelectionInput setMultiSelectMinQueryLength(Integer multiSelectMinQueryLength)
multiSelectMinQueryLength - multiSelectMinQueryLength or null for nonepublic String getName()
null for nonepublic GoogleAppsCardV1SelectionInput setName(String name)
name - name or null for nonepublic GoogleAppsCardV1Action getOnChangeAction()
null for nonepublic GoogleAppsCardV1SelectionInput setOnChangeAction(GoogleAppsCardV1Action onChangeAction)
onChangeAction - onChangeAction or null for nonepublic GoogleAppsCardV1PlatformDataSource getPlatformDataSource()
null for nonepublic GoogleAppsCardV1SelectionInput setPlatformDataSource(GoogleAppsCardV1PlatformDataSource platformDataSource)
platformDataSource - platformDataSource or null for nonepublic String getType()
null for nonepublic GoogleAppsCardV1SelectionInput setType(String type)
type - type or null for nonepublic GoogleAppsCardV1SelectionInput set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleAppsCardV1SelectionInput clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.