# Google Cloud Channel V1 Client - Class Parameter (2.4.1)

2.4.1 (latest) 2.4.0 2.3.1 2.2.1 2.1.4 2.0.0 1.9.5 1.8.2 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.1 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Channel V1 Client class Parameter.

Definition for extended entitlement parameters.

Generated from protobuf message `google.cloud.channel.v1.Parameter`

## Namespace

Google \\ Cloud \\ Channel \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Name of the parameter. |
| `↳ value` | `https://docs.cloud.google.com/php/docs/reference/cloud-channel/latest/V1.Value` Value of the parameter. |
| `↳ editable` | `bool` Output only. Specifies whether this parameter is allowed to be changed. For example, for a Google Workspace Business Starter entitlement in commitment plan, num_units is editable when entitlement is active. |

### getName

Name of the parameter.

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

### setName

Name of the parameter.

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

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

### getValue

Value of the parameter.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-channel/latest/V1.Value|null` |   |

### hasValue

### clearValue

### setValue

Value of the parameter.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-channel/latest/V1.Value` |

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

### getEditable

Output only. Specifies whether this parameter is allowed to be changed. For
example, for a Google Workspace Business Starter entitlement in commitment
plan, num_units is editable when entitlement is active.

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

### setEditable

Output only. Specifies whether this parameter is allowed to be changed. For
example, for a Google Workspace Business Starter entitlement in commitment
plan, num_units is editable when entitlement is active.

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

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