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.



8323
8324
8325
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8323

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



8321
8322
8323
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8321

def cards
  @cards
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8328
8329
8330
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8328

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