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.



7486
7487
7488
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7486

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



7473
7474
7475
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7473

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)


7479
7480
7481
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7479

def config_id
  @config_id
end

#search_requestGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequest

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



7484
7485
7486
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7484

def search_request
  @search_request
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7491
7492
7493
7494
7495
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7491

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