Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetCompleteQueryRequest

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.WidgetCompleteQuery method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaWidgetCompleteQueryRequest

Returns a new instance of GoogleCloudDiscoveryengineV1alphaWidgetCompleteQueryRequest.



7203
7204
7205
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7203

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



7190
7191
7192
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7190

def additional_params
  @additional_params
end

#complete_query_requestGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCompleteQueryRequest

Request message for CompletionService.CompleteQuery method. Corresponds to the JSON property completeQueryRequest



7195
7196
7197
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7195

def complete_query_request
  @complete_query_request
end

#config_idString

Required. The UUID of the WidgetConfig. This field is used to identify the widget configuration, set of models used to make the auto complete query. Corresponds to the JSON property configId

Returns:

  • (String)


7201
7202
7203
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7201

def config_id
  @config_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7208
7209
7210
7211
7212
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7208

def update!(**args)
  @additional_params = args[:additional_params] if args.key?(:additional_params)
  @complete_query_request = args[:complete_query_request] if args.key?(:complete_query_request)
  @config_id = args[:config_id] if args.key?(:config_id)
end