Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedWidget
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteSharedWidget
- 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
-
#button_list ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedButtonList
A list of buttons layed out horizontally.
-
#columns ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedColumns
Represents a Columns widget that displays a single row of columns.
-
#date_time_picker ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedDateTimePicker
The widget that lets users to specify a date and time.
-
#decorated_text ⇒ Google::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.
-
#divider ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedDivider
A divider that appears in between widgets.
-
#grid ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedGrid
Represents a Grid widget that displays items in a configurable grid layout.
-
#horizontal_alignment ⇒ String
The horizontal alignment of this widget.
-
#image ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedImage
An image that is specified by a URL and can have an onClick action.
-
#selection_input ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedSelectionInput
A widget that creates a UI item (for example, a drop-down list) with options for users to select.
-
#text_input ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedTextInput
A text input is a UI item where users can input text.
-
#text_paragraph ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedTextParagraph
A paragraph of text that supports formatting.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteSharedWidget
constructor
A new instance of AppsDynamiteSharedWidget.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteSharedWidget
Returns a new instance of AppsDynamiteSharedWidget.
3691 3692 3693 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3691 def initialize(**args) update!(**args) end |
Instance Attribute Details
#button_list ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedButtonList
A list of buttons layed out horizontally.
Corresponds to the JSON property buttonList
3634 3635 3636 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3634 def @button_list end |
#columns ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedColumns
Represents a Columns widget that displays a single row of columns.
Corresponds to the JSON property columns
3639 3640 3641 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3639 def columns @columns end |
#date_time_picker ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedDateTimePicker
The widget that lets users to specify a date and time.
Corresponds to the JSON property dateTimePicker
3644 3645 3646 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3644 def date_time_picker @date_time_picker end |
#decorated_text ⇒ Google::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
3651 3652 3653 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3651 def decorated_text @decorated_text end |
#divider ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedDivider
A divider that appears in between widgets.
Corresponds to the JSON property divider
3656 3657 3658 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3656 def divider @divider end |
#grid ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedGrid
Represents a Grid widget that displays items in a configurable grid layout.
Corresponds to the JSON property grid
3661 3662 3663 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3661 def grid @grid end |
#horizontal_alignment ⇒ String
The horizontal alignment of this widget.
Corresponds to the JSON property horizontalAlignment
3666 3667 3668 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3666 def horizontal_alignment @horizontal_alignment end |
#image ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedImage
An image that is specified by a URL and can have an onClick action.
Corresponds to the JSON property image
3671 3672 3673 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3671 def image @image end |
#selection_input ⇒ Google::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
3677 3678 3679 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3677 def selection_input @selection_input end |
#text_input ⇒ Google::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
3683 3684 3685 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3683 def text_input @text_input end |
#text_paragraph ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedTextParagraph
A paragraph of text that supports formatting. See Text formatting for details.
Corresponds to the JSON property textParagraph
3689 3690 3691 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3689 def text_paragraph @text_paragraph end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3696 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 |