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.



5338
5339
5340
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5338

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



5318
5319
5320
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5318

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)


5324
5325
5326
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5324

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)


5331
5332
5333
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5331

def conversation_id
  @conversation_id
end

#converse_conversation_requestGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConverseConversationRequest

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



5336
5337
5338
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5336

def converse_conversation_request
  @converse_conversation_request
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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