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.
2997 2998 2999 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2997 def initialize(**args) update!(**args) end |
Instance Attribute Details
#search_params ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchParams
Search parameters.
Corresponds to the JSON property searchParams
2990 2991 2992 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2990 def search_params @search_params end |
#search_result_list ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultList
Search result list.
Corresponds to the JSON property searchResultList
2995 2996 2997 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2995 def search_result_list @search_result_list end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3002 3003 3004 3005 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3002 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 |