Class: Google::Apps::Card::V1::CollapseControl

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/apps/card/v1/card.rb

Overview

Represent an expand and collapse control.

Google Workspace add-ons and Chat apps:

Instance Attribute Summary collapse

Instance Attribute Details

#collapse_button::Google::Apps::Card::V1::Button

Returns Optional. Define a customizable button to collapse the section. Both expand_button and collapse_button field must be set. Only one field set will not take into effect. If this field isn't set, the default button is used.

Returns:

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

    Optional. Define a customizable button to collapse the section. Both expand_button and collapse_button field must be set. Only one field set will not take into effect. If this field isn't set, the default button is used.



2233
2234
2235
2236
# File 'proto_docs/google/apps/card/v1/card.rb', line 2233

class CollapseControl
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#expand_button::Google::Apps::Card::V1::Button

Returns Optional. Define a customizable button to expand the section. Both expand_button and collapse_button field must be set. Only one field set will not take into effect. If this field isn't set, the default button is used.

Returns:

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

    Optional. Define a customizable button to expand the section. Both expand_button and collapse_button field must be set. Only one field set will not take into effect. If this field isn't set, the default button is used.



2233
2234
2235
2236
# File 'proto_docs/google/apps/card/v1/card.rb', line 2233

class CollapseControl
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#horizontal_alignment::Google::Apps::Card::V1::Widget::HorizontalAlignment

Returns The horizontal alignment of the expand and collapse button.

Returns:



2233
2234
2235
2236
# File 'proto_docs/google/apps/card/v1/card.rb', line 2233

class CollapseControl
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end