Reference documentation and code samples for the Google Cloud Design Center V1 Client class MetadataInput.

Metadata for the input

Generated from protobuf message `google.cloud.designcenter.v1.MetadataInput`

## Namespace

Google \\ Cloud \\ DesignCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ spec` | `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.MetadataInputSpec` Required. spec containing the metadata |

### getSpec

Required. spec containing the metadata

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

### hasSpec

### clearSpec

### setSpec

Required. spec containing the metadata

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

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