Class Conversation (1.35.0)

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

Represents a conversation.

Attributes

Name Description
name str
Identifier. The identifier of the conversation. If conversation ID is reused, interactions happened later than 48 hours of the conversation's create time will be ignored. Format: projects/
type_ google.cloud.dialogflowcx_v3beta1.types.Conversation.Type
The type of the conversation.
language_code str
The language of the conversation, which is the language of the first request in the conversation.
start_time google.protobuf.timestamp_pb2.Timestamp
Start time of the conversation, which is the time of the first request of the conversation.
duration google.protobuf.duration_pb2.Duration
Duration of the conversation.
metrics google.cloud.dialogflowcx_v3beta1.types.Conversation.Metrics
Conversation metrics.
intents MutableSequence[google.cloud.dialogflowcx_v3beta1.types.Intent]
All the matched Intent in the conversation. Only name and display_name are filled in this message.
flows MutableSequence[google.cloud.dialogflowcx_v3beta1.types.Flow]
All the Flow the conversation has went through. Only name and display_name are filled in this message.
pages MutableSequence[google.cloud.dialogflowcx_v3beta1.types.Page]
All the Page the conversation has went through. Only name and display_name are filled in this message.
interactions MutableSequence[google.cloud.dialogflowcx_v3beta1.types.Conversation.Interaction]
Interactions of the conversation. Only populated for GetConversation and empty for ListConversations.
environment google.cloud.dialogflowcx_v3beta1.types.Environment
Environment of the conversation. Only name and display_name are filled in this message.
flow_versions MutableMapping[str, int]
Flow versions used in the conversation.

Classes

FlowVersionsEntry

FlowVersionsEntry(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, .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.

Interaction

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

Represents an interaction between an end user and a Dialogflow CX agent using V3 (Streaming)DetectIntent API, or an interaction between an end user and a Dialogflow CX agent using V2 (Streaming)AnalyzeContent API.

Metrics

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

Represents metrics for the conversation.

Type

Type(value)

Represents the type of a conversation.