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.



1877
1878
1879
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1877

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



1840
1841
1842
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1840

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



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

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



1852
1853
1854
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1852

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



1857
1858
1859
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1857

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



1863
1864
1865
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1863

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



1869
1870
1871
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1869

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



1875
1876
1877
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1875

def text_paragraph
  @text_paragraph
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1882
1883
1884
1885
1886
1887
1888
1889
1890
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1882

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