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.



5392
5393
5394
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5392

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)


5380
5381
5382
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5380

def conversation_id
  @conversation_id
end

#converse_conversation_responseGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConverseConversationResponse

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



5385
5386
5387
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5385

def converse_conversation_response
  @converse_conversation_response
end

#u_tokenString

The token in response. Corresponds to the JSON property uToken

Returns:

  • (String)


5390
5391
5392
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5390

def u_token
  @u_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5397
5398
5399
5400
5401
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5397

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