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.



7102
7103
7104
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7102

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



7089
7090
7091
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7089

def additional_params
  @additional_params
end

#complete_query_requestGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCompleteQueryRequest

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



7094
7095
7096
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7094

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)


7100
7101
7102
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7100

def config_id
  @config_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7107
7108
7109
7110
7111
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7107

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