Class: Google::Apis::CloudsearchV1::EnterpriseTopazSidekickAnswerSuggestedQueryAnswerCard

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseTopazSidekickAnswerSuggestedQueryAnswerCard

Returns a new instance of EnterpriseTopazSidekickAnswerSuggestedQueryAnswerCard.



1543
1544
1545
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1543

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#suggested_query_categoryArray<Google::Apis::CloudsearchV1::EnterpriseTopazSidekickAnswerSuggestedQueryCategory>

A list of queries to suggest. Corresponds to the JSON property suggestedQueryCategory



1541
1542
1543
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1541

def suggested_query_category
  @suggested_query_category
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1548
1549
1550
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1548

def update!(**args)
  @suggested_query_category = args[:suggested_query_category] if args.key?(:suggested_query_category)
end