Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpec
- 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
Search specification.
Instance Attribute Summary collapse
-
#search_params ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchParams
Search parameters.
-
#search_result_list ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultList
Search result list.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpec
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpec.
4847 4848 4849 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4847 def initialize(**args) update!(**args) end |
Instance Attribute Details
#search_params ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchParams
Search parameters.
Corresponds to the JSON property searchParams
4840 4841 4842 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4840 def search_params @search_params end |
#search_result_list ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultList
Search result list.
Corresponds to the JSON property searchResultList
4845 4846 4847 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4845 def search_result_list @search_result_list end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4852 4853 4854 4855 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4852 def update!(**args) @search_params = args[:search_params] if args.key?(:search_params) @search_result_list = args[:search_result_list] if args.key?(:search_result_list) end |