Conversation(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The conversation resource.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes | |
---|---|
Name | Description |
call_metadata |
google.cloud.contact_center_insights_v1.types.Conversation.CallMetadata
Call-specific metadata. This field is a member of oneof _ 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. This field is a member of oneof _ expiration .
|
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. This field is a member of oneof _ expiration .
|
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 |
MutableMapping[str, str]
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, if unspecified will default to PHONE_CALL. |
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 |
MutableSequence[google.cloud.contact_center_insights_v1.types.RuntimeAnnotation]
Output only. The annotations that were generated during the customer and agent interaction. |
dialogflow_intents |
MutableMapping[str, google.cloud.contact_center_insights_v1.types.DialogflowIntent]
Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent} |
obfuscated_user_id |
str
Obfuscated user ID which the customer sent to us. |
Classes
CallMetadata
CallMetadata(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Call-specific metadata.
DialogflowIntentsEntry
DialogflowIntentsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Parameters | |
---|---|
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
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 |
LabelsEntry
LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Parameters | |
---|---|
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
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 |
Medium
Medium(value)
Possible media for the conversation.
Values: MEDIUM_UNSPECIFIED (0): Default value, if unspecified will default to PHONE_CALL. PHONE_CALL (1): The format for conversations that took place over the phone. CHAT (2): The format for conversations that took place over chat.
Transcript
Transcript(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A message representing the transcript of a conversation.