Index
ChatClientDataSourceMarkup(message)ChatClientDataSourceMarkup.SpaceDataSource(message)HostAppDataSourceMarkup(message)WorkflowDataSourceMarkup(message)WorkflowDataSourceMarkup.Type(enum)
ChatClientDataSourceMarkup
For a widget that uses a multiselect menu, a data source from Google Chat. The data source populates selection items for the multiselect menu. For example, a user can select Google Chat spaces that they're a member of.SelectionInput
Available for Google Chat apps and unavailable for Google Workspace add-ons.
| Fields | |
|---|---|
Union field source. The Google Chat data source. source can be only one of the following: |
|
space_data_source |
Google Chat spaces that the user is a member of. |
SpaceDataSource
A data source that populates Google Chat spaces as selection items for a multiselect menu. Only populates spaces that the user is a member of.
Available for Google Chat apps and unavailable for Google Workspace add-ons.
| Fields | |
|---|---|
default_to_current_space |
If set to |
HostAppDataSourceMarkup
A data source from a Google Workspace application. The data source populates available items for a widget.
| Fields | |
|---|---|
Union field data_source. The Google Workspace application that populates available items for a widget. data_source can be only one of the following: |
|
chat_data_source |
A data source from Google Chat. |
workflow_data_source |
A data source from Google Workflow. |
WorkflowDataSourceMarkup
* Only supported by Google Workspace Workflow, but not Google Chat apps or Google Workspace add-ons.
In a or TextInput widget with MULTI_SELECT type or a SelectionInput, provide data source from Google.DateTimePicker
| Fields | |
|---|---|
include_variables |
Whether to include variables from the previous step in the data source. |
type |
The type of data source. |
Type
An enum that represents the type of the workflow data source.
| Enums | |
|---|---|
UNKNOWN |
Default value. Don't use. |
USER |
Google Workspace users. The user can only view and select users from their Google Workspace organization. |
SPACE |
Google Chat spaces that the user is a member of. |
USER_WITH_FREE_FORM |
Users can choose to view and select existing members from their Google Workspace organization or manually enter an email address or a valid domain. |