# Google Cloud Managed Kafka Schema Registry V1 Client - Class CreateVersionResponse (0.3.0)

0.3.0 (latest) 0.2.2 0.1.1 Reference documentation and code samples for the Google Cloud Managed Kafka Schema Registry V1 Client class CreateVersionResponse.

Response for CreateVersion.

Generated from protobuf message `google.cloud.managedkafka.schemaregistry.v1.CreateVersionResponse`

## Namespace

Google \\ Cloud \\ ManagedKafka \\ SchemaRegistry \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ id` | `int` The unique identifier of the schema created. |

### getId

The unique identifier of the schema created.

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

### setId

The unique identifier of the schema created.

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

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