Class: Google::Cloud::ContactCenterInsights::V1::Conversation

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/contactcenterinsights/v1/resources.rb

Overview

The conversation resource.

Defined Under Namespace

Modules: Medium Classes: CallMetadata, DialogflowIntentsEntry, LabelsEntry, Transcript

Instance Attribute Summary collapse

Instance Attribute Details

#agent_id::String

Returns An opaque, user-specified string representing the human agent who handled the conversation.

Returns:

  • (::String)

    An opaque, user-specified string representing the human agent who handled the conversation.



88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 88

class Conversation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Call-specific metadata.
  # @!attribute [rw] customer_channel
  #   @return [::Integer]
  #     The audio channel that contains the customer.
  # @!attribute [rw] agent_channel
  #   @return [::Integer]
  #     The audio channel that contains the agent.
  class CallMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message representing the transcript of a conversation.
  # @!attribute [rw] transcript_segments
  #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>]
  #     A list of sequential transcript segments that comprise the conversation.
  class Transcript
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # A segment of a full transcript.
    # @!attribute [rw] text
    #   @return [::String]
    #     The text of this segment.
    # @!attribute [rw] confidence
    #   @return [::Float]
    #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
    #     segment. A default value of 0.0 indicates that the value is unset.
    # @!attribute [rw] words
    #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>]
    #     A list of the word-specific information for each word in the segment.
    # @!attribute [rw] language_code
    #   @return [::String]
    #     The language code of this segment as a
    #     [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
    #     Example: "en-US".
    # @!attribute [rw] channel_tag
    #   @return [::Integer]
    #     For conversations derived from multi-channel audio, this is the channel
    #     number corresponding to the audio from that channel. For
    #     audioChannelCount = N, its output values can range from '1' to 'N'. A
    #     channel tag of 0 indicates that the audio is mono.
    # @!attribute [rw] segment_participant
    #   @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant]
    #     The participant of this segment.
    class TranscriptSegment
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # Word-level info for words in a transcript.
      # @!attribute [rw] start_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the start of this word relative to the beginning of
      #     the total conversation.
      # @!attribute [rw] end_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the end of this word relative to the beginning of the
      #     total conversation.
      # @!attribute [rw] word
      #   @return [::String]
      #     The word itself. Includes punctuation marks that surround the word.
      # @!attribute [rw] confidence
      #   @return [::Float]
      #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
      #     word. A default value of 0.0 indicates that the value is unset.
      class WordInfo
        include ::Google::Protobuf::MessageExts
        extend ::Google::Protobuf::MessageExts::ClassMethods
      end
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent]
  class DialogflowIntentsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible media for the conversation.
  module Medium
    # Default value.
    MEDIUM_UNSPECIFIED = 0

    # The format for conversations that took place over the phone.
    PHONE_CALL = 1

    # The format for conversations that took place over chat.
    CHAT = 2
  end
end

#call_metadata::Google::Cloud::ContactCenterInsights::V1::Conversation::CallMetadata

Returns Call-specific metadata.



88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 88

class Conversation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Call-specific metadata.
  # @!attribute [rw] customer_channel
  #   @return [::Integer]
  #     The audio channel that contains the customer.
  # @!attribute [rw] agent_channel
  #   @return [::Integer]
  #     The audio channel that contains the agent.
  class CallMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message representing the transcript of a conversation.
  # @!attribute [rw] transcript_segments
  #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>]
  #     A list of sequential transcript segments that comprise the conversation.
  class Transcript
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # A segment of a full transcript.
    # @!attribute [rw] text
    #   @return [::String]
    #     The text of this segment.
    # @!attribute [rw] confidence
    #   @return [::Float]
    #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
    #     segment. A default value of 0.0 indicates that the value is unset.
    # @!attribute [rw] words
    #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>]
    #     A list of the word-specific information for each word in the segment.
    # @!attribute [rw] language_code
    #   @return [::String]
    #     The language code of this segment as a
    #     [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
    #     Example: "en-US".
    # @!attribute [rw] channel_tag
    #   @return [::Integer]
    #     For conversations derived from multi-channel audio, this is the channel
    #     number corresponding to the audio from that channel. For
    #     audioChannelCount = N, its output values can range from '1' to 'N'. A
    #     channel tag of 0 indicates that the audio is mono.
    # @!attribute [rw] segment_participant
    #   @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant]
    #     The participant of this segment.
    class TranscriptSegment
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # Word-level info for words in a transcript.
      # @!attribute [rw] start_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the start of this word relative to the beginning of
      #     the total conversation.
      # @!attribute [rw] end_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the end of this word relative to the beginning of the
      #     total conversation.
      # @!attribute [rw] word
      #   @return [::String]
      #     The word itself. Includes punctuation marks that surround the word.
      # @!attribute [rw] confidence
      #   @return [::Float]
      #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
      #     word. A default value of 0.0 indicates that the value is unset.
      class WordInfo
        include ::Google::Protobuf::MessageExts
        extend ::Google::Protobuf::MessageExts::ClassMethods
      end
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent]
  class DialogflowIntentsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible media for the conversation.
  module Medium
    # Default value.
    MEDIUM_UNSPECIFIED = 0

    # The format for conversations that took place over the phone.
    PHONE_CALL = 1

    # The format for conversations that took place over chat.
    CHAT = 2
  end
end

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The time at which the conversation was created.

Returns:



88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 88

class Conversation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Call-specific metadata.
  # @!attribute [rw] customer_channel
  #   @return [::Integer]
  #     The audio channel that contains the customer.
  # @!attribute [rw] agent_channel
  #   @return [::Integer]
  #     The audio channel that contains the agent.
  class CallMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message representing the transcript of a conversation.
  # @!attribute [rw] transcript_segments
  #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>]
  #     A list of sequential transcript segments that comprise the conversation.
  class Transcript
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # A segment of a full transcript.
    # @!attribute [rw] text
    #   @return [::String]
    #     The text of this segment.
    # @!attribute [rw] confidence
    #   @return [::Float]
    #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
    #     segment. A default value of 0.0 indicates that the value is unset.
    # @!attribute [rw] words
    #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>]
    #     A list of the word-specific information for each word in the segment.
    # @!attribute [rw] language_code
    #   @return [::String]
    #     The language code of this segment as a
    #     [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
    #     Example: "en-US".
    # @!attribute [rw] channel_tag
    #   @return [::Integer]
    #     For conversations derived from multi-channel audio, this is the channel
    #     number corresponding to the audio from that channel. For
    #     audioChannelCount = N, its output values can range from '1' to 'N'. A
    #     channel tag of 0 indicates that the audio is mono.
    # @!attribute [rw] segment_participant
    #   @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant]
    #     The participant of this segment.
    class TranscriptSegment
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # Word-level info for words in a transcript.
      # @!attribute [rw] start_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the start of this word relative to the beginning of
      #     the total conversation.
      # @!attribute [rw] end_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the end of this word relative to the beginning of the
      #     total conversation.
      # @!attribute [rw] word
      #   @return [::String]
      #     The word itself. Includes punctuation marks that surround the word.
      # @!attribute [rw] confidence
      #   @return [::Float]
      #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
      #     word. A default value of 0.0 indicates that the value is unset.
      class WordInfo
        include ::Google::Protobuf::MessageExts
        extend ::Google::Protobuf::MessageExts::ClassMethods
      end
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent]
  class DialogflowIntentsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible media for the conversation.
  module Medium
    # Default value.
    MEDIUM_UNSPECIFIED = 0

    # The format for conversations that took place over the phone.
    PHONE_CALL = 1

    # The format for conversations that took place over chat.
    CHAT = 2
  end
end

#data_source::Google::Cloud::ContactCenterInsights::V1::ConversationDataSource

Returns The source of the audio and transcription for the conversation.

Returns:



88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 88

class Conversation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Call-specific metadata.
  # @!attribute [rw] customer_channel
  #   @return [::Integer]
  #     The audio channel that contains the customer.
  # @!attribute [rw] agent_channel
  #   @return [::Integer]
  #     The audio channel that contains the agent.
  class CallMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message representing the transcript of a conversation.
  # @!attribute [rw] transcript_segments
  #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>]
  #     A list of sequential transcript segments that comprise the conversation.
  class Transcript
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # A segment of a full transcript.
    # @!attribute [rw] text
    #   @return [::String]
    #     The text of this segment.
    # @!attribute [rw] confidence
    #   @return [::Float]
    #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
    #     segment. A default value of 0.0 indicates that the value is unset.
    # @!attribute [rw] words
    #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>]
    #     A list of the word-specific information for each word in the segment.
    # @!attribute [rw] language_code
    #   @return [::String]
    #     The language code of this segment as a
    #     [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
    #     Example: "en-US".
    # @!attribute [rw] channel_tag
    #   @return [::Integer]
    #     For conversations derived from multi-channel audio, this is the channel
    #     number corresponding to the audio from that channel. For
    #     audioChannelCount = N, its output values can range from '1' to 'N'. A
    #     channel tag of 0 indicates that the audio is mono.
    # @!attribute [rw] segment_participant
    #   @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant]
    #     The participant of this segment.
    class TranscriptSegment
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # Word-level info for words in a transcript.
      # @!attribute [rw] start_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the start of this word relative to the beginning of
      #     the total conversation.
      # @!attribute [rw] end_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the end of this word relative to the beginning of the
      #     total conversation.
      # @!attribute [rw] word
      #   @return [::String]
      #     The word itself. Includes punctuation marks that surround the word.
      # @!attribute [rw] confidence
      #   @return [::Float]
      #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
      #     word. A default value of 0.0 indicates that the value is unset.
      class WordInfo
        include ::Google::Protobuf::MessageExts
        extend ::Google::Protobuf::MessageExts::ClassMethods
      end
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent]
  class DialogflowIntentsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible media for the conversation.
  module Medium
    # Default value.
    MEDIUM_UNSPECIFIED = 0

    # The format for conversations that took place over the phone.
    PHONE_CALL = 1

    # The format for conversations that took place over chat.
    CHAT = 2
  end
end

#dialogflow_intents::Google::Protobuf::Map{::String => ::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent} (readonly)

Returns Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent}.

Returns:



88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 88

class Conversation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Call-specific metadata.
  # @!attribute [rw] customer_channel
  #   @return [::Integer]
  #     The audio channel that contains the customer.
  # @!attribute [rw] agent_channel
  #   @return [::Integer]
  #     The audio channel that contains the agent.
  class CallMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message representing the transcript of a conversation.
  # @!attribute [rw] transcript_segments
  #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>]
  #     A list of sequential transcript segments that comprise the conversation.
  class Transcript
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # A segment of a full transcript.
    # @!attribute [rw] text
    #   @return [::String]
    #     The text of this segment.
    # @!attribute [rw] confidence
    #   @return [::Float]
    #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
    #     segment. A default value of 0.0 indicates that the value is unset.
    # @!attribute [rw] words
    #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>]
    #     A list of the word-specific information for each word in the segment.
    # @!attribute [rw] language_code
    #   @return [::String]
    #     The language code of this segment as a
    #     [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
    #     Example: "en-US".
    # @!attribute [rw] channel_tag
    #   @return [::Integer]
    #     For conversations derived from multi-channel audio, this is the channel
    #     number corresponding to the audio from that channel. For
    #     audioChannelCount = N, its output values can range from '1' to 'N'. A
    #     channel tag of 0 indicates that the audio is mono.
    # @!attribute [rw] segment_participant
    #   @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant]
    #     The participant of this segment.
    class TranscriptSegment
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # Word-level info for words in a transcript.
      # @!attribute [rw] start_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the start of this word relative to the beginning of
      #     the total conversation.
      # @!attribute [rw] end_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the end of this word relative to the beginning of the
      #     total conversation.
      # @!attribute [rw] word
      #   @return [::String]
      #     The word itself. Includes punctuation marks that surround the word.
      # @!attribute [rw] confidence
      #   @return [::Float]
      #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
      #     word. A default value of 0.0 indicates that the value is unset.
      class WordInfo
        include ::Google::Protobuf::MessageExts
        extend ::Google::Protobuf::MessageExts::ClassMethods
      end
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent]
  class DialogflowIntentsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible media for the conversation.
  module Medium
    # Default value.
    MEDIUM_UNSPECIFIED = 0

    # The format for conversations that took place over the phone.
    PHONE_CALL = 1

    # The format for conversations that took place over chat.
    CHAT = 2
  end
end

#duration::Google::Protobuf::Duration (readonly)

Returns Output only. The duration of the conversation.

Returns:



88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 88

class Conversation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Call-specific metadata.
  # @!attribute [rw] customer_channel
  #   @return [::Integer]
  #     The audio channel that contains the customer.
  # @!attribute [rw] agent_channel
  #   @return [::Integer]
  #     The audio channel that contains the agent.
  class CallMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message representing the transcript of a conversation.
  # @!attribute [rw] transcript_segments
  #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>]
  #     A list of sequential transcript segments that comprise the conversation.
  class Transcript
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # A segment of a full transcript.
    # @!attribute [rw] text
    #   @return [::String]
    #     The text of this segment.
    # @!attribute [rw] confidence
    #   @return [::Float]
    #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
    #     segment. A default value of 0.0 indicates that the value is unset.
    # @!attribute [rw] words
    #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>]
    #     A list of the word-specific information for each word in the segment.
    # @!attribute [rw] language_code
    #   @return [::String]
    #     The language code of this segment as a
    #     [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
    #     Example: "en-US".
    # @!attribute [rw] channel_tag
    #   @return [::Integer]
    #     For conversations derived from multi-channel audio, this is the channel
    #     number corresponding to the audio from that channel. For
    #     audioChannelCount = N, its output values can range from '1' to 'N'. A
    #     channel tag of 0 indicates that the audio is mono.
    # @!attribute [rw] segment_participant
    #   @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant]
    #     The participant of this segment.
    class TranscriptSegment
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # Word-level info for words in a transcript.
      # @!attribute [rw] start_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the start of this word relative to the beginning of
      #     the total conversation.
      # @!attribute [rw] end_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the end of this word relative to the beginning of the
      #     total conversation.
      # @!attribute [rw] word
      #   @return [::String]
      #     The word itself. Includes punctuation marks that surround the word.
      # @!attribute [rw] confidence
      #   @return [::Float]
      #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
      #     word. A default value of 0.0 indicates that the value is unset.
      class WordInfo
        include ::Google::Protobuf::MessageExts
        extend ::Google::Protobuf::MessageExts::ClassMethods
      end
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent]
  class DialogflowIntentsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible media for the conversation.
  module Medium
    # Default value.
    MEDIUM_UNSPECIFIED = 0

    # The format for conversations that took place over the phone.
    PHONE_CALL = 1

    # The format for conversations that took place over chat.
    CHAT = 2
  end
end

#expire_time::Google::Protobuf::Timestamp

Returns The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted.

Returns:

  • (::Google::Protobuf::Timestamp)

    The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted.



88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 88

class Conversation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Call-specific metadata.
  # @!attribute [rw] customer_channel
  #   @return [::Integer]
  #     The audio channel that contains the customer.
  # @!attribute [rw] agent_channel
  #   @return [::Integer]
  #     The audio channel that contains the agent.
  class CallMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message representing the transcript of a conversation.
  # @!attribute [rw] transcript_segments
  #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>]
  #     A list of sequential transcript segments that comprise the conversation.
  class Transcript
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # A segment of a full transcript.
    # @!attribute [rw] text
    #   @return [::String]
    #     The text of this segment.
    # @!attribute [rw] confidence
    #   @return [::Float]
    #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
    #     segment. A default value of 0.0 indicates that the value is unset.
    # @!attribute [rw] words
    #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>]
    #     A list of the word-specific information for each word in the segment.
    # @!attribute [rw] language_code
    #   @return [::String]
    #     The language code of this segment as a
    #     [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
    #     Example: "en-US".
    # @!attribute [rw] channel_tag
    #   @return [::Integer]
    #     For conversations derived from multi-channel audio, this is the channel
    #     number corresponding to the audio from that channel. For
    #     audioChannelCount = N, its output values can range from '1' to 'N'. A
    #     channel tag of 0 indicates that the audio is mono.
    # @!attribute [rw] segment_participant
    #   @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant]
    #     The participant of this segment.
    class TranscriptSegment
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # Word-level info for words in a transcript.
      # @!attribute [rw] start_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the start of this word relative to the beginning of
      #     the total conversation.
      # @!attribute [rw] end_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the end of this word relative to the beginning of the
      #     total conversation.
      # @!attribute [rw] word
      #   @return [::String]
      #     The word itself. Includes punctuation marks that surround the word.
      # @!attribute [rw] confidence
      #   @return [::Float]
      #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
      #     word. A default value of 0.0 indicates that the value is unset.
      class WordInfo
        include ::Google::Protobuf::MessageExts
        extend ::Google::Protobuf::MessageExts::ClassMethods
      end
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent]
  class DialogflowIntentsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible media for the conversation.
  module Medium
    # Default value.
    MEDIUM_UNSPECIFIED = 0

    # The format for conversations that took place over the phone.
    PHONE_CALL = 1

    # The format for conversations that took place over chat.
    CHAT = 2
  end
end

#labels::Google::Protobuf::Map{::String => ::String}

Returns A map for the user to specify any custom fields. A maximum of 20 labels per conversation is allowed, with a maximum of 256 characters per entry.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    A map for the user to specify any custom fields. A maximum of 20 labels per conversation is allowed, with a maximum of 256 characters per entry.



88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 88

class Conversation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Call-specific metadata.
  # @!attribute [rw] customer_channel
  #   @return [::Integer]
  #     The audio channel that contains the customer.
  # @!attribute [rw] agent_channel
  #   @return [::Integer]
  #     The audio channel that contains the agent.
  class CallMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message representing the transcript of a conversation.
  # @!attribute [rw] transcript_segments
  #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>]
  #     A list of sequential transcript segments that comprise the conversation.
  class Transcript
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # A segment of a full transcript.
    # @!attribute [rw] text
    #   @return [::String]
    #     The text of this segment.
    # @!attribute [rw] confidence
    #   @return [::Float]
    #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
    #     segment. A default value of 0.0 indicates that the value is unset.
    # @!attribute [rw] words
    #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>]
    #     A list of the word-specific information for each word in the segment.
    # @!attribute [rw] language_code
    #   @return [::String]
    #     The language code of this segment as a
    #     [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
    #     Example: "en-US".
    # @!attribute [rw] channel_tag
    #   @return [::Integer]
    #     For conversations derived from multi-channel audio, this is the channel
    #     number corresponding to the audio from that channel. For
    #     audioChannelCount = N, its output values can range from '1' to 'N'. A
    #     channel tag of 0 indicates that the audio is mono.
    # @!attribute [rw] segment_participant
    #   @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant]
    #     The participant of this segment.
    class TranscriptSegment
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # Word-level info for words in a transcript.
      # @!attribute [rw] start_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the start of this word relative to the beginning of
      #     the total conversation.
      # @!attribute [rw] end_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the end of this word relative to the beginning of the
      #     total conversation.
      # @!attribute [rw] word
      #   @return [::String]
      #     The word itself. Includes punctuation marks that surround the word.
      # @!attribute [rw] confidence
      #   @return [::Float]
      #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
      #     word. A default value of 0.0 indicates that the value is unset.
      class WordInfo
        include ::Google::Protobuf::MessageExts
        extend ::Google::Protobuf::MessageExts::ClassMethods
      end
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent]
  class DialogflowIntentsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible media for the conversation.
  module Medium
    # Default value.
    MEDIUM_UNSPECIFIED = 0

    # The format for conversations that took place over the phone.
    PHONE_CALL = 1

    # The format for conversations that took place over chat.
    CHAT = 2
  end
end

#language_code::String

Returns A user-specified language code for the conversation.

Returns:

  • (::String)

    A user-specified language code for the conversation.



88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 88

class Conversation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Call-specific metadata.
  # @!attribute [rw] customer_channel
  #   @return [::Integer]
  #     The audio channel that contains the customer.
  # @!attribute [rw] agent_channel
  #   @return [::Integer]
  #     The audio channel that contains the agent.
  class CallMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message representing the transcript of a conversation.
  # @!attribute [rw] transcript_segments
  #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>]
  #     A list of sequential transcript segments that comprise the conversation.
  class Transcript
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # A segment of a full transcript.
    # @!attribute [rw] text
    #   @return [::String]
    #     The text of this segment.
    # @!attribute [rw] confidence
    #   @return [::Float]
    #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
    #     segment. A default value of 0.0 indicates that the value is unset.
    # @!attribute [rw] words
    #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>]
    #     A list of the word-specific information for each word in the segment.
    # @!attribute [rw] language_code
    #   @return [::String]
    #     The language code of this segment as a
    #     [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
    #     Example: "en-US".
    # @!attribute [rw] channel_tag
    #   @return [::Integer]
    #     For conversations derived from multi-channel audio, this is the channel
    #     number corresponding to the audio from that channel. For
    #     audioChannelCount = N, its output values can range from '1' to 'N'. A
    #     channel tag of 0 indicates that the audio is mono.
    # @!attribute [rw] segment_participant
    #   @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant]
    #     The participant of this segment.
    class TranscriptSegment
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # Word-level info for words in a transcript.
      # @!attribute [rw] start_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the start of this word relative to the beginning of
      #     the total conversation.
      # @!attribute [rw] end_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the end of this word relative to the beginning of the
      #     total conversation.
      # @!attribute [rw] word
      #   @return [::String]
      #     The word itself. Includes punctuation marks that surround the word.
      # @!attribute [rw] confidence
      #   @return [::Float]
      #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
      #     word. A default value of 0.0 indicates that the value is unset.
      class WordInfo
        include ::Google::Protobuf::MessageExts
        extend ::Google::Protobuf::MessageExts::ClassMethods
      end
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent]
  class DialogflowIntentsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible media for the conversation.
  module Medium
    # Default value.
    MEDIUM_UNSPECIFIED = 0

    # The format for conversations that took place over the phone.
    PHONE_CALL = 1

    # The format for conversations that took place over chat.
    CHAT = 2
  end
end

#latest_analysis::Google::Cloud::ContactCenterInsights::V1::Analysis (readonly)

Returns Output only. The conversation's latest analysis, if one exists.

Returns:



88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 88

class Conversation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Call-specific metadata.
  # @!attribute [rw] customer_channel
  #   @return [::Integer]
  #     The audio channel that contains the customer.
  # @!attribute [rw] agent_channel
  #   @return [::Integer]
  #     The audio channel that contains the agent.
  class CallMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message representing the transcript of a conversation.
  # @!attribute [rw] transcript_segments
  #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>]
  #     A list of sequential transcript segments that comprise the conversation.
  class Transcript
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # A segment of a full transcript.
    # @!attribute [rw] text
    #   @return [::String]
    #     The text of this segment.
    # @!attribute [rw] confidence
    #   @return [::Float]
    #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
    #     segment. A default value of 0.0 indicates that the value is unset.
    # @!attribute [rw] words
    #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>]
    #     A list of the word-specific information for each word in the segment.
    # @!attribute [rw] language_code
    #   @return [::String]
    #     The language code of this segment as a
    #     [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
    #     Example: "en-US".
    # @!attribute [rw] channel_tag
    #   @return [::Integer]
    #     For conversations derived from multi-channel audio, this is the channel
    #     number corresponding to the audio from that channel. For
    #     audioChannelCount = N, its output values can range from '1' to 'N'. A
    #     channel tag of 0 indicates that the audio is mono.
    # @!attribute [rw] segment_participant
    #   @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant]
    #     The participant of this segment.
    class TranscriptSegment
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # Word-level info for words in a transcript.
      # @!attribute [rw] start_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the start of this word relative to the beginning of
      #     the total conversation.
      # @!attribute [rw] end_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the end of this word relative to the beginning of the
      #     total conversation.
      # @!attribute [rw] word
      #   @return [::String]
      #     The word itself. Includes punctuation marks that surround the word.
      # @!attribute [rw] confidence
      #   @return [::Float]
      #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
      #     word. A default value of 0.0 indicates that the value is unset.
      class WordInfo
        include ::Google::Protobuf::MessageExts
        extend ::Google::Protobuf::MessageExts::ClassMethods
      end
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent]
  class DialogflowIntentsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible media for the conversation.
  module Medium
    # Default value.
    MEDIUM_UNSPECIFIED = 0

    # The format for conversations that took place over the phone.
    PHONE_CALL = 1

    # The format for conversations that took place over chat.
    CHAT = 2
  end
end

#medium::Google::Cloud::ContactCenterInsights::V1::Conversation::Medium

Returns Immutable. The conversation medium.

Returns:



88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 88

class Conversation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Call-specific metadata.
  # @!attribute [rw] customer_channel
  #   @return [::Integer]
  #     The audio channel that contains the customer.
  # @!attribute [rw] agent_channel
  #   @return [::Integer]
  #     The audio channel that contains the agent.
  class CallMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message representing the transcript of a conversation.
  # @!attribute [rw] transcript_segments
  #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>]
  #     A list of sequential transcript segments that comprise the conversation.
  class Transcript
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # A segment of a full transcript.
    # @!attribute [rw] text
    #   @return [::String]
    #     The text of this segment.
    # @!attribute [rw] confidence
    #   @return [::Float]
    #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
    #     segment. A default value of 0.0 indicates that the value is unset.
    # @!attribute [rw] words
    #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>]
    #     A list of the word-specific information for each word in the segment.
    # @!attribute [rw] language_code
    #   @return [::String]
    #     The language code of this segment as a
    #     [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
    #     Example: "en-US".
    # @!attribute [rw] channel_tag
    #   @return [::Integer]
    #     For conversations derived from multi-channel audio, this is the channel
    #     number corresponding to the audio from that channel. For
    #     audioChannelCount = N, its output values can range from '1' to 'N'. A
    #     channel tag of 0 indicates that the audio is mono.
    # @!attribute [rw] segment_participant
    #   @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant]
    #     The participant of this segment.
    class TranscriptSegment
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # Word-level info for words in a transcript.
      # @!attribute [rw] start_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the start of this word relative to the beginning of
      #     the total conversation.
      # @!attribute [rw] end_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the end of this word relative to the beginning of the
      #     total conversation.
      # @!attribute [rw] word
      #   @return [::String]
      #     The word itself. Includes punctuation marks that surround the word.
      # @!attribute [rw] confidence
      #   @return [::Float]
      #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
      #     word. A default value of 0.0 indicates that the value is unset.
      class WordInfo
        include ::Google::Protobuf::MessageExts
        extend ::Google::Protobuf::MessageExts::ClassMethods
      end
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent]
  class DialogflowIntentsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible media for the conversation.
  module Medium
    # Default value.
    MEDIUM_UNSPECIFIED = 0

    # The format for conversations that took place over the phone.
    PHONE_CALL = 1

    # The format for conversations that took place over chat.
    CHAT = 2
  end
end

#name::String

Returns Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation}.

Returns:

  • (::String)

    Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation}



88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 88

class Conversation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Call-specific metadata.
  # @!attribute [rw] customer_channel
  #   @return [::Integer]
  #     The audio channel that contains the customer.
  # @!attribute [rw] agent_channel
  #   @return [::Integer]
  #     The audio channel that contains the agent.
  class CallMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message representing the transcript of a conversation.
  # @!attribute [rw] transcript_segments
  #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>]
  #     A list of sequential transcript segments that comprise the conversation.
  class Transcript
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # A segment of a full transcript.
    # @!attribute [rw] text
    #   @return [::String]
    #     The text of this segment.
    # @!attribute [rw] confidence
    #   @return [::Float]
    #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
    #     segment. A default value of 0.0 indicates that the value is unset.
    # @!attribute [rw] words
    #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>]
    #     A list of the word-specific information for each word in the segment.
    # @!attribute [rw] language_code
    #   @return [::String]
    #     The language code of this segment as a
    #     [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
    #     Example: "en-US".
    # @!attribute [rw] channel_tag
    #   @return [::Integer]
    #     For conversations derived from multi-channel audio, this is the channel
    #     number corresponding to the audio from that channel. For
    #     audioChannelCount = N, its output values can range from '1' to 'N'. A
    #     channel tag of 0 indicates that the audio is mono.
    # @!attribute [rw] segment_participant
    #   @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant]
    #     The participant of this segment.
    class TranscriptSegment
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # Word-level info for words in a transcript.
      # @!attribute [rw] start_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the start of this word relative to the beginning of
      #     the total conversation.
      # @!attribute [rw] end_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the end of this word relative to the beginning of the
      #     total conversation.
      # @!attribute [rw] word
      #   @return [::String]
      #     The word itself. Includes punctuation marks that surround the word.
      # @!attribute [rw] confidence
      #   @return [::Float]
      #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
      #     word. A default value of 0.0 indicates that the value is unset.
      class WordInfo
        include ::Google::Protobuf::MessageExts
        extend ::Google::Protobuf::MessageExts::ClassMethods
      end
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent]
  class DialogflowIntentsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible media for the conversation.
  module Medium
    # Default value.
    MEDIUM_UNSPECIFIED = 0

    # The format for conversations that took place over the phone.
    PHONE_CALL = 1

    # The format for conversations that took place over chat.
    CHAT = 2
  end
end

#runtime_annotations::Array<::Google::Cloud::ContactCenterInsights::V1::RuntimeAnnotation> (readonly)

Returns Output only. The annotations that were generated during the customer and agent interaction.

Returns:



88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 88

class Conversation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Call-specific metadata.
  # @!attribute [rw] customer_channel
  #   @return [::Integer]
  #     The audio channel that contains the customer.
  # @!attribute [rw] agent_channel
  #   @return [::Integer]
  #     The audio channel that contains the agent.
  class CallMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message representing the transcript of a conversation.
  # @!attribute [rw] transcript_segments
  #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>]
  #     A list of sequential transcript segments that comprise the conversation.
  class Transcript
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # A segment of a full transcript.
    # @!attribute [rw] text
    #   @return [::String]
    #     The text of this segment.
    # @!attribute [rw] confidence
    #   @return [::Float]
    #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
    #     segment. A default value of 0.0 indicates that the value is unset.
    # @!attribute [rw] words
    #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>]
    #     A list of the word-specific information for each word in the segment.
    # @!attribute [rw] language_code
    #   @return [::String]
    #     The language code of this segment as a
    #     [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
    #     Example: "en-US".
    # @!attribute [rw] channel_tag
    #   @return [::Integer]
    #     For conversations derived from multi-channel audio, this is the channel
    #     number corresponding to the audio from that channel. For
    #     audioChannelCount = N, its output values can range from '1' to 'N'. A
    #     channel tag of 0 indicates that the audio is mono.
    # @!attribute [rw] segment_participant
    #   @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant]
    #     The participant of this segment.
    class TranscriptSegment
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # Word-level info for words in a transcript.
      # @!attribute [rw] start_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the start of this word relative to the beginning of
      #     the total conversation.
      # @!attribute [rw] end_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the end of this word relative to the beginning of the
      #     total conversation.
      # @!attribute [rw] word
      #   @return [::String]
      #     The word itself. Includes punctuation marks that surround the word.
      # @!attribute [rw] confidence
      #   @return [::Float]
      #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
      #     word. A default value of 0.0 indicates that the value is unset.
      class WordInfo
        include ::Google::Protobuf::MessageExts
        extend ::Google::Protobuf::MessageExts::ClassMethods
      end
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent]
  class DialogflowIntentsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible media for the conversation.
  module Medium
    # Default value.
    MEDIUM_UNSPECIFIED = 0

    # The format for conversations that took place over the phone.
    PHONE_CALL = 1

    # The format for conversations that took place over chat.
    CHAT = 2
  end
end

#start_time::Google::Protobuf::Timestamp

Returns The time at which the conversation started.

Returns:



88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 88

class Conversation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Call-specific metadata.
  # @!attribute [rw] customer_channel
  #   @return [::Integer]
  #     The audio channel that contains the customer.
  # @!attribute [rw] agent_channel
  #   @return [::Integer]
  #     The audio channel that contains the agent.
  class CallMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message representing the transcript of a conversation.
  # @!attribute [rw] transcript_segments
  #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>]
  #     A list of sequential transcript segments that comprise the conversation.
  class Transcript
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # A segment of a full transcript.
    # @!attribute [rw] text
    #   @return [::String]
    #     The text of this segment.
    # @!attribute [rw] confidence
    #   @return [::Float]
    #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
    #     segment. A default value of 0.0 indicates that the value is unset.
    # @!attribute [rw] words
    #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>]
    #     A list of the word-specific information for each word in the segment.
    # @!attribute [rw] language_code
    #   @return [::String]
    #     The language code of this segment as a
    #     [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
    #     Example: "en-US".
    # @!attribute [rw] channel_tag
    #   @return [::Integer]
    #     For conversations derived from multi-channel audio, this is the channel
    #     number corresponding to the audio from that channel. For
    #     audioChannelCount = N, its output values can range from '1' to 'N'. A
    #     channel tag of 0 indicates that the audio is mono.
    # @!attribute [rw] segment_participant
    #   @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant]
    #     The participant of this segment.
    class TranscriptSegment
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # Word-level info for words in a transcript.
      # @!attribute [rw] start_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the start of this word relative to the beginning of
      #     the total conversation.
      # @!attribute [rw] end_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the end of this word relative to the beginning of the
      #     total conversation.
      # @!attribute [rw] word
      #   @return [::String]
      #     The word itself. Includes punctuation marks that surround the word.
      # @!attribute [rw] confidence
      #   @return [::Float]
      #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
      #     word. A default value of 0.0 indicates that the value is unset.
      class WordInfo
        include ::Google::Protobuf::MessageExts
        extend ::Google::Protobuf::MessageExts::ClassMethods
      end
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent]
  class DialogflowIntentsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible media for the conversation.
  module Medium
    # Default value.
    MEDIUM_UNSPECIFIED = 0

    # The format for conversations that took place over the phone.
    PHONE_CALL = 1

    # The format for conversations that took place over chat.
    CHAT = 2
  end
end

#transcript::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript (readonly)

Returns Output only. The conversation transcript.

Returns:



88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 88

class Conversation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Call-specific metadata.
  # @!attribute [rw] customer_channel
  #   @return [::Integer]
  #     The audio channel that contains the customer.
  # @!attribute [rw] agent_channel
  #   @return [::Integer]
  #     The audio channel that contains the agent.
  class CallMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message representing the transcript of a conversation.
  # @!attribute [rw] transcript_segments
  #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>]
  #     A list of sequential transcript segments that comprise the conversation.
  class Transcript
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # A segment of a full transcript.
    # @!attribute [rw] text
    #   @return [::String]
    #     The text of this segment.
    # @!attribute [rw] confidence
    #   @return [::Float]
    #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
    #     segment. A default value of 0.0 indicates that the value is unset.
    # @!attribute [rw] words
    #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>]
    #     A list of the word-specific information for each word in the segment.
    # @!attribute [rw] language_code
    #   @return [::String]
    #     The language code of this segment as a
    #     [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
    #     Example: "en-US".
    # @!attribute [rw] channel_tag
    #   @return [::Integer]
    #     For conversations derived from multi-channel audio, this is the channel
    #     number corresponding to the audio from that channel. For
    #     audioChannelCount = N, its output values can range from '1' to 'N'. A
    #     channel tag of 0 indicates that the audio is mono.
    # @!attribute [rw] segment_participant
    #   @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant]
    #     The participant of this segment.
    class TranscriptSegment
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # Word-level info for words in a transcript.
      # @!attribute [rw] start_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the start of this word relative to the beginning of
      #     the total conversation.
      # @!attribute [rw] end_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the end of this word relative to the beginning of the
      #     total conversation.
      # @!attribute [rw] word
      #   @return [::String]
      #     The word itself. Includes punctuation marks that surround the word.
      # @!attribute [rw] confidence
      #   @return [::Float]
      #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
      #     word. A default value of 0.0 indicates that the value is unset.
      class WordInfo
        include ::Google::Protobuf::MessageExts
        extend ::Google::Protobuf::MessageExts::ClassMethods
      end
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent]
  class DialogflowIntentsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible media for the conversation.
  module Medium
    # Default value.
    MEDIUM_UNSPECIFIED = 0

    # The format for conversations that took place over the phone.
    PHONE_CALL = 1

    # The format for conversations that took place over chat.
    CHAT = 2
  end
end

#ttl::Google::Protobuf::Duration

Returns Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time.

Returns:

  • (::Google::Protobuf::Duration)

    Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time.



88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 88

class Conversation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Call-specific metadata.
  # @!attribute [rw] customer_channel
  #   @return [::Integer]
  #     The audio channel that contains the customer.
  # @!attribute [rw] agent_channel
  #   @return [::Integer]
  #     The audio channel that contains the agent.
  class CallMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message representing the transcript of a conversation.
  # @!attribute [rw] transcript_segments
  #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>]
  #     A list of sequential transcript segments that comprise the conversation.
  class Transcript
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # A segment of a full transcript.
    # @!attribute [rw] text
    #   @return [::String]
    #     The text of this segment.
    # @!attribute [rw] confidence
    #   @return [::Float]
    #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
    #     segment. A default value of 0.0 indicates that the value is unset.
    # @!attribute [rw] words
    #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>]
    #     A list of the word-specific information for each word in the segment.
    # @!attribute [rw] language_code
    #   @return [::String]
    #     The language code of this segment as a
    #     [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
    #     Example: "en-US".
    # @!attribute [rw] channel_tag
    #   @return [::Integer]
    #     For conversations derived from multi-channel audio, this is the channel
    #     number corresponding to the audio from that channel. For
    #     audioChannelCount = N, its output values can range from '1' to 'N'. A
    #     channel tag of 0 indicates that the audio is mono.
    # @!attribute [rw] segment_participant
    #   @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant]
    #     The participant of this segment.
    class TranscriptSegment
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # Word-level info for words in a transcript.
      # @!attribute [rw] start_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the start of this word relative to the beginning of
      #     the total conversation.
      # @!attribute [rw] end_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the end of this word relative to the beginning of the
      #     total conversation.
      # @!attribute [rw] word
      #   @return [::String]
      #     The word itself. Includes punctuation marks that surround the word.
      # @!attribute [rw] confidence
      #   @return [::Float]
      #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
      #     word. A default value of 0.0 indicates that the value is unset.
      class WordInfo
        include ::Google::Protobuf::MessageExts
        extend ::Google::Protobuf::MessageExts::ClassMethods
      end
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent]
  class DialogflowIntentsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible media for the conversation.
  module Medium
    # Default value.
    MEDIUM_UNSPECIFIED = 0

    # The format for conversations that took place over the phone.
    PHONE_CALL = 1

    # The format for conversations that took place over chat.
    CHAT = 2
  end
end

#turn_count::Integer (readonly)

Returns Output only. The number of turns in the conversation.

Returns:

  • (::Integer)

    Output only. The number of turns in the conversation.



88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 88

class Conversation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Call-specific metadata.
  # @!attribute [rw] customer_channel
  #   @return [::Integer]
  #     The audio channel that contains the customer.
  # @!attribute [rw] agent_channel
  #   @return [::Integer]
  #     The audio channel that contains the agent.
  class CallMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message representing the transcript of a conversation.
  # @!attribute [rw] transcript_segments
  #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>]
  #     A list of sequential transcript segments that comprise the conversation.
  class Transcript
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # A segment of a full transcript.
    # @!attribute [rw] text
    #   @return [::String]
    #     The text of this segment.
    # @!attribute [rw] confidence
    #   @return [::Float]
    #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
    #     segment. A default value of 0.0 indicates that the value is unset.
    # @!attribute [rw] words
    #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>]
    #     A list of the word-specific information for each word in the segment.
    # @!attribute [rw] language_code
    #   @return [::String]
    #     The language code of this segment as a
    #     [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
    #     Example: "en-US".
    # @!attribute [rw] channel_tag
    #   @return [::Integer]
    #     For conversations derived from multi-channel audio, this is the channel
    #     number corresponding to the audio from that channel. For
    #     audioChannelCount = N, its output values can range from '1' to 'N'. A
    #     channel tag of 0 indicates that the audio is mono.
    # @!attribute [rw] segment_participant
    #   @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant]
    #     The participant of this segment.
    class TranscriptSegment
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # Word-level info for words in a transcript.
      # @!attribute [rw] start_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the start of this word relative to the beginning of
      #     the total conversation.
      # @!attribute [rw] end_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the end of this word relative to the beginning of the
      #     total conversation.
      # @!attribute [rw] word
      #   @return [::String]
      #     The word itself. Includes punctuation marks that surround the word.
      # @!attribute [rw] confidence
      #   @return [::Float]
      #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
      #     word. A default value of 0.0 indicates that the value is unset.
      class WordInfo
        include ::Google::Protobuf::MessageExts
        extend ::Google::Protobuf::MessageExts::ClassMethods
      end
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent]
  class DialogflowIntentsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible media for the conversation.
  module Medium
    # Default value.
    MEDIUM_UNSPECIFIED = 0

    # The format for conversations that took place over the phone.
    PHONE_CALL = 1

    # The format for conversations that took place over chat.
    CHAT = 2
  end
end

#update_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The most recent time at which the conversation was updated.

Returns:



88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 88

class Conversation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Call-specific metadata.
  # @!attribute [rw] customer_channel
  #   @return [::Integer]
  #     The audio channel that contains the customer.
  # @!attribute [rw] agent_channel
  #   @return [::Integer]
  #     The audio channel that contains the agent.
  class CallMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message representing the transcript of a conversation.
  # @!attribute [rw] transcript_segments
  #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>]
  #     A list of sequential transcript segments that comprise the conversation.
  class Transcript
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # A segment of a full transcript.
    # @!attribute [rw] text
    #   @return [::String]
    #     The text of this segment.
    # @!attribute [rw] confidence
    #   @return [::Float]
    #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
    #     segment. A default value of 0.0 indicates that the value is unset.
    # @!attribute [rw] words
    #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>]
    #     A list of the word-specific information for each word in the segment.
    # @!attribute [rw] language_code
    #   @return [::String]
    #     The language code of this segment as a
    #     [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
    #     Example: "en-US".
    # @!attribute [rw] channel_tag
    #   @return [::Integer]
    #     For conversations derived from multi-channel audio, this is the channel
    #     number corresponding to the audio from that channel. For
    #     audioChannelCount = N, its output values can range from '1' to 'N'. A
    #     channel tag of 0 indicates that the audio is mono.
    # @!attribute [rw] segment_participant
    #   @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant]
    #     The participant of this segment.
    class TranscriptSegment
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # Word-level info for words in a transcript.
      # @!attribute [rw] start_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the start of this word relative to the beginning of
      #     the total conversation.
      # @!attribute [rw] end_offset
      #   @return [::Google::Protobuf::Duration]
      #     Time offset of the end of this word relative to the beginning of the
      #     total conversation.
      # @!attribute [rw] word
      #   @return [::String]
      #     The word itself. Includes punctuation marks that surround the word.
      # @!attribute [rw] confidence
      #   @return [::Float]
      #     A confidence estimate between 0.0 and 1.0 of the fidelity of this
      #     word. A default value of 0.0 indicates that the value is unset.
      class WordInfo
        include ::Google::Protobuf::MessageExts
        extend ::Google::Protobuf::MessageExts::ClassMethods
      end
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent]
  class DialogflowIntentsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible media for the conversation.
  module Medium
    # Default value.
    MEDIUM_UNSPECIFIED = 0

    # The format for conversations that took place over the phone.
    PHONE_CALL = 1

    # The format for conversations that took place over chat.
    CHAT = 2
  end
end