0.6.0 (latest) 0.5.0 0.4.4 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Ces V1 Client class VariableDeclaration.

Defines the structure and metadata for a variable.

Generated from protobuf message `google.cloud.ces.v1.App.VariableDeclaration`

## Namespace

Google \\ Cloud \\ Ces \\ V1 \\ App

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The name of the variable. The name must start with a letter or underscore and contain only letters, numbers, or underscores. |
| `↳ description` | `string` Required. The description of the variable. |
| `↳ schema` | `Google\Cloud\Ces\V1\Schema` Required. The schema of the variable. |

### getName

Required. The name of the variable. The name must start with a letter or
underscore and contain only letters, numbers, or underscores.

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

### setName

Required. The name of the variable. The name must start with a letter or
underscore and contain only letters, numbers, or underscores.

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

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

### getDescription

Required. The description of the variable.

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

### setDescription

Required. The description of the variable.

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

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

### getSchema

Required. The schema of the variable.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Cloud\Ces\V1\Schema|null` |   |

### hasSchema

### clearSchema

### setSchema

Required. The schema of the variable.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Cloud\Ces\V1\Schema` |

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