Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetSearchRequest

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaWidgetSearchRequest

Returns a new instance of GoogleCloudDiscoveryengineV1alphaWidgetSearchRequest.



5425
5426
5427
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5425

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

Instance Attribute Details

#additional_paramsGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAdditionalParams

AdditionalParams message for WidgetService methods for security and privacy enhancement. Corresponds to the JSON property additionalParams



5412
5413
5414
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5412

def additional_params
  @additional_params
end

#config_idString

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

Returns:

  • (String)


5418
5419
5420
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5418

def config_id
  @config_id
end

#search_requestGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequest

Request message for SearchService.Search method. Corresponds to the JSON property searchRequest



5423
5424
5425
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5423

def search_request
  @search_request
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5430
5431
5432
5433
5434
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5430

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