Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetCompleteQueryResponse
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetCompleteQueryResponse
- 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 more...
Overview
Response message for WidgetService.WidgetCompleteQuery method.
Instance Attribute Summary collapse
-
#u_token ⇒ String
The token in response.
-
#widget_query_suggestions ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetCompleteQueryResponseWidgetQuerySuggestion>
Results of the matched query suggestions in widget.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaWidgetCompleteQueryResponse
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaWidgetCompleteQueryResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaWidgetCompleteQueryResponse
Returns a new instance of GoogleCloudDiscoveryengineV1alphaWidgetCompleteQueryResponse.
7230 7231 7232 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7230 def initialize(**args) update!(**args) end |
Instance Attribute Details
#u_token ⇒ String
The token in response.
Corresponds to the JSON property uToken
7222 7223 7224 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7222 def u_token @u_token end |
#widget_query_suggestions ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetCompleteQueryResponseWidgetQuerySuggestion>
Results of the matched query suggestions in widget. The result list is ordered
and the first result is a top suggestion.
Corresponds to the JSON property widgetQuerySuggestions
7228 7229 7230 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7228 def @widget_query_suggestions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7235 7236 7237 7238 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7235 def update!(**args) @u_token = args[:u_token] if args.key?(:u_token) @widget_query_suggestions = args[:widget_query_suggestions] if args.key?(:widget_query_suggestions) end |