Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::WidgetMarkup::ImageButton.
An image button with an onclick
action.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#icon
def icon() -> ::Google::Apps::Chat::V1::WidgetMarkup::Icon
-
(::Google::Apps::Chat::V1::WidgetMarkup::Icon) — 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.
#icon=
def icon=(value) -> ::Google::Apps::Chat::V1::WidgetMarkup::Icon
-
value (::Google::Apps::Chat::V1::WidgetMarkup::Icon) — 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.
-
(::Google::Apps::Chat::V1::WidgetMarkup::Icon) — 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.
#icon_url
def icon_url() -> ::String
-
(::String) — 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.
#icon_url=
def icon_url=(value) -> ::String
-
value (::String) — 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.
-
(::String) — 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.
#name
def name() -> ::String
-
(::String) — The name of this
image_button
that's used for accessibility. Default value is provided if this name isn't specified.
#name=
def name=(value) -> ::String
-
value (::String) — The name of this
image_button
that's used for accessibility. Default value is provided if this name isn't specified.
-
(::String) — The name of this
image_button
that's used for accessibility. Default value is provided if this name isn't specified.
#on_click
def on_click() -> ::Google::Apps::Chat::V1::WidgetMarkup::OnClick
-
(::Google::Apps::Chat::V1::WidgetMarkup::OnClick) — The
onclick
action.
#on_click=
def on_click=(value) -> ::Google::Apps::Chat::V1::WidgetMarkup::OnClick
-
value (::Google::Apps::Chat::V1::WidgetMarkup::OnClick) — The
onclick
action.
-
(::Google::Apps::Chat::V1::WidgetMarkup::OnClick) — The
onclick
action.