Class: Google::Apis::CloudsearchV1::GoogleChatV1ContextualAddOnMarkup

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb

Overview

The markup for developers to specify the contents of a contextual AddOn.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChatV1ContextualAddOnMarkup

Returns a new instance of GoogleChatV1ContextualAddOnMarkup.



10011
10012
10013
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10011

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

Instance Attribute Details

#cardsArray<Google::Apis::CloudsearchV1::GoogleChatV1ContextualAddOnMarkupCard>

A list of cards. A card must contain a header and at least 1 section. Corresponds to the JSON property cards



10009
10010
10011
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10009

def cards
  @cards
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10016
10017
10018
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10016

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