Class: Google::Apis::CloudsearchV1::AppsDynamiteStorageWidget

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

A widget is a UI element that presents texts, images, etc.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsDynamiteStorageWidget

Returns a new instance of AppsDynamiteStorageWidget.



4167
4168
4169
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4167

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

Instance Attribute Details

#button_listGoogle::Apis::CloudsearchV1::AppsDynamiteStorageButtonList

A list of buttons layed out horizontally. Corresponds to the JSON property buttonList



4110
4111
4112
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4110

def button_list
  @button_list
end

#columnsGoogle::Apis::CloudsearchV1::AppsDynamiteStorageColumns

Represents a Columns widget that displays a single row of columns. Corresponds to the JSON property columns



4115
4116
4117
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4115

def columns
  @columns
end

#date_time_pickerGoogle::Apis::CloudsearchV1::AppsDynamiteStorageDateTimePicker

The widget that lets users to specify a date and time. Corresponds to the JSON property dateTimePicker



4120
4121
4122
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4120

def date_time_picker
  @date_time_picker
end

#decorated_textGoogle::Apis::CloudsearchV1::AppsDynamiteStorageDecoratedText

A widget that displays text with optional decorations such as a label above or below the text, an icon in front of the text, a selection widget or a button after the text. Corresponds to the JSON property decoratedText



4127
4128
4129
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4127

def decorated_text
  @decorated_text
end

#dividerGoogle::Apis::CloudsearchV1::AppsDynamiteStorageDivider

A divider that appears in between widgets. Corresponds to the JSON property divider



4132
4133
4134
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4132

def divider
  @divider
end

#gridGoogle::Apis::CloudsearchV1::AppsDynamiteStorageGrid

Represents a Grid widget that displays items in a configurable grid layout. Corresponds to the JSON property grid



4137
4138
4139
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4137

def grid
  @grid
end

#horizontal_alignmentString

The horizontal alignment of this widget. Corresponds to the JSON property horizontalAlignment

Returns:

  • (String)


4142
4143
4144
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4142

def horizontal_alignment
  @horizontal_alignment
end

#imageGoogle::Apis::CloudsearchV1::AppsDynamiteStorageImage

An image that is specified by a URL and can have an onClick action. Corresponds to the JSON property image



4147
4148
4149
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4147

def image
  @image
end

#selection_inputGoogle::Apis::CloudsearchV1::AppsDynamiteStorageSelectionInput

A widget that creates a UI item (for example, a drop-down list) with options for users to select. Corresponds to the JSON property selectionInput



4153
4154
4155
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4153

def selection_input
  @selection_input
end

#text_inputGoogle::Apis::CloudsearchV1::AppsDynamiteStorageTextInput

A text input is a UI item where users can input text. A text input can also have an onChange action and suggestions. Corresponds to the JSON property textInput



4159
4160
4161
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4159

def text_input
  @text_input
end

#text_paragraphGoogle::Apis::CloudsearchV1::AppsDynamiteStorageTextParagraph

A paragraph of text that supports formatting. See Text formatting for details. Corresponds to the JSON property textParagraph



4165
4166
4167
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4165

def text_paragraph
  @text_paragraph
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4172

def update!(**args)
  @button_list = args[:button_list] if args.key?(:button_list)
  @columns = args[:columns] if args.key?(:columns)
  @date_time_picker = args[:date_time_picker] if args.key?(:date_time_picker)
  @decorated_text = args[:decorated_text] if args.key?(:decorated_text)
  @divider = args[:divider] if args.key?(:divider)
  @grid = args[:grid] if args.key?(:grid)
  @horizontal_alignment = args[:horizontal_alignment] if args.key?(:horizontal_alignment)
  @image = args[:image] if args.key?(:image)
  @selection_input = args[:selection_input] if args.key?(:selection_input)
  @text_input = args[:text_input] if args.key?(:text_input)
  @text_paragraph = args[:text_paragraph] if args.key?(:text_paragraph)
end