Class: Google::Apis::CloudsearchV1::AppsDynamiteStorageColumnsColumn

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) ⇒ AppsDynamiteStorageColumnsColumn

Returns a new instance of AppsDynamiteStorageColumnsColumn.



3123
3124
3125
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3123

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)


3105
3106
3107
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3105

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)


3110
3111
3112
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3110

def horizontal_size_style
  @horizontal_size_style
end

#vertical_alignmentString

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

Returns:

  • (String)


3115
3116
3117
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3115

def vertical_alignment
  @vertical_alignment
end

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

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



3121
3122
3123
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3121

def widgets
  @widgets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3128
3129
3130
3131
3132
3133
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3128

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