Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedColumns

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

Represents a Columns widget that displays a single row of columns.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsDynamiteSharedColumns

Returns a new instance of AppsDynamiteSharedColumns.



1753
1754
1755
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1753

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

Instance Attribute Details

#column_itemsArray<Google::Apis::CloudsearchV1::AppsDynamiteSharedColumnsColumn>

Each card supports up to 2 columns. Corresponds to the JSON property columnItems



1746
1747
1748
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1746

def column_items
  @column_items
end

#wrap_styleString

Controls how the column resizes based on screen width. Corresponds to the JSON property wrapStyle

Returns:

  • (String)


1751
1752
1753
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1751

def wrap_style
  @wrap_style
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1758
1759
1760
1761
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1758

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