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.



1820
1821
1822
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1820

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)


1802
1803
1804
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1802

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)


1807
1808
1809
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1807

def horizontal_size_style
  @horizontal_size_style
end

#vertical_alignmentString

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

Returns:

  • (String)


1812
1813
1814
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1812

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



1818
1819
1820
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1818

def widgets
  @widgets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1825
1826
1827
1828
1829
1830
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1825

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