Class: Google::Apis::ChatV1::Inputs
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::Inputs
- 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
Types of data inputs for widgets. Users enter data with these inputs.
Instance Attribute Summary collapse
-
#date_input ⇒ Google::Apis::ChatV1::DateInput
Date input values.
-
#date_time_input ⇒ Google::Apis::ChatV1::DateTimeInput
Date and time input values.
-
#string_inputs ⇒ Google::Apis::ChatV1::StringInputs
Input parameter for regular widgets.
-
#time_input ⇒ Google::Apis::ChatV1::TimeInput
Time input values.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Inputs
constructor
A new instance of Inputs.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Inputs
Returns a new instance of Inputs.
2326 2327 2328 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2326 def initialize(**args) update!(**args) end |
Instance Attribute Details
#date_input ⇒ Google::Apis::ChatV1::DateInput
Date input values. Not supported by Chat apps.
Corresponds to the JSON property dateInput
2307 2308 2309 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2307 def date_input @date_input end |
#date_time_input ⇒ Google::Apis::ChatV1::DateTimeInput
Date and time input values. Not supported by Chat apps.
Corresponds to the JSON property dateTimeInput
2312 2313 2314 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2312 def date_time_input @date_time_input end |
#string_inputs ⇒ Google::Apis::ChatV1::StringInputs
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.
Corresponds to the JSON property stringInputs
2319 2320 2321 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2319 def string_inputs @string_inputs end |
#time_input ⇒ Google::Apis::ChatV1::TimeInput
Time input values. Not supported by Chat apps.
Corresponds to the JSON property timeInput
2324 2325 2326 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2324 def time_input @time_input end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2331 2332 2333 2334 2335 2336 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2331 def update!(**args) @date_input = args[:date_input] if args.key?(:date_input) @date_time_input = args[:date_time_input] if args.key?(:date_time_input) @string_inputs = args[:string_inputs] if args.key?(:string_inputs) @time_input = args[:time_input] if args.key?(:time_input) end |