Class: Google::Apis::ChatV1::StringInputs

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/chat_v1/classes.rb,
lib/google/apis/chat_v1/representations.rb,
lib/google/apis/chat_v1/representations.rb

Overview

Input parameter for regular widgets. For single-valued widgets, it is a single value list. For multi-valued widgets, such as checkbox, all the values are presented.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StringInputs

Returns a new instance of StringInputs.



5044
5045
5046
# File 'lib/google/apis/chat_v1/classes.rb', line 5044

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#valueArray<String>

An list of strings entered by the user. Corresponds to the JSON property value

Returns:

  • (Array<String>)


5042
5043
5044
# File 'lib/google/apis/chat_v1/classes.rb', line 5042

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5049
5050
5051
# File 'lib/google/apis/chat_v1/classes.rb', line 5049

def update!(**args)
  @value = args[:value] if args.key?(:value)
end