Class: Google::Apps::Card::V1::OverflowMenu::OverflowMenuItem
- Inherits:
-
Object
- Object
- Google::Apps::Card::V1::OverflowMenu::OverflowMenuItem
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/apps/card/v1/card.rb
Overview
An option that users can invoke in an overflow menu.
Instance Attribute Summary collapse
-
#disabled ⇒ ::Boolean
Whether the menu option is disabled.
-
#on_click ⇒ ::Google::Apps::Card::V1::OnClick
Required.
-
#start_icon ⇒ ::Google::Apps::Card::V1::Icon
The icon displayed in front of the text.
-
#text ⇒ ::String
Required.
Instance Attribute Details
#disabled ⇒ ::Boolean
Returns Whether the menu option is disabled. Defaults to false.
1520 1521 1522 1523 |
# File 'proto_docs/google/apps/card/v1/card.rb', line 1520 class OverflowMenuItem include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#on_click ⇒ ::Google::Apps::Card::V1::OnClick
Returns Required. The action invoked when a menu option is selected.
This OnClick cannot contain an OverflowMenu, any specified
OverflowMenu is dropped and the menu item disabled.
1520 1521 1522 1523 |
# File 'proto_docs/google/apps/card/v1/card.rb', line 1520 class OverflowMenuItem include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#start_icon ⇒ ::Google::Apps::Card::V1::Icon
Returns The icon displayed in front of the text.
1520 1521 1522 1523 |
# File 'proto_docs/google/apps/card/v1/card.rb', line 1520 class OverflowMenuItem include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#text ⇒ ::String
Returns Required. The text that identifies or describes the item to users.
1520 1521 1522 1523 |
# File 'proto_docs/google/apps/card/v1/card.rb', line 1520 class OverflowMenuItem include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |