Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetSearchRequest
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetSearchRequest
- 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
Request message for WidgetService.WidgetSearch method.
Instance Attribute Summary collapse
-
#additional_params ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAdditionalParams
AdditionalParams message for WidgetService methods for security and privacy enhancement.
-
#config_id ⇒ String
Required.
-
#search_request ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequest
Request message for SearchService.Search method.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaWidgetSearchRequest
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaWidgetSearchRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaWidgetSearchRequest
Returns a new instance of GoogleCloudDiscoveryengineV1alphaWidgetSearchRequest.
8347 8348 8349 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8347 def initialize(**args) update!(**args) end |
Instance Attribute Details
#additional_params ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAdditionalParams
AdditionalParams message for WidgetService methods for security and privacy
enhancement.
Corresponds to the JSON property additionalParams
8334 8335 8336 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8334 def additional_params @additional_params end |
#config_id ⇒ String
Required. The UUID of the Search WidgetConfig. This field is used to identify
the search widget configuration, set of models used to make the search.
Corresponds to the JSON property configId
8340 8341 8342 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8340 def config_id @config_id end |
#search_request ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequest
Request message for SearchService.Search method.
Corresponds to the JSON property searchRequest
8345 8346 8347 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8345 def search_request @search_request end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8352 8353 8354 8355 8356 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8352 def update!(**args) @additional_params = args[:additional_params] if args.key?(:additional_params) @config_id = args[:config_id] if args.key?(:config_id) @search_request = args[:search_request] if args.key?(:search_request) end |