diff --git a/generation_config.yaml b/generation_config.yaml index 259d83d81a..7c3cd58508 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,4 +1,4 @@ -googleapis_commitish: 6406df78515540a6a7d64b3dba19190766467455 +googleapis_commitish: 7a5706618f42f482acf583febcc7b977b66c25b2 # the libraries are ordered with respect to library name, which is # java-{library.library_name} or java-{library.api-shortname} when # library.library_name is not defined. diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Chip.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Chip.java index 023a3239e4..3af6b846b9 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Chip.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Chip.java @@ -245,7 +245,7 @@ public com.google.apps.card.v1.OnClickOrBuilder getOnClickOrBuilder() { * bool enabled = 4 [deprecated = true]; * * @deprecated google.apps.card.v1.Chip.enabled is deprecated. See - * google/apps/card/v1/card.proto;l=2425 + * google/apps/card/v1/card.proto;l=2445 * @return The enabled. */ @java.lang.Override @@ -1310,7 +1310,7 @@ public com.google.apps.card.v1.OnClickOrBuilder getOnClickOrBuilder() { * bool enabled = 4 [deprecated = true]; * * @deprecated google.apps.card.v1.Chip.enabled is deprecated. See - * google/apps/card/v1/card.proto;l=2425 + * google/apps/card/v1/card.proto;l=2445 * @return The enabled. */ @java.lang.Override @@ -1331,7 +1331,7 @@ public boolean getEnabled() { * bool enabled = 4 [deprecated = true]; * * @deprecated google.apps.card.v1.Chip.enabled is deprecated. See - * google/apps/card/v1/card.proto;l=2425 + * google/apps/card/v1/card.proto;l=2445 * @param value The enabled to set. * @return This builder for chaining. */ @@ -1356,7 +1356,7 @@ public Builder setEnabled(boolean value) { * bool enabled = 4 [deprecated = true]; * * @deprecated google.apps.card.v1.Chip.enabled is deprecated. See - * google/apps/card/v1/card.proto;l=2425 + * google/apps/card/v1/card.proto;l=2445 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ChipOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ChipOrBuilder.java index f561464f25..5cbd76948b 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ChipOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ChipOrBuilder.java @@ -144,7 +144,7 @@ public interface ChipOrBuilder * bool enabled = 4 [deprecated = true]; * * @deprecated google.apps.card.v1.Chip.enabled is deprecated. See - * google/apps/card/v1/card.proto;l=2425 + * google/apps/card/v1/card.proto;l=2445 * @return The enabled. */ @java.lang.Deprecated diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/SelectionInput.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/SelectionInput.java index 64761baf43..0a988c386a 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/SelectionInput.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/SelectionInput.java @@ -143,6 +143,26 @@ public enum SelectionType implements com.google.protobuf.ProtocolMessageEnum { * *
      * A dropdown menu. Users can select one item from the menu.
+     *
+     * For Google Chat apps, you can populate items using a dynamic data source
+     * and autosuggest items as users type in the menu. For example, users can
+     * start typing the name of a Google Chat space and the widget autosuggests
+     * the space. To dynamically populate items for a dropdown menu, use one of
+     * the following types of data sources:
+     *
+     * * Google Workspace data: Items are populated using data from Google
+     * Workspace, such as Google Workspace users or Google Chat spaces.
+     * * External data: Items are populated from an external data
+     * source outside of Google Workspace.
+     *
+     * For examples of how to implement dropdown menus for Chat apps, see
+     * [Add a dropdown
+     * menu](https://developers.google.com/workspace/chat/design-interactive-card-dialog#dropdown-menu)
+     * and [Dynamically populate drop-down
+     * menus](https://developers.google.com/workspace/chat/design-interactive-card-dialog#dynamic-dropdown-menu).
+     *
+     * [Google Workspace add-ons and Chat
+     * apps](https://developers.google.com/workspace/extend):
      * 
* * DROPDOWN = 3; @@ -229,6 +249,26 @@ public enum SelectionType implements com.google.protobuf.ProtocolMessageEnum { * *
      * A dropdown menu. Users can select one item from the menu.
+     *
+     * For Google Chat apps, you can populate items using a dynamic data source
+     * and autosuggest items as users type in the menu. For example, users can
+     * start typing the name of a Google Chat space and the widget autosuggests
+     * the space. To dynamically populate items for a dropdown menu, use one of
+     * the following types of data sources:
+     *
+     * * Google Workspace data: Items are populated using data from Google
+     * Workspace, such as Google Workspace users or Google Chat spaces.
+     * * External data: Items are populated from an external data
+     * source outside of Google Workspace.
+     *
+     * For examples of how to implement dropdown menus for Chat apps, see
+     * [Add a dropdown
+     * menu](https://developers.google.com/workspace/chat/design-interactive-card-dialog#dropdown-menu)
+     * and [Dynamically populate drop-down
+     * menus](https://developers.google.com/workspace/chat/design-interactive-card-dialog#dynamic-dropdown-menu).
+     *
+     * [Google Workspace add-ons and Chat
+     * apps](https://developers.google.com/workspace/extend):
      * 
* * DROPDOWN = 3; diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/apps/card/v1/card.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/apps/card/v1/card.proto index f70c68c291..c6f659256c 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/apps/card/v1/card.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/apps/card/v1/card.proto @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -1197,6 +1197,26 @@ message SelectionInput { SWITCH = 2; // A dropdown menu. Users can select one item from the menu. + // + // For Google Chat apps, you can populate items using a dynamic data source + // and autosuggest items as users type in the menu. For example, users can + // start typing the name of a Google Chat space and the widget autosuggests + // the space. To dynamically populate items for a dropdown menu, use one of + // the following types of data sources: + // + // * Google Workspace data: Items are populated using data from Google + // Workspace, such as Google Workspace users or Google Chat spaces. + // * External data: Items are populated from an external data + // source outside of Google Workspace. + // + // For examples of how to implement dropdown menus for Chat apps, see + // [Add a dropdown + // menu](https://developers.google.com/workspace/chat/design-interactive-card-dialog#dropdown-menu) + // and [Dynamically populate drop-down + // menus](https://developers.google.com/workspace/chat/design-interactive-card-dialog#dynamic-dropdown-menu). + // + // [Google Workspace add-ons and Chat + // apps](https://developers.google.com/workspace/extend): DROPDOWN = 3; // A menu with a text box. Users can type and select one or more items.