Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConverseConversationRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaWidgetConverseConversationRequest

Returns a new instance of GoogleCloudDiscoveryengineV1alphaWidgetConverseConversationRequest.



5360
5361
5362
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5360

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



5340
5341
5342
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5340

def additional_params
  @additional_params
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 user event collection. Corresponds to the JSON property configId

Returns:

  • (String)


5346
5347
5348
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5346

def config_id
  @config_id
end

#conversation_idString

The id of the Conversation to get. Use "-" to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session. Corresponds to the JSON property conversationId

Returns:

  • (String)


5353
5354
5355
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5353

def conversation_id
  @conversation_id
end

#converse_conversation_requestGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConverseConversationRequest

Request message for ConversationalSearchService.ConverseConversation method. Corresponds to the JSON property converseConversationRequest



5358
5359
5360
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5358

def converse_conversation_request
  @converse_conversation_request
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5365
5366
5367
5368
5369
5370
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5365

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