Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConverseConversationResponse

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

Response message for WidgetService.WidgetConverseConversation method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaWidgetConverseConversationResponse

Returns a new instance of GoogleCloudDiscoveryengineV1alphaWidgetConverseConversationResponse.



7927
7928
7929
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7927

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#conversation_idString

The id of the Conversation returned. Corresponds to the JSON property conversationId

Returns:

  • (String)


7915
7916
7917
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7915

def conversation_id
  @conversation_id
end

#converse_conversation_responseGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConverseConversationResponse

Response message for ConversationalSearchService.ConverseConversation method. Corresponds to the JSON property converseConversationResponse



7920
7921
7922
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7920

def converse_conversation_response
  @converse_conversation_response
end

#u_tokenString

The token in response. Corresponds to the JSON property uToken

Returns:

  • (String)


7925
7926
7927
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7925

def u_token
  @u_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7932
7933
7934
7935
7936
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7932

def update!(**args)
  @conversation_id = args[:conversation_id] if args.key?(:conversation_id)
  @converse_conversation_response = args[:converse_conversation_response] if args.key?(:converse_conversation_response)
  @u_token = args[:u_token] if args.key?(:u_token)
end