Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedTextInput
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteSharedTextInput
- 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 text input is a UI item where users can input text. A text input can also have an onChange action and suggestions.
Instance Attribute Summary collapse
-
#auto_complete_action ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedAction
An action that describes the behavior when the form is submitted.
-
#hint_text ⇒ String
The hint text.
-
#initial_suggestions ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedSuggestions
A container wrapping elements necessary for showing suggestion items used in text input autocomplete.
-
#label ⇒ String
At least one of label and hintText must be specified.
-
#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
The style of the text, for example, a single line or multiple lines.
-
#value ⇒ String
The default value when there is no input from the user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteSharedTextInput
constructor
A new instance of AppsDynamiteSharedTextInput.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteSharedTextInput
Returns a new instance of AppsDynamiteSharedTextInput.
3591 3592 3593 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3591 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auto_complete_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 autoCompleteAction
3552 3553 3554 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3552 def auto_complete_action @auto_complete_action end |
#hint_text ⇒ String
The hint text.
Corresponds to the JSON property hintText
3557 3558 3559 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3557 def hint_text @hint_text end |
#initial_suggestions ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedSuggestions
A container wrapping elements necessary for showing suggestion items used in
text input autocomplete.
Corresponds to the JSON property initialSuggestions
3563 3564 3565 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3563 def initial_suggestions @initial_suggestions end |
#label ⇒ String
At least one of label and hintText must be specified.
Corresponds to the JSON property label
3568 3569 3570 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3568 def label @label end |
#name ⇒ String
The name of the text input which is used in formInput.
Corresponds to the JSON property name
3573 3574 3575 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3573 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
3579 3580 3581 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3579 def on_change_action @on_change_action end |
#type ⇒ String
The style of the text, for example, a single line or multiple lines.
Corresponds to the JSON property type
3584 3585 3586 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3584 def type @type end |
#value ⇒ String
The default value when there is no input from the user.
Corresponds to the JSON property value
3589 3590 3591 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3589 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3596 def update!(**args) @auto_complete_action = args[:auto_complete_action] if args.key?(:auto_complete_action) @hint_text = args[:hint_text] if args.key?(:hint_text) @initial_suggestions = args[:initial_suggestions] if args.key?(:initial_suggestions) @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) @value = args[:value] if args.key?(:value) end |