# Google Cloud Dialogflow V2 Client - Class ConversationDataset (2.4.0)

2.4.0 (latest) 2.3.1 2.2.1 2.1.2 2.0.1 1.17.2 1.16.0 1.15.1 1.14.0 1.13.0 1.12.3 1.11.0 1.10.2 1.9.0 1.8.0 1.7.2 1.6.0 1.5.0 1.4.0 1.3.2 1.2.0 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class ConversationDataset.

Represents a conversation dataset that a user imports raw data into.

The data inside ConversationDataset can not be changed after
ImportConversationData finishes (and calling ImportConversationData on a
dataset that already has data is not allowed).

Generated from protobuf message `google.cloud.dialogflow.v2.ConversationDataset`

## Namespace

Google \\ Cloud \\ Dialogflow \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Output only. ConversationDataset resource name. Format: `projects/<Project ID>/locations/<Location ID>/conversationDatasets/<Conversation Dataset ID>` |
| `↳ display_name` | `string` Required. The display name of the dataset. Maximum of 64 bytes. |
| `↳ description` | `string` Optional. The description of the dataset. Maximum of 10000 bytes. |
| `↳ create_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. Creation time of this dataset. |
| `↳ input_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.InputConfig` Output only. Input configurations set during conversation data import. |
| `↳ conversation_info` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.ConversationInfo` Output only. Metadata set during conversation data import. |
| `↳ conversation_count` | `int|string` Output only. The number of conversations this conversation dataset contains. |
| `↳ satisfies_pzi` | `bool` Output only. A read only boolean field reflecting Zone Isolation status of the dataset. |
| `↳ satisfies_pzs` | `bool` Output only. A read only boolean field reflecting Zone Separation status of the dataset. |

### getName

Output only. ConversationDataset resource name. Format:
`projects/<Project ID>/locations/<Location
ID>/conversationDatasets/<Conversation Dataset ID>`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Output only. ConversationDataset resource name. Format:
`projects/<Project ID>/locations/<Location
ID>/conversationDatasets/<Conversation Dataset ID>`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDisplayName

Required. The display name of the dataset. Maximum of 64 bytes.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDisplayName

Required. The display name of the dataset. Maximum of 64 bytes.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDescription

Optional. The description of the dataset. Maximum of 10000 bytes.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDescription

Optional. The description of the dataset. Maximum of 10000 bytes.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCreateTime

Output only. Creation time of this dataset.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasCreateTime

### clearCreateTime

### setCreateTime

Output only. Creation time of this dataset.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getInputConfig

Output only. Input configurations set during conversation data import.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.InputConfig|null` |   |

### hasInputConfig

### clearInputConfig

### setInputConfig

Output only. Input configurations set during conversation data import.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.InputConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getConversationInfo

Output only. Metadata set during conversation data import.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.ConversationInfo|null` |   |

### hasConversationInfo

### clearConversationInfo

### setConversationInfo

Output only. Metadata set during conversation data import.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.ConversationInfo` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getConversationCount

Output only. The number of conversations this conversation dataset
contains.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### setConversationCount

Output only. The number of conversations this conversation dataset
contains.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSatisfiesPzi

Output only. A read only boolean field reflecting Zone Isolation status of
the dataset.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### hasSatisfiesPzi

### clearSatisfiesPzi

### setSatisfiesPzi

Output only. A read only boolean field reflecting Zone Isolation status of
the dataset.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSatisfiesPzs

Output only. A read only boolean field reflecting Zone Separation status of
the dataset.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### hasSatisfiesPzs

### clearSatisfiesPzs

### setSatisfiesPzs

Output only. A read only boolean field reflecting Zone Separation status of
the dataset.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |