Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedSelectionInput
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteSharedSelectionInput
- 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 that creates a UI item (for example, a drop-down list) with options for users to select.
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::CloudsearchV1::AppsDynamiteSharedSelectionInputSelectionItem>
Corresponds to the JSON property
items. -
#label ⇒ String
The label displayed ahead of the switch control.
-
#name ⇒ String
The name of the text input which is used in formInput.
-
#on_change_action ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedAction
An action that describes the behavior when the form is submitted.
-
#type ⇒ String
Corresponds to the JSON property
type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteSharedSelectionInput
constructor
A new instance of AppsDynamiteSharedSelectionInput.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteSharedSelectionInput
Returns a new instance of AppsDynamiteSharedSelectionInput.
3182 3183 3184 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3182 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::CloudsearchV1::AppsDynamiteSharedSelectionInputSelectionItem>
Corresponds to the JSON property items
3159 3160 3161 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3159 def items @items end |
#label ⇒ String
The label displayed ahead of the switch control.
Corresponds to the JSON property label
3164 3165 3166 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3164 def label @label end |
#name ⇒ String
The name of the text input which is used in formInput.
Corresponds to the JSON property name
3169 3170 3171 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3169 def name @name end |
#on_change_action ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedAction
An action that describes the behavior when the form is submitted. For example,
an Apps Script can be invoked to handle the form.
Corresponds to the JSON property onChangeAction
3175 3176 3177 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3175 def on_change_action @on_change_action end |
#type ⇒ String
Corresponds to the JSON property type
3180 3181 3182 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3180 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3187 3188 3189 3190 3191 3192 3193 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3187 def update!(**args) @items = args[:items] if args.key?(:items) @label = args[:label] if args.key?(:label) @name = args[:name] if args.key?(:name) @on_change_action = args[:on_change_action] if args.key?(:on_change_action) @type = args[:type] if args.key?(:type) end |