Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetCompleteQueryResponseWidgetQuerySuggestion
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetCompleteQueryResponseWidgetQuerySuggestion
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Suggestions as search queries.
Instance Attribute Summary collapse
-
#suggestion ⇒ String
The suggestion for the query.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaWidgetCompleteQueryResponseWidgetQuerySuggestion
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaWidgetCompleteQueryResponseWidgetQuerySuggestion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaWidgetCompleteQueryResponseWidgetQuerySuggestion
Returns a new instance of GoogleCloudDiscoveryengineV1alphaWidgetCompleteQueryResponseWidgetQuerySuggestion.
7149 7150 7151 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7149 def initialize(**args) update!(**args) end |
Instance Attribute Details
#suggestion ⇒ String
The suggestion for the query.
Corresponds to the JSON property suggestion
7147 7148 7149 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7147 def suggestion @suggestion end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7154 7155 7156 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7154 def update!(**args) @suggestion = args[:suggestion] if args.key?(:suggestion) end |