Class: Google::Apps::Card::V1::SelectionInput::SelectionItem
- Inherits:
-
Object
- Object
- Google::Apps::Card::V1::SelectionInput::SelectionItem
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/apps/card/v1/card.rb
Overview
An item that users can select in a selection input, such as a checkbox or switch. Supports up to 100 items.
Instance Attribute Summary collapse
-
#bottom_text ⇒ ::String
For multiselect menus, a text description or label that's displayed below the item's
textfield. -
#selected ⇒ ::Boolean
Whether the item is selected by default.
- #start_icon_uri ⇒ ::String
-
#text ⇒ ::String
The text that identifies or describes the item to users.
-
#value ⇒ ::String
The value associated with this item.
Instance Attribute Details
#bottom_text ⇒ ::String
Returns For multiselect menus, a text description or label that's
displayed below the item's text field.
1335 1336 1337 1338 |
# File 'proto_docs/google/apps/card/v1/card.rb', line 1335 class SelectionItem include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#selected ⇒ ::Boolean
Returns 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.
1335 1336 1337 1338 |
# File 'proto_docs/google/apps/card/v1/card.rb', line 1335 class SelectionItem include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#start_icon_uri ⇒ ::String
1335 1336 1337 1338 |
# File 'proto_docs/google/apps/card/v1/card.rb', line 1335 class SelectionItem include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#text ⇒ ::String
Returns The text that identifies or describes the item to users.
1335 1336 1337 1338 |
# File 'proto_docs/google/apps/card/v1/card.rb', line 1335 class SelectionItem include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#value ⇒ ::String
Returns 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.
1335 1336 1337 1338 |
# File 'proto_docs/google/apps/card/v1/card.rb', line 1335 class SelectionItem include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |