Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedColumnsColumn

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 Column that consists of widgets stacked vertically.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsDynamiteSharedColumnsColumn

Returns a new instance of AppsDynamiteSharedColumnsColumn.



1789
1790
1791
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1789

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

Instance Attribute Details

#horizontal_alignmentString

The horizontal alignment of the column. Corresponds to the JSON property horizontalAlignment

Returns:

  • (String)


1771
1772
1773
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1771

def horizontal_alignment
  @horizontal_alignment
end

#horizontal_size_styleString

Specifies how the column content is sized horizontally. Corresponds to the JSON property horizontalSizeStyle

Returns:

  • (String)


1776
1777
1778
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1776

def horizontal_size_style
  @horizontal_size_style
end

#vertical_alignmentString

The vertical alignment of the column. Corresponds to the JSON property verticalAlignment

Returns:

  • (String)


1781
1782
1783
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1781

def vertical_alignment
  @vertical_alignment
end

#widgetsArray<Google::Apis::CloudsearchV1::AppsDynamiteSharedColumnsColumnWidgets>

LINT.ThenChange(//google/apps/card/v1/card.proto) Array of widgets included in the column. Corresponds to the JSON property widgets



1787
1788
1789
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1787

def widgets
  @widgets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1794
1795
1796
1797
1798
1799
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1794

def update!(**args)
  @horizontal_alignment = args[:horizontal_alignment] if args.key?(:horizontal_alignment)
  @horizontal_size_style = args[:horizontal_size_style] if args.key?(:horizontal_size_style)
  @vertical_alignment = args[:vertical_alignment] if args.key?(:vertical_alignment)
  @widgets = args[:widgets] if args.key?(:widgets)
end