Class: Google::Apis::ChatV1::GoogleAppsCardV1ButtonList
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::GoogleAppsCardV1ButtonList
- 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 buttons layed out horizontally. For an example in Google Chat apps, see Add a button. Google Workspace Add-ons and Chat apps:
Instance Attribute Summary collapse
-
#buttons ⇒ Array<Google::Apis::ChatV1::GoogleAppsCardV1Button>
An array of buttons.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsCardV1ButtonList
constructor
A new instance of GoogleAppsCardV1ButtonList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsCardV1ButtonList
Returns a new instance of GoogleAppsCardV1ButtonList.
1557 1558 1559 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1557 def initialize(**args) update!(**args) end |
Instance Attribute Details
#buttons ⇒ Array<Google::Apis::ChatV1::GoogleAppsCardV1Button>
An array of buttons.
Corresponds to the JSON property buttons
1555 1556 1557 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1555 def @buttons end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1562 1563 1564 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1562 def update!(**args) @buttons = args[:buttons] if args.key?(:buttons) end |