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.
7250 7251 7252 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7250 def initialize(**args) update!(**args) end |
Instance Attribute Details
#suggestion ⇒ String
The suggestion for the query.
Corresponds to the JSON property suggestion
7248 7249 7250 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7248 def suggestion @suggestion end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7255 7256 7257 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7255 def update!(**args) @suggestion = args[:suggestion] if args.key?(:suggestion) end |