Class: Google::Apis::CloudsearchV1::AppsDynamiteStorageSelectionInput
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteStorageSelectionInput
- 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::AppsDynamiteStorageSelectionInputSelectionItem>
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::AppsDynamiteStorageAction
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) ⇒ AppsDynamiteStorageSelectionInput
constructor
A new instance of AppsDynamiteStorageSelectionInput.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteStorageSelectionInput
Returns a new instance of AppsDynamiteStorageSelectionInput.
3598 3599 3600 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3598 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::CloudsearchV1::AppsDynamiteStorageSelectionInputSelectionItem>
Corresponds to the JSON property items
3575 3576 3577 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3575 def items @items end |
#label ⇒ String
The label displayed ahead of the switch control.
Corresponds to the JSON property label
3580 3581 3582 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3580 def label @label end |
#name ⇒ String
The name of the text input which is used in formInput.
Corresponds to the JSON property name
3585 3586 3587 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3585 def name @name end |
#on_change_action ⇒ Google::Apis::CloudsearchV1::AppsDynamiteStorageAction
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
3591 3592 3593 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3591 def on_change_action @on_change_action end |
#type ⇒ String
Corresponds to the JSON property type
3596 3597 3598 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3596 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3603 3604 3605 3606 3607 3608 3609 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3603 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 |