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.



4646
4647
4648
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4646

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)


4634
4635
4636
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4634

def conversation_id
  @conversation_id
end

#converse_conversation_responseGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConverseConversationResponse

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



4639
4640
4641
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4639

def converse_conversation_response
  @converse_conversation_response
end

#u_tokenString

The token in response. Corresponds to the JSON property uToken

Returns:

  • (String)


4644
4645
4646
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4644

def u_token
  @u_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4651
4652
4653
4654
4655
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4651

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