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.



7421
7422
7423
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7421

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



7401
7402
7403
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7401

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)


7407
7408
7409
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7407

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)


7414
7415
7416
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7414

def conversation_id
  @conversation_id
end

#converse_conversation_requestGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConverseConversationRequest

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



7419
7420
7421
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7419

def converse_conversation_request
  @converse_conversation_request
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7426
7427
7428
7429
7430
7431
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7426

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