Google Chat V1 API - Class Google::Apps::Chat::V1::WidgetMarkup::OnClick (v0.8.0)

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.

    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
Parameter
  • value (::Google::Apps::Chat::V1::WidgetMarkup::FormAction) — A form action is triggered by this onclick action 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.

Returns
  • (::Google::Apps::Chat::V1::WidgetMarkup::FormAction) — A form action is triggered by this onclick action 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.

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.

    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.

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.

    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.

Returns
  • (::Google::Apps::Chat::V1::WidgetMarkup::OpenLink) — This onclick action 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.