Class: Google::Apps::Chat::V1::WidgetMarkup::ImageButton
- Inherits:
-
Object
- Object
- Google::Apps::Chat::V1::WidgetMarkup::ImageButton
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/chat/v1/widgets.rb
Overview
An image button with an onclick action.
Instance Attribute Summary collapse
-
#icon ⇒ ::Google::Apps::Chat::V1::WidgetMarkup::Icon
The icon specified by an
enumthat indices to an icon provided by Chat API. -
#icon_url ⇒ ::String
The icon specified by a URL.
-
#name ⇒ ::String
The name of this
image_buttonthat's used for accessibility. -
#on_click ⇒ ::Google::Apps::Chat::V1::WidgetMarkup::OnClick
The
onclickaction.
Instance Attribute Details
#icon ⇒ ::Google::Apps::Chat::V1::WidgetMarkup::Icon
Returns The icon specified by an enum that indices to an icon provided by
Chat API.
Note: The following fields are mutually exclusive: icon, icon_url. If a field in that set is populated, all other fields in the set will automatically be cleared.
186 187 188 189 |
# File 'proto_docs/google/chat/v1/widgets.rb', line 186 class ImageButton include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#icon_url ⇒ ::String
Returns The icon specified by a URL.
Note: The following fields are mutually exclusive: icon_url, icon. If a field in that set is populated, all other fields in the set will automatically be cleared.
186 187 188 189 |
# File 'proto_docs/google/chat/v1/widgets.rb', line 186 class ImageButton include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns The name of this image_button that's used for accessibility.
Default value is provided if this name isn't specified.
186 187 188 189 |
# File 'proto_docs/google/chat/v1/widgets.rb', line 186 class ImageButton include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#on_click ⇒ ::Google::Apps::Chat::V1::WidgetMarkup::OnClick
Returns The onclick action.
186 187 188 189 |
# File 'proto_docs/google/chat/v1/widgets.rb', line 186 class ImageButton include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |