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.
3950 3951 3952 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3950 def initialize(**args) update!(**args) end |
Instance Attribute Details
#text ⇒ String
Corresponds to the JSON property text
3948 3949 3950 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3948 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3955 3956 3957 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3955 def update!(**args) @text = args[:text] if args.key?(:text) end |