Class: Google::Apis::ChatV1::GoogleAppsCardV1ButtonList

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 list of buttons layed out horizontally.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAppsCardV1ButtonList

Returns a new instance of GoogleAppsCardV1ButtonList.



930
931
932
# File 'lib/google/apis/chat_v1/classes.rb', line 930

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

Instance Attribute Details

#buttonsArray<Google::Apis::ChatV1::GoogleAppsCardV1Button>

Corresponds to the JSON property buttons



928
929
930
# File 'lib/google/apis/chat_v1/classes.rb', line 928

def buttons
  @buttons
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



935
936
937
# File 'lib/google/apis/chat_v1/classes.rb', line 935

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