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.



10075
10076
10077
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10075

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



10073
10074
10075
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10073

def cards
  @cards
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10080
10081
10082
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10080

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