Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscript

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/contactcenterinsights_v1/classes.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb

Overview

The conversation transcript for the chart.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscript

Returns a new instance of GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscript.



5020
5021
5022
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5020

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

Instance Attribute Details

#conversation_idString

The conversation id of the chart. Corresponds to the JSON property conversationId

Returns:

  • (String)


5003
5004
5005
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5003

def conversation_id
  @conversation_id
end

#create_timeString

Output only. The create time of the conversation. Corresponds to the JSON property createTime

Returns:

  • (String)


5008
5009
5010
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5008

def create_time
  @create_time
end

#messagesArray<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessage>

Ordered list of messages, including user inputs and system responses. Corresponds to the JSON property messages



5013
5014
5015
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5013

def messages
  @messages
end

#update_timeString

Output only. The update time of the conversation. Corresponds to the JSON property updateTime

Returns:

  • (String)


5018
5019
5020
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5018

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5025
5026
5027
5028
5029
5030
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5025

def update!(**args)
  @conversation_id = args[:conversation_id] if args.key?(:conversation_id)
  @create_time = args[:create_time] if args.key?(:create_time)
  @messages = args[:messages] if args.key?(:messages)
  @update_time = args[:update_time] if args.key?(:update_time)
end