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.



7453
7454
7455
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7453

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)


7441
7442
7443
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7441

def conversation_id
  @conversation_id
end

#converse_conversation_responseGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConverseConversationResponse

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



7446
7447
7448
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7446

def converse_conversation_response
  @converse_conversation_response
end

#u_tokenString

The token in response. Corresponds to the JSON property uToken

Returns:

  • (String)


7451
7452
7453
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7451

def u_token
  @u_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7458
7459
7460
7461
7462
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7458

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