Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::WidgetMarkup::OnClick.
An onclick
action (for example, open a link).
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#action
def action() -> ::Google::Apps::Chat::V1::WidgetMarkup::FormAction
Returns
-
(::Google::Apps::Chat::V1::WidgetMarkup::FormAction) — A form action is triggered by this
onclick
action if specified.
#action=
def action=(value) -> ::Google::Apps::Chat::V1::WidgetMarkup::FormAction
Parameter
-
value (::Google::Apps::Chat::V1::WidgetMarkup::FormAction) — A form action is triggered by this
onclick
action if specified.
Returns
-
(::Google::Apps::Chat::V1::WidgetMarkup::FormAction) — A form action is triggered by this
onclick
action if specified.
#open_link
def open_link() -> ::Google::Apps::Chat::V1::WidgetMarkup::OpenLink
Returns
-
(::Google::Apps::Chat::V1::WidgetMarkup::OpenLink) — This
onclick
action triggers an open link action if specified.
#open_link=
def open_link=(value) -> ::Google::Apps::Chat::V1::WidgetMarkup::OpenLink
Parameter
-
value (::Google::Apps::Chat::V1::WidgetMarkup::OpenLink) — This
onclick
action triggers an open link action if specified.
Returns
-
(::Google::Apps::Chat::V1::WidgetMarkup::OpenLink) — This
onclick
action triggers an open link action if specified.