Class: Google::Apis::CloudsearchV1::EnterpriseTopazSidekickAnswerSuggestedQueryAnswerCard
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::EnterpriseTopazSidekickAnswerSuggestedQueryAnswerCard
- 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
Contains a list of suggested queries. Allows the user to determine what natural language queries they can ask Cloud Search (e.g. "what can I search for?").
Instance Attribute Summary collapse
-
#suggested_query_category ⇒ Array<Google::Apis::CloudsearchV1::EnterpriseTopazSidekickAnswerSuggestedQueryCategory>
A list of queries to suggest.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseTopazSidekickAnswerSuggestedQueryAnswerCard
constructor
A new instance of EnterpriseTopazSidekickAnswerSuggestedQueryAnswerCard.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseTopazSidekickAnswerSuggestedQueryAnswerCard
Returns a new instance of EnterpriseTopazSidekickAnswerSuggestedQueryAnswerCard.
1510 1511 1512 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1510 def initialize(**args) update!(**args) end |
Instance Attribute Details
#suggested_query_category ⇒ Array<Google::Apis::CloudsearchV1::EnterpriseTopazSidekickAnswerSuggestedQueryCategory>
A list of queries to suggest.
Corresponds to the JSON property suggestedQueryCategory
1508 1509 1510 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1508 def suggested_query_category @suggested_query_category end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1515 1516 1517 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1515 def update!(**args) @suggested_query_category = args[:suggested_query_category] if args.key?(:suggested_query_category) end |