Class: Google::Apis::ChatV1::StringInputs
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::StringInputs
- 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
-
#value ⇒ Array<String>
An list of strings entered by the user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StringInputs
constructor
A new instance of StringInputs.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StringInputs
Returns a new instance of StringInputs.
5162 5163 5164 |
# File 'lib/google/apis/chat_v1/classes.rb', line 5162 def initialize(**args) update!(**args) end |
Instance Attribute Details
#value ⇒ Array<String>
An list of strings entered by the user.
Corresponds to the JSON property value
5160 5161 5162 |
# File 'lib/google/apis/chat_v1/classes.rb', line 5160 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5167 5168 5169 |
# File 'lib/google/apis/chat_v1/classes.rb', line 5167 def update!(**args) @value = args[:value] if args.key?(:value) end |