Class: Google::Apps::Card::V1::OverflowMenu::OverflowMenuItem

Inherits:
Object
  • Object
show all
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.

Google Workspace add-ons and Chat apps:

Instance Attribute Summary collapse

Instance Attribute Details

#disabled::Boolean

Returns Whether the menu option is disabled. Defaults to false.

Returns:

  • (::Boolean)

    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.

Returns:

  • (::Google::Apps::Card::V1::OnClick)

    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.

Returns:



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.

Returns:

  • (::String)

    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