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.



4689
4690
4691
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4689

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)


4677
4678
4679
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4677

def conversation_id
  @conversation_id
end

#converse_conversation_responseGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConverseConversationResponse

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



4682
4683
4684
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4682

def converse_conversation_response
  @converse_conversation_response
end

#u_tokenString

The token in response. Corresponds to the JSON property uToken

Returns:

  • (String)


4687
4688
4689
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4687

def u_token
  @u_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4694
4695
4696
4697
4698
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4694

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