Class: Google::Apis::ChatV1::GoogleAppsCardV1Column
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::GoogleAppsCardV1Column
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/chat_v1/classes.rb,
lib/google/apis/chat_v1/representations.rb,
lib/google/apis/chat_v1/representations.rb
Overview
A column. Google Workspace Add-ons and Chat apps
Instance Attribute Summary collapse
-
#horizontal_alignment ⇒ String
Specifies whether widgets align to the left, right, or center of a column.
-
#horizontal_size_style ⇒ String
Specifies how a column fills the width of the card.
-
#vertical_alignment ⇒ String
Specifies whether widgets align to the top, bottom, or center of a column.
-
#widgets ⇒ Array<Google::Apis::ChatV1::GoogleAppsCardV1Widgets>
An array of widgets included in a column.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsCardV1Column
constructor
A new instance of GoogleAppsCardV1Column.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsCardV1Column
Returns a new instance of GoogleAppsCardV1Column.
1810 1811 1812 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1810 def initialize(**args) update!(**args) end |
Instance Attribute Details
#horizontal_alignment ⇒ String
Specifies whether widgets align to the left, right, or center of a column.
Corresponds to the JSON property horizontalAlignment
1792 1793 1794 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1792 def horizontal_alignment @horizontal_alignment end |
#horizontal_size_style ⇒ String
Specifies how a column fills the width of the card.
Corresponds to the JSON property horizontalSizeStyle
1797 1798 1799 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1797 def horizontal_size_style @horizontal_size_style end |
#vertical_alignment ⇒ String
Specifies whether widgets align to the top, bottom, or center of a column.
Corresponds to the JSON property verticalAlignment
1802 1803 1804 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1802 def vertical_alignment @vertical_alignment end |
#widgets ⇒ Array<Google::Apis::ChatV1::GoogleAppsCardV1Widgets>
An array of widgets included in a column. Widgets appear in the order that
they are specified.
Corresponds to the JSON property widgets
1808 1809 1810 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1808 def @widgets end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1815 1816 1817 1818 1819 1820 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1815 def update!(**args) @horizontal_alignment = args[:horizontal_alignment] if args.key?(:horizontal_alignment) @horizontal_size_style = args[:horizontal_size_style] if args.key?(:horizontal_size_style) @vertical_alignment = args[:vertical_alignment] if args.key?(:vertical_alignment) @widgets = args[:widgets] if args.key?(:widgets) end |