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.
3117 3118 3119 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3117 def initialize(**args) update!(**args) end |
Instance Attribute Details
#search_params ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchParams
Search parameters.
Corresponds to the JSON property searchParams
3110 3111 3112 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3110 def search_params @search_params end |
#search_result_list ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultList
Search result list.
Corresponds to the JSON property searchResultList
3115 3116 3117 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3115 def search_result_list @search_result_list end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3122 3123 3124 3125 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3122 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 |