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-
(::Google::Apps::Chat::V1::WidgetMarkup::FormAction) — A form action is triggered by this
onclickaction if specified.Note: The following fields are mutually exclusive:
action,open_link. If a field in that set is populated, all other fields in the set will automatically be cleared.
#action=
def action=(value) -> ::Google::Apps::Chat::V1::WidgetMarkup::FormAction-
value (::Google::Apps::Chat::V1::WidgetMarkup::FormAction) — A form action is triggered by this
onclickaction if specified.Note: The following fields are mutually exclusive:
action,open_link. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Apps::Chat::V1::WidgetMarkup::FormAction) — A form action is triggered by this
onclickaction if specified.Note: The following fields are mutually exclusive:
action,open_link. If a field in that set is populated, all other fields in the set will automatically be cleared.
#open_link
def open_link() -> ::Google::Apps::Chat::V1::WidgetMarkup::OpenLink-
(::Google::Apps::Chat::V1::WidgetMarkup::OpenLink) — This
onclickaction triggers an open link action if specified.Note: The following fields are mutually exclusive:
open_link,action. If a field in that set is populated, all other fields in the set will automatically be cleared.
#open_link=
def open_link=(value) -> ::Google::Apps::Chat::V1::WidgetMarkup::OpenLink-
value (::Google::Apps::Chat::V1::WidgetMarkup::OpenLink) — This
onclickaction triggers an open link action if specified.Note: The following fields are mutually exclusive:
open_link,action. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Apps::Chat::V1::WidgetMarkup::OpenLink) — This
onclickaction triggers an open link action if specified.Note: The following fields are mutually exclusive:
open_link,action. If a field in that set is populated, all other fields in the set will automatically be cleared.