class Google::Apis::ChatV1::GoogleAppsCardV1SuggestionItem

A suggestion item. Only supports text for now.

Attributes

text[RW]

Corresponds to the JSON property `text` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/chat_v1/classes.rb, line 1846
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/chat_v1/classes.rb, line 1851
def update!(**args)
  @text = args[:text] if args.key?(:text)
end