Class: Google::Apis::ChatV1::GoogleAppsCardV1CardFixedFooter
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::GoogleAppsCardV1CardFixedFooter
- 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 persistent (sticky) footer that is added to the bottom of the card.
Instance Attribute Summary collapse
-
#primary_button ⇒ Google::Apis::ChatV1::GoogleAppsCardV1Button
A button.
-
#secondary_button ⇒ Google::Apis::ChatV1::GoogleAppsCardV1Button
A button.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsCardV1CardFixedFooter
constructor
A new instance of GoogleAppsCardV1CardFixedFooter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsCardV1CardFixedFooter
Returns a new instance of GoogleAppsCardV1CardFixedFooter.
1246 1247 1248 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1246 def initialize(**args) update!(**args) end |
Instance Attribute Details
#primary_button ⇒ Google::Apis::ChatV1::GoogleAppsCardV1Button
A button. Can be a text button or an image button.
Corresponds to the JSON property primaryButton
1239 1240 1241 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1239 def @primary_button end |
#secondary_button ⇒ Google::Apis::ChatV1::GoogleAppsCardV1Button
A button. Can be a text button or an image button.
Corresponds to the JSON property secondaryButton
1244 1245 1246 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1244 def @secondary_button end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1251 1252 1253 1254 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1251 def update!(**args) @primary_button = args[:primary_button] if args.key?(:primary_button) @secondary_button = args[:secondary_button] if args.key?(:secondary_button) end |