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

Response message for ImportApplicationIaC method.

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

## Namespace

Google \\ Cloud \\ DesignCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ application` | `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.Application` Application template corresponding to the imported IaC. |
| `↳ errors` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.ImportIaCError>` Errors encountered during import. |
| `↳ state` | `int` The state of the import. |

### getApplication

Application template corresponding to the imported IaC.

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

### hasApplication

### clearApplication

### setApplication

Application template corresponding to the imported IaC.

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

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

### getErrors

Errors encountered during import.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.ImportIaCError>` |   |

### setErrors

Errors encountered during import.

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

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

### getState

The state of the import.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [State](https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.ImportApplicationIaCResponse.State). |

### setState

The state of the import.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [State](https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.ImportApplicationIaCResponse.State). |

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