Class: Google::Apis::CloudsearchV1::AppsDynamiteStorageSuggestionsSuggestionItem
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteStorageSuggestionsSuggestionItem
- 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 suggestion item. Only supports text for now.
Instance Attribute Summary collapse
-
#text ⇒ String
Corresponds to the JSON property
text
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteStorageSuggestionsSuggestionItem
constructor
A new instance of AppsDynamiteStorageSuggestionsSuggestionItem.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteStorageSuggestionsSuggestionItem
Returns a new instance of AppsDynamiteStorageSuggestionsSuggestionItem.
4008 4009 4010 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4008 def initialize(**args) update!(**args) end |
Instance Attribute Details
#text ⇒ String
Corresponds to the JSON property text
4006 4007 4008 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4006 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4013 4014 4015 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4013 def update!(**args) @text = args[:text] if args.key?(:text) end |