# Google Cloud Dialogflow Cx V3 Client - Class ParameterDefinition (0.11.1)

0.11.1 (latest) 0.11.0 0.10.2 0.9.2 0.8.1 0.7.2 0.6.0 0.5.2 0.4.1 0.3.4 0.2.1 0.1.1 Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class ParameterDefinition.

Defines the properties of a parameter.

Used to define parameters used in the agent and the
input / output parameters for each fulfillment.

Generated from protobuf message `google.cloud.dialogflow.cx.v3.ParameterDefinition`

## Namespace

Google \\ Cloud \\ Dialogflow \\ Cx \\ V3

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. Name of parameter. |
| `↳ type` | `int` Type of parameter. |
| `↳ type_schema` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.TypeSchema` Optional. Type schema of parameter. |
| `↳ description` | `string` Human-readable description of the parameter. Limited to 300 characters. |

### getName

Required. Name of parameter.

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

### setName

Required. Name of parameter.

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

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

### getType

Type of parameter.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [ParameterType](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.ParameterDefinition.ParameterType). |

### setType

Type of parameter.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [ParameterType](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.ParameterDefinition.ParameterType). |

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

### getTypeSchema

Optional. Type schema of parameter.

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

### hasTypeSchema

### clearTypeSchema

### setTypeSchema

Optional. Type schema of parameter.

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

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

### getDescription

Human-readable description of the parameter. Limited to 300 characters.

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

### setDescription

Human-readable description of the parameter. Limited to 300 characters.

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

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