Class: Google::Apis::ChatV1::GoogleAppsCardV1FooterWidget
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::GoogleAppsCardV1FooterWidget
- 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 CardFixedFooter can contain a list of these widgets.
Instance Attribute Summary collapse
-
#button_list ⇒ Google::Apis::ChatV1::GoogleAppsCardV1ButtonList
A list of buttons layed out horizontally.
-
#date_time_picker ⇒ Google::Apis::ChatV1::GoogleAppsCardV1DateTimePicker
Lets users input a date, a time, or both a date and a time.
-
#decorated_text ⇒ Google::Apis::ChatV1::GoogleAppsCardV1DecoratedText
A widget that displays text with optional decorations such as a label above or below the text, an icon in front of the text, a selection widget, or a button after the text.
-
#text_input ⇒ Google::Apis::ChatV1::GoogleAppsCardV1TextInput
A field in which users can enter text.
-
#text_paragraph ⇒ Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph
A paragraph of text that supports formatting.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsCardV1FooterWidget
constructor
A new instance of GoogleAppsCardV1FooterWidget.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsCardV1FooterWidget
Returns a new instance of GoogleAppsCardV1FooterWidget.
1811 1812 1813 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1811 def initialize(**args) update!(**args) end |
Instance Attribute Details
#button_list ⇒ Google::Apis::ChatV1::GoogleAppsCardV1ButtonList
A list of buttons layed out horizontally.
Corresponds to the JSON property buttonList
1774 1775 1776 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1774 def @button_list end |
#date_time_picker ⇒ Google::Apis::ChatV1::GoogleAppsCardV1DateTimePicker
Lets users input a date, a time, or both a date and a time. Users can input
text or use the picker to select dates and times. If users input an invalid
date or time, the picker shows an error that prompts users to input the
information correctly.
Corresponds to the JSON property dateTimePicker
1782 1783 1784 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1782 def date_time_picker @date_time_picker end |
#decorated_text ⇒ Google::Apis::ChatV1::GoogleAppsCardV1DecoratedText
A widget that displays text with optional decorations such as a label above or
below the text, an icon in front of the text, a selection widget, or a button
after the text.
Corresponds to the JSON property decoratedText
1789 1790 1791 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1789 def decorated_text @decorated_text end |
#text_input ⇒ Google::Apis::ChatV1::GoogleAppsCardV1TextInput
A field in which users can enter text. Supports suggestions and on-change
actions. Chat apps receive and can process the value of entered text during
form input events. For details about working with form inputs, see Receive
form data. When you need to collect undefined or
abstract data from users, use a text input. To collect defined or enumerated
data from users, use the SelectionInput widget.
Corresponds to the JSON property textInput
1800 1801 1802 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1800 def text_input @text_input end |
#text_paragraph ⇒ Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph
A paragraph of text that supports formatting. For more information about
formatting text, see Formatting text in Google Chat apps and
Formatting text in Google Workspace Add-ons.
Corresponds to the JSON property textParagraph
1809 1810 1811 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1809 def text_paragraph @text_paragraph end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1816 1817 1818 1819 1820 1821 1822 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1816 def update!(**args) @button_list = args[:button_list] if args.key?(:button_list) @date_time_picker = args[:date_time_picker] if args.key?(:date_time_picker) @decorated_text = args[:decorated_text] if args.key?(:decorated_text) @text_input = args[:text_input] if args.key?(:text_input) @text_paragraph = args[:text_paragraph] if args.key?(:text_paragraph) end |