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.



1850
1851
1852
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1850

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



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

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



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

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



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

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



1830
1831
1832
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1830

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



1836
1837
1838
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1836

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



1842
1843
1844
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1842

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



1848
1849
1850
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1848

def text_paragraph
  @text_paragraph
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1855
1856
1857
1858
1859
1860
1861
1862
1863
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1855

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