Class Conversation (0.4.0)

Conversation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The conversation resource.

Attributes

NameDescription
call_metadata google.cloud.contact_center_insights_v1.types.Conversation.CallMetadata
Call-specific metadata.
expire_time google.protobuf.timestamp_pb2.Timestamp
The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted.
ttl google.protobuf.duration_pb2.Duration
Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time.
name str
Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation}
data_source google.cloud.contact_center_insights_v1.types.ConversationDataSource
The source of the audio and transcription for the conversation.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time at which the conversation was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The most recent time at which the conversation was updated.
start_time google.protobuf.timestamp_pb2.Timestamp
The time at which the conversation started.
language_code str
A user-specified language code for the conversation.
agent_id str
An opaque, user-specified string representing the human agent who handled the conversation.
labels Sequence[google.cloud.contact_center_insights_v1.types.Conversation.LabelsEntry]
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.
transcript google.cloud.contact_center_insights_v1.types.Conversation.Transcript
Output only. The conversation transcript.
medium google.cloud.contact_center_insights_v1.types.Conversation.Medium
Immutable. The conversation medium.
duration google.protobuf.duration_pb2.Duration
Output only. The duration of the conversation.
turn_count int
Output only. The number of turns in the conversation.
latest_analysis google.cloud.contact_center_insights_v1.types.Analysis
Output only. The conversation's latest analysis, if one exists.
runtime_annotations Sequence[google.cloud.contact_center_insights_v1.types.RuntimeAnnotation]
Output only. The annotations that were generated during the customer and agent interaction.
dialogflow_intents Sequence[google.cloud.contact_center_insights_v1.types.Conversation.DialogflowIntentsEntry]
Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent}

Classes

CallMetadata

CallMetadata(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Call-specific metadata. .. attribute:: customer_channel

The audio channel that contains the customer.

:type: int

DialogflowIntentsEntry

DialogflowIntentsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

Medium

Medium(value)

Possible media for the conversation.

Transcript

Transcript(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A message representing the transcript of a conversation. .. attribute:: transcript_segments

A list of sequential transcript segments that comprise the conversation.

:type: Sequence[google.cloud.contact_center_insights_v1.types.Conversation.Transcript.TranscriptSegment]