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.



7895
7896
7897
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7895

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



7875
7876
7877
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7875

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)


7881
7882
7883
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7881

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)


7888
7889
7890
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7888

def conversation_id
  @conversation_id
end

#converse_conversation_requestGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConverseConversationRequest

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



7893
7894
7895
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7893

def converse_conversation_request
  @converse_conversation_request
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7900
7901
7902
7903
7904
7905
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7900

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