Class: Google::Apis::ChatV1::GoogleAppsCardV1ChipList
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::GoogleAppsCardV1ChipList
- 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 list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. Google Chat apps:
Instance Attribute Summary collapse
-
#chips ⇒ Array<Google::Apis::ChatV1::GoogleAppsCardV1Chip>
An array of chips.
-
#layout ⇒ String
Specified chip list layout.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsCardV1ChipList
constructor
A new instance of GoogleAppsCardV1ChipList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsCardV1ChipList
Returns a new instance of GoogleAppsCardV1ChipList.
1882 1883 1884 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1882 def initialize(**args) update!(**args) end |
Instance Attribute Details
#chips ⇒ Array<Google::Apis::ChatV1::GoogleAppsCardV1Chip>
An array of chips.
Corresponds to the JSON property chips
1875 1876 1877 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1875 def chips @chips end |
#layout ⇒ String
Specified chip list layout.
Corresponds to the JSON property layout
1880 1881 1882 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1880 def layout @layout end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1887 1888 1889 1890 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1887 def update!(**args) @chips = args[:chips] if args.key?(:chips) @layout = args[:layout] if args.key?(:layout) end |