Package apps.extensions.markup
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
ChatClientDataSourceMarkup
다중 선택 메뉴를 사용하는 SelectionInput
위젯의 경우 Google Chat의 데이터 소스입니다. 데이터 소스는 다중 선택 메뉴의 선택 항목을 채웁니다. 예를 들어 사용자가 자신이 참여 중인 Google Chat 스페이스를 선택할 수 있습니다.
Google Chat 앱에서 사용할 수 있으며 Google Workspace 부가기능에서는 사용할 수 없습니다.
필드 |
통합 필드 source . Google Chat 데이터 소스 source 은 다음 중 하나여야 합니다. |
space_data_source |
SpaceDataSource
사용자가 참여 중인 Google Chat 스페이스입니다.
|
SpaceDataSource
Google Chat 스페이스를 다중 선택 메뉴의 선택 항목으로 채우는 데이터 소스입니다. 사용자가 구성원으로 있는 스페이스만 채웁니다.
Google Chat 앱에서 사용할 수 있으며 Google Workspace 부가기능에서는 사용할 수 없습니다.
필드 |
default_to_current_space |
bool
true 로 설정하면 다중 선택 메뉴에서 기본적으로 현재 Google Chat 스페이스를 항목으로 선택합니다.
|
HostAppDataSourceMarkup
다중 선택 메뉴를 사용하는 SelectionInput
위젯의 경우 Google Workspace 애플리케이션의 데이터 소스입니다. 데이터 소스는 다중 선택 메뉴의 선택 항목을 채웁니다.
Google Chat 앱에서 사용할 수 있으며 Google Workspace 부가기능에서는 사용할 수 없습니다.
필드 |
통합 필드 data_source . 다중 선택 메뉴의 항목을 채우는 Google Workspace 애플리케이션입니다. data_source 은 다음 중 하나여야 합니다. |
chat_data_source |
ChatClientDataSourceMarkup
Google Chat의 데이터 소스입니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 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. |"]]