Google Chat V1 API - Class Google::Apps::Chat::V1::WidgetMarkup::KeyValue (v0.1.1)

Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::WidgetMarkup::KeyValue.

A UI element contains a key (label) and a value (content). This element can also contain some actions such as onclick button.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#bottom_label

def bottom_label() -> ::String
Returns

#bottom_label=

def bottom_label=(value) -> ::String
Parameter
Returns

#button

def button() -> ::Google::Apps::Chat::V1::WidgetMarkup::Button
Returns

#button=

def button=(value) -> ::Google::Apps::Chat::V1::WidgetMarkup::Button
Parameter
Returns

#content

def content() -> ::String
Returns

#content=

def content=(value) -> ::String
Parameter
Returns

#content_multiline

def content_multiline() -> ::Boolean
Returns
  • (::Boolean) — If the content should be multiline.

#content_multiline=

def content_multiline=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If the content should be multiline.
Returns
  • (::Boolean) — If the content should be multiline.

#icon

def icon() -> ::Google::Apps::Chat::V1::WidgetMarkup::Icon
Returns

#icon=

def icon=(value) -> ::Google::Apps::Chat::V1::WidgetMarkup::Icon
Parameter
Returns

#icon_url

def icon_url() -> ::String
Returns
  • (::String) — The icon specified by a URL.

#icon_url=

def icon_url=(value) -> ::String
Parameter
  • value (::String) — The icon specified by a URL.
Returns
  • (::String) — The icon specified by a URL.

#on_click

def on_click() -> ::Google::Apps::Chat::V1::WidgetMarkup::OnClick
Returns

#on_click=

def on_click=(value) -> ::Google::Apps::Chat::V1::WidgetMarkup::OnClick
Parameter
Returns

#top_label

def top_label() -> ::String
Returns

#top_label=

def top_label=(value) -> ::String
Parameter
Returns