Google Chat V1 API - Class Google::Apps::Card::V1::Columns::Column::Widgets (v0.8.0)

Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Card::V1::Columns::Column::Widgets.

The supported widgets that you can include in a column.

Google Workspace Add-ons and Chat apps: Columns for Google Workspace Add-ons are in Developer Preview.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#button_list

def button_list() -> ::Google::Apps::Card::V1::ButtonList
Returns
  • (::Google::Apps::Card::V1::ButtonList) — ButtonList widget.

    Note: The following fields are mutually exclusive: button_list, text_paragraph, image, decorated_text, text_input, selection_input, date_time_picker. If a field in that set is populated, all other fields in the set will automatically be cleared.

#button_list=

def button_list=(value) -> ::Google::Apps::Card::V1::ButtonList
Parameter
  • value (::Google::Apps::Card::V1::ButtonList) — ButtonList widget.

    Note: The following fields are mutually exclusive: button_list, text_paragraph, image, decorated_text, text_input, selection_input, date_time_picker. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Apps::Card::V1::ButtonList) — ButtonList widget.

    Note: The following fields are mutually exclusive: button_list, text_paragraph, image, decorated_text, text_input, selection_input, date_time_picker. If a field in that set is populated, all other fields in the set will automatically be cleared.

#date_time_picker

def date_time_picker() -> ::Google::Apps::Card::V1::DateTimePicker
Returns
  • (::Google::Apps::Card::V1::DateTimePicker) — DateTimePicker widget.

    Note: The following fields are mutually exclusive: date_time_picker, text_paragraph, image, decorated_text, button_list, text_input, selection_input. If a field in that set is populated, all other fields in the set will automatically be cleared.

#date_time_picker=

def date_time_picker=(value) -> ::Google::Apps::Card::V1::DateTimePicker
Parameter
  • value (::Google::Apps::Card::V1::DateTimePicker) — DateTimePicker widget.

    Note: The following fields are mutually exclusive: date_time_picker, text_paragraph, image, decorated_text, button_list, text_input, selection_input. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Apps::Card::V1::DateTimePicker) — DateTimePicker widget.

    Note: The following fields are mutually exclusive: date_time_picker, text_paragraph, image, decorated_text, button_list, text_input, selection_input. If a field in that set is populated, all other fields in the set will automatically be cleared.

#decorated_text

def decorated_text() -> ::Google::Apps::Card::V1::DecoratedText
Returns
  • (::Google::Apps::Card::V1::DecoratedText) — DecoratedText widget.

    Note: The following fields are mutually exclusive: decorated_text, text_paragraph, image, button_list, text_input, selection_input, date_time_picker. If a field in that set is populated, all other fields in the set will automatically be cleared.

#decorated_text=

def decorated_text=(value) -> ::Google::Apps::Card::V1::DecoratedText
Parameter
  • value (::Google::Apps::Card::V1::DecoratedText) — DecoratedText widget.

    Note: The following fields are mutually exclusive: decorated_text, text_paragraph, image, button_list, text_input, selection_input, date_time_picker. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Apps::Card::V1::DecoratedText) — DecoratedText widget.

    Note: The following fields are mutually exclusive: decorated_text, text_paragraph, image, button_list, text_input, selection_input, date_time_picker. If a field in that set is populated, all other fields in the set will automatically be cleared.

#image

def image() -> ::Google::Apps::Card::V1::Image
Returns
  • (::Google::Apps::Card::V1::Image) — Image widget.

    Note: The following fields are mutually exclusive: image, text_paragraph, decorated_text, button_list, text_input, selection_input, date_time_picker. If a field in that set is populated, all other fields in the set will automatically be cleared.

#image=

def image=(value) -> ::Google::Apps::Card::V1::Image
Parameter
  • value (::Google::Apps::Card::V1::Image) — Image widget.

    Note: The following fields are mutually exclusive: image, text_paragraph, decorated_text, button_list, text_input, selection_input, date_time_picker. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Apps::Card::V1::Image) — Image widget.

    Note: The following fields are mutually exclusive: image, text_paragraph, decorated_text, button_list, text_input, selection_input, date_time_picker. If a field in that set is populated, all other fields in the set will automatically be cleared.

#selection_input

def selection_input() -> ::Google::Apps::Card::V1::SelectionInput
Returns
  • (::Google::Apps::Card::V1::SelectionInput) — SelectionInput widget.

    Note: The following fields are mutually exclusive: selection_input, text_paragraph, image, decorated_text, button_list, text_input, date_time_picker. If a field in that set is populated, all other fields in the set will automatically be cleared.

#selection_input=

def selection_input=(value) -> ::Google::Apps::Card::V1::SelectionInput
Parameter
  • value (::Google::Apps::Card::V1::SelectionInput) — SelectionInput widget.

    Note: The following fields are mutually exclusive: selection_input, text_paragraph, image, decorated_text, button_list, text_input, date_time_picker. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Apps::Card::V1::SelectionInput) — SelectionInput widget.

    Note: The following fields are mutually exclusive: selection_input, text_paragraph, image, decorated_text, button_list, text_input, date_time_picker. If a field in that set is populated, all other fields in the set will automatically be cleared.

#text_input

def text_input() -> ::Google::Apps::Card::V1::TextInput
Returns
  • (::Google::Apps::Card::V1::TextInput) — TextInput widget.

    Note: The following fields are mutually exclusive: text_input, text_paragraph, image, decorated_text, button_list, selection_input, date_time_picker. If a field in that set is populated, all other fields in the set will automatically be cleared.

#text_input=

def text_input=(value) -> ::Google::Apps::Card::V1::TextInput
Parameter
  • value (::Google::Apps::Card::V1::TextInput) — TextInput widget.

    Note: The following fields are mutually exclusive: text_input, text_paragraph, image, decorated_text, button_list, selection_input, date_time_picker. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Apps::Card::V1::TextInput) — TextInput widget.

    Note: The following fields are mutually exclusive: text_input, text_paragraph, image, decorated_text, button_list, selection_input, date_time_picker. If a field in that set is populated, all other fields in the set will automatically be cleared.

#text_paragraph

def text_paragraph() -> ::Google::Apps::Card::V1::TextParagraph
Returns
  • (::Google::Apps::Card::V1::TextParagraph) — TextParagraph widget.

    Note: The following fields are mutually exclusive: text_paragraph, image, decorated_text, button_list, text_input, selection_input, date_time_picker. If a field in that set is populated, all other fields in the set will automatically be cleared.

#text_paragraph=

def text_paragraph=(value) -> ::Google::Apps::Card::V1::TextParagraph
Parameter
  • value (::Google::Apps::Card::V1::TextParagraph) — TextParagraph widget.

    Note: The following fields are mutually exclusive: text_paragraph, image, decorated_text, button_list, text_input, selection_input, date_time_picker. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Apps::Card::V1::TextParagraph) — TextParagraph widget.

    Note: The following fields are mutually exclusive: text_paragraph, image, decorated_text, button_list, text_input, selection_input, date_time_picker. If a field in that set is populated, all other fields in the set will automatically be cleared.