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.



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

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



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

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)


1755
1756
1757
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1755

def wrap_style
  @wrap_style
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1762
1763
1764
1765
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1762

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