Package apps.extensions.markup
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
ChatClientDataSourceMarkup
Für ein SelectionInput
-Widget mit einem Mehrfachauswahlmenü eine Datenquelle aus Google Chat. Die Datenquelle füllt die Auswahlelemente für das Mehrfachauswahlmenü. Ein Nutzer kann beispielsweise Google Chat-Gruppenbereiche auswählen, in denen er Mitglied ist.
Verfügbar für Google Chat-Apps, nicht für Google Workspace-Add-ons.
Felder |
Union-Feld source . Die Google Chat-Datenquelle. Für source ist nur einer der folgenden Werte zulässig: |
space_data_source |
SpaceDataSource
Google Chat-Gruppenbereiche, in denen der Nutzer Mitglied ist.
|
SpaceDataSource
Eine Datenquelle, die Google Chat-Gruppenbereiche als Auswahlelemente für ein Mehrfachauswahlmenü enthält. Es werden nur Gruppenbereiche angezeigt, in denen der Nutzer Mitglied ist.
Verfügbar für Google Chat-Apps, nicht für Google Workspace-Add-ons.
Felder |
default_to_current_space |
bool
Wenn Sie true festlegen, wird im Menü für die Mehrfachauswahl standardmäßig der aktuelle Google Chat-Bereich ausgewählt.
|
HostAppDataSourceMarkup
Für ein SelectionInput
-Widget mit einem Mehrfachauswahlmenü eine Datenquelle aus einer Google Workspace-Anwendung. Die Datenquelle füllt die Auswahlelemente für das Mehrfachauswahlmenü.
Verfügbar für Google Chat-Apps, nicht für Google Workspace-Add-ons.
Felder |
Union-Feld data_source . Die Google Workspace-Anwendung, die Elemente für ein Mehrfachauswahlmenü einfügt. Für data_source ist nur einer der folgenden Werte zulässig: |
chat_data_source |
ChatClientDataSourceMarkup
Eine Datenquelle aus Google Chat.
|
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-25 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-25 (UTC)."],[],[],null,["# Package apps.extensions.markup\n\nIndex\n-----\n\n- [ChatClientDataSourceMarkup](/workspace/chat/api/reference/rpc/apps.extensions.markup#apps.extensions.markup.ChatClientDataSourceMarkup) (message)\n- [ChatClientDataSourceMarkup.SpaceDataSource](/workspace/chat/api/reference/rpc/apps.extensions.markup#apps.extensions.markup.ChatClientDataSourceMarkup.SpaceDataSource) (message)\n- [HostAppDataSourceMarkup](/workspace/chat/api/reference/rpc/apps.extensions.markup#apps.extensions.markup.HostAppDataSourceMarkup) (message)\n\nChatClientDataSourceMarkup\n--------------------------\n\nFor a [`SelectionInput`](/workspace/chat/api/reference/rpc/google.apps.card.v1#google.apps.card.v1.SelectionInput) 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.\n\nAvailable for Google Chat apps and unavailable for Google Workspace add-ons.\n\n| Fields ||\n|---------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Union field `source`. The Google Chat data source. `source` can be only one of the following: ||\n| `space_data_source` | [SpaceDataSource](/workspace/chat/api/reference/rpc/apps.extensions.markup#apps.extensions.markup.ChatClientDataSourceMarkup.SpaceDataSource) Google Chat spaces that the user is a member of. |\n\nSpaceDataSource\n---------------\n\nA data source that populates Google Chat spaces as selection items for a multiselect menu. Only populates spaces that the user is a member of.\n\nAvailable for Google Chat apps and unavailable for Google Workspace add-ons.\n\n| Fields ||\n|----------------------------|------------------------------------------------------------------------------------------------------------|\n| `default_to_current_space` | `bool` If set to `true`, the multiselect menu selects the current Google Chat space as an item by default. |\n\nHostAppDataSourceMarkup\n-----------------------\n\nFor a [`SelectionInput`](/workspace/chat/api/reference/rpc/google.apps.card.v1#google.apps.card.v1.SelectionInput) widget that uses a multiselect menu, a data source from a Google Workspace application. The data source populates selection items for the multiselect menu.\n\nAvailable for Google Chat apps and unavailable for Google Workspace add-ons.\n\n| Fields ||\n|--------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Union field `data_source`. The Google Workspace application that populates items for a multiselect menu. `data_source` can be only one of the following: ||\n| `chat_data_source` | [ChatClientDataSourceMarkup](/workspace/chat/api/reference/rpc/apps.extensions.markup#apps.extensions.markup.ChatClientDataSourceMarkup) A data source from Google Chat. |"]]