Google Chat V1 API - Class Google::Apps::Card::V1::Card::NestedWidget (v0.18.0)

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

A list of widgets that can be displayed in a containing layout, such as a CarouselCard. Google Chat apps:

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) — A button list widget.

    Note: The following fields are mutually exclusive: button_list, text_paragraph, image. 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) — A button list widget.

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

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

    Note: The following fields are mutually exclusive: button_list, text_paragraph, image. 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) — An image widget.

    Note: The following fields are mutually exclusive: image, text_paragraph, button_list. 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) — An image widget.

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

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

    Note: The following fields are mutually exclusive: image, text_paragraph, button_list. 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) — A text paragraph widget.

    Note: The following fields are mutually exclusive: text_paragraph, button_list, image. 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) — A text paragraph widget.

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

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

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