Class: Google::Apis::ChatV1::GoogleAppsCardV1CardFixedFooter

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAppsCardV1CardFixedFooter

Returns a new instance of GoogleAppsCardV1CardFixedFooter.



1062
1063
1064
# File 'lib/google/apis/chat_v1/classes.rb', line 1062

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#primary_buttonGoogle::Apis::ChatV1::GoogleAppsCardV1Button

A button. Can be a text button or an image button. Corresponds to the JSON property primaryButton



1055
1056
1057
# File 'lib/google/apis/chat_v1/classes.rb', line 1055

def primary_button
  @primary_button
end

#secondary_buttonGoogle::Apis::ChatV1::GoogleAppsCardV1Button

A button. Can be a text button or an image button. Corresponds to the JSON property secondaryButton



1060
1061
1062
# File 'lib/google/apis/chat_v1/classes.rb', line 1060

def secondary_button
  @secondary_button
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1067
1068
1069
1070
# File 'lib/google/apis/chat_v1/classes.rb', line 1067

def update!(**args)
  @primary_button = args[:primary_button] if args.key?(:primary_button)
  @secondary_button = args[:secondary_button] if args.key?(:secondary_button)
end