Class: Google::Apis::CloudsearchV1::GoogleChatV1ContextualAddOnMarkupCardSection
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::GoogleChatV1ContextualAddOnMarkupCardSection
- 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
A section contains a collection of widgets that are rendered (vertically) in the order that they are specified. Across all platforms, cards have a narrow fixed width, so there is currently no need for layout properties (e.g. float).
Instance Attribute Summary collapse
-
#header ⇒ String
The header of the section, text formatted supported.
-
#widgets ⇒ Array<Google::Apis::CloudsearchV1::GoogleChatV1WidgetMarkup>
A section must contain at least 1 widget.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChatV1ContextualAddOnMarkupCardSection
constructor
A new instance of GoogleChatV1ContextualAddOnMarkupCardSection.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChatV1ContextualAddOnMarkupCardSection
Returns a new instance of GoogleChatV1ContextualAddOnMarkupCardSection.
8452 8453 8454 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8452 def initialize(**args) update!(**args) end |
Instance Attribute Details
#header ⇒ String
The header of the section, text formatted supported.
Corresponds to the JSON property header
8445 8446 8447 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8445 def header @header end |
#widgets ⇒ Array<Google::Apis::CloudsearchV1::GoogleChatV1WidgetMarkup>
A section must contain at least 1 widget.
Corresponds to the JSON property widgets
8450 8451 8452 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8450 def @widgets end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8457 8458 8459 8460 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8457 def update!(**args) @header = args[:header] if args.key?(:header) @widgets = args[:widgets] if args.key?(:widgets) end |