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
The inputs with widgets.
Instance Attribute Summary collapse
-
#date_input ⇒ Google::Apis::ChatV1::DateInput
Input Parameter for Date Picker widget.
-
#date_time_input ⇒ Google::Apis::ChatV1::DateTimeInput
Input Parameter for Date and Time Picker widget.
-
#string_inputs ⇒ Google::Apis::ChatV1::StringInputs
Input parameter for regular widgets.
-
#time_input ⇒ Google::Apis::ChatV1::TimeInput
Input Parameter for Time Picker widget.
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.
2182 2183 2184 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2182 def initialize(**args) update!(**args) end |
Instance Attribute Details
#date_input ⇒ Google::Apis::ChatV1::DateInput
Input Parameter for Date Picker widget.
Corresponds to the JSON property dateInput
2163 2164 2165 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2163 def date_input @date_input end |
#date_time_input ⇒ Google::Apis::ChatV1::DateTimeInput
Input Parameter for Date and Time Picker widget.
Corresponds to the JSON property dateTimeInput
2168 2169 2170 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2168 def date_time_input @date_time_input end |
#string_inputs ⇒ Google::Apis::ChatV1::StringInputs
Input parameter for regular widgets. For single-valued widgets, it will be a
single value list; for multi-valued widgets, such as checkbox, all the values
are presented.
Corresponds to the JSON property stringInputs
2175 2176 2177 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2175 def string_inputs @string_inputs end |
#time_input ⇒ Google::Apis::ChatV1::TimeInput
Input Parameter for Time Picker widget.
Corresponds to the JSON property timeInput
2180 2181 2182 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2180 def time_input @time_input end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2187 2188 2189 2190 2191 2192 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2187 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 |