Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Card::V1::SelectionInput::SelectionItem.
An item that users can select in a selection input, such as a checkbox or switch.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#bottom_text
def bottom_text() -> ::String
-
(::String) — For multiselect menus, a text description or label that's
displayed below the item's
text
field.
#bottom_text=
def bottom_text=(value) -> ::String
-
value (::String) — For multiselect menus, a text description or label that's
displayed below the item's
text
field.
-
(::String) — For multiselect menus, a text description or label that's
displayed below the item's
text
field.
#selected
def selected() -> ::Boolean
- (::Boolean) — Whether the item is selected by default. If the selection input only accepts one value (such as for radio buttons or a dropdown menu), only set this field for one item.
#selected=
def selected=(value) -> ::Boolean
- value (::Boolean) — Whether the item is selected by default. If the selection input only accepts one value (such as for radio buttons or a dropdown menu), only set this field for one item.
- (::Boolean) — Whether the item is selected by default. If the selection input only accepts one value (such as for radio buttons or a dropdown menu), only set this field for one item.
#start_icon_uri
def start_icon_uri() -> ::String
-
(::String) — For multiselect menus, the URL for the icon displayed next to
the item's
text
field. Supports PNG and JPEG files. Must be anHTTPS
URL. For example,https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png
.
#start_icon_uri=
def start_icon_uri=(value) -> ::String
-
value (::String) — For multiselect menus, the URL for the icon displayed next to
the item's
text
field. Supports PNG and JPEG files. Must be anHTTPS
URL. For example,https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png
.
-
(::String) — For multiselect menus, the URL for the icon displayed next to
the item's
text
field. Supports PNG and JPEG files. Must be anHTTPS
URL. For example,https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png
.
#text
def text() -> ::String
- (::String) — The text that identifies or describes the item to users.
#text=
def text=(value) -> ::String
- value (::String) — The text that identifies or describes the item to users.
- (::String) — The text that identifies or describes the item to users.
#value
def value() -> ::String
-
(::String) — The value associated with this item. The client should use this as a form
input value.
For details about working with form inputs, see Receive form data.
#value=
def value=(value) -> ::String
-
value (::String) — The value associated with this item. The client should use this as a form
input value.
For details about working with form inputs, see Receive form data.
-
(::String) — The value associated with this item. The client should use this as a form
input value.
For details about working with form inputs, see Receive form data.