Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedColumnsColumnWidgets

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

LINT.IfChange The column widget can contain these widgets.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsDynamiteSharedColumnsColumnWidgets

Returns a new instance of AppsDynamiteSharedColumnsColumnWidgets.



1846
1847
1848
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1846

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

Instance Attribute Details

#button_listGoogle::Apis::CloudsearchV1::AppsDynamiteSharedButtonList

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



1809
1810
1811
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1809

def button_list
  @button_list
end

#date_time_pickerGoogle::Apis::CloudsearchV1::AppsDynamiteSharedDateTimePicker

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



1814
1815
1816
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1814

def date_time_picker
  @date_time_picker
end

#decorated_textGoogle::Apis::CloudsearchV1::AppsDynamiteSharedDecoratedText

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



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

def decorated_text
  @decorated_text
end

#imageGoogle::Apis::CloudsearchV1::AppsDynamiteSharedImage

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



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

def image
  @image
end

#selection_inputGoogle::Apis::CloudsearchV1::AppsDynamiteSharedSelectionInput

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



1832
1833
1834
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1832

def selection_input
  @selection_input
end

#text_inputGoogle::Apis::CloudsearchV1::AppsDynamiteSharedTextInput

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



1838
1839
1840
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1838

def text_input
  @text_input
end

#text_paragraphGoogle::Apis::CloudsearchV1::AppsDynamiteSharedTextParagraph

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



1844
1845
1846
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1844

def text_paragraph
  @text_paragraph
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1851
1852
1853
1854
1855
1856
1857
1858
1859
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1851

def update!(**args)
  @button_list = args[:button_list] if args.key?(:button_list)
  @date_time_picker = args[:date_time_picker] if args.key?(:date_time_picker)
  @decorated_text = args[:decorated_text] if args.key?(:decorated_text)
  @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