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.



9548
9549
9550
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9548

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



9546
9547
9548
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9546

def cards
  @cards
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9553
9554
9555
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9553

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