Skip to content

Commit 2ca9449

Browse files
Google APIscopybara-github
authored andcommitted
docs: update reference documentation for SelectionInput.DROPDOWN to include dynamic data sources and autosuggestion
docs: update copyright to 2026 PiperOrigin-RevId: 864941572
1 parent ca1432f commit 2ca9449

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

google/apps/card/v1/card.proto

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2025 Google LLC
1+
// Copyright 2026 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -1197,6 +1197,26 @@ message SelectionInput {
11971197
SWITCH = 2;
11981198

11991199
// A dropdown menu. Users can select one item from the menu.
1200+
//
1201+
// For Google Chat apps, you can populate items using a dynamic data source
1202+
// and autosuggest items as users type in the menu. For example, users can
1203+
// start typing the name of a Google Chat space and the widget autosuggests
1204+
// the space. To dynamically populate items for a dropdown menu, use one of
1205+
// the following types of data sources:
1206+
//
1207+
// * Google Workspace data: Items are populated using data from Google
1208+
// Workspace, such as Google Workspace users or Google Chat spaces.
1209+
// * External data: Items are populated from an external data
1210+
// source outside of Google Workspace.
1211+
//
1212+
// For examples of how to implement dropdown menus for Chat apps, see
1213+
// [Add a dropdown
1214+
// menu](https://developers.google.com/workspace/chat/design-interactive-card-dialog#dropdown-menu)
1215+
// and [Dynamically populate drop-down
1216+
// menus](https://developers.google.com/workspace/chat/design-interactive-card-dialog#dynamic-dropdown-menu).
1217+
//
1218+
// [Google Workspace add-ons and Chat
1219+
// apps](https://developers.google.com/workspace/extend):
12001220
DROPDOWN = 3;
12011221

12021222
// A menu with a text box. Users can type and select one or more items.

0 commit comments

Comments
 (0)