Class: Google::Apps::Chat::V1::WidgetMarkup::OnClick

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/chat/v1/widgets.rb

Overview

An onclick action (for example, open a link).

Instance Attribute Summary collapse

Instance Attribute Details

#action::Google::Apps::Chat::V1::WidgetMarkup::FormAction

Returns 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.



202
203
204
205
# File 'proto_docs/google/chat/v1/widgets.rb', line 202

class OnClick
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

Returns 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.



202
203
204
205
# File 'proto_docs/google/chat/v1/widgets.rb', line 202

class OnClick
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end