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.



7522
7523
7524
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7522

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



7502
7503
7504
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7502

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)


7508
7509
7510
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7508

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)


7515
7516
7517
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7515

def conversation_id
  @conversation_id
end

#converse_conversation_requestGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConverseConversationRequest

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



7520
7521
7522
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7520

def converse_conversation_request
  @converse_conversation_request
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7527
7528
7529
7530
7531
7532
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7527

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