Google Chat V1 API - Class Google::Apps::Card::V1::Suggestions (v0.5.1)

Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Card::V1::Suggestions.

Suggested values that users can enter. These values appear when users click inside the text input field. As users type, the suggested values dynamically filter to match what the users have typed.

For example, a text input field for programming language might suggest Java, JavaScript, Python, and C++. When users start typing Jav, the list of suggestions filters to show Java and JavaScript.

Suggested values help guide users to enter values that your app can make sense of. When referring to JavaScript, some users might enter javascript and others java script. Suggesting JavaScript can standardize how users interact with your app.

When specified, TextInput.type is always SINGLE_LINE, even if it's set to MULTIPLE_LINE.

Google Workspace Add-ons and Chat apps:

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#items

def items() -> ::Array<::Google::Apps::Card::V1::Suggestions::SuggestionItem>
Returns

#items=

def items=(value) -> ::Array<::Google::Apps::Card::V1::Suggestions::SuggestionItem>
Parameter
Returns