# Class Conversation (2.6.0)

2.6.0 (latest) 2.1.0 2.0.0 1.43.0 1.42.0 1.41.1 1.40.0 1.39.0 1.38.0 1.37.0 1.36.0 1.35.0 1.34.1 1.33.0 1.32.1 1.31.1 1.30.1 1.29.0 1.28.0 1.27.0 1.26.0 1.25.0 1.24.0 1.23.1 1.22.0 1.21.0 1.20.1 1.19.0 1.18.0 1.17.1 1.16.0 1.15.0 1.14.1 1.13.5 1.12.1 1.11.0 1.10.0 1.9.1 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.2 1.2.0 1.1.1 1.0.0 0.8.2 0.7.1 0.6.0 0.5.0 0.4.1 0.3.0 0.2.0 0.1.1

    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_` | `https://docs.cloud.google.com/python/docs/reference/dialogflow-cx/latest/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` | `https://docs.cloud.google.com/python/docs/reference/dialogflow-cx/latest/google.cloud.dialogflowcx_v3beta1.types.Conversation.Metrics` Conversation metrics. |
| `intents` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/dialogflow-cx/latest/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[https://docs.cloud.google.com/python/docs/reference/dialogflow-cx/latest/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[https://docs.cloud.google.com/python/docs/reference/dialogflow-cx/latest/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[https://docs.cloud.google.com/python/docs/reference/dialogflow-cx/latest/google.cloud.dialogflowcx_v3beta1.types.Conversation.Interaction]` Interactions of the conversation. Only populated for `GetConversation` and empty for `ListConversations`. |
| `environment` | `https://docs.cloud.google.com/python/docs/reference/dialogflow-cx/latest/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.