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

Request message for ExportApplicationIaC method.

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

## Namespace

Google \\ Cloud \\ DesignCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The name of the application. |
| `↳ iac_format` | `int` Optional. The IaC format to generate. |
| `↳ artifact_location` | `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.ArtifactLocation` Optional. Specifies the destination for the generated IaC, which can be Cloud Storage or a Developer Connect repository. |
| `↳ export_iac_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.ExportIaCConfig` Optional. Configuration for exporting IaC. |

### getName

Required. The name of the application.

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

### setName

Required. The name of the application.

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

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

### getIacFormat

Optional. The IaC format to generate.

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

### setIacFormat

Optional. The IaC format to generate.

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

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

### getArtifactLocation

Optional. Specifies the destination for the generated IaC, which can be
Cloud Storage or a Developer Connect repository.

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

### hasArtifactLocation

### clearArtifactLocation

### setArtifactLocation

Optional. Specifies the destination for the generated IaC, which can be
Cloud Storage or a Developer Connect repository.

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

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

### getExportIacConfig

Optional. Configuration for exporting IaC.

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

### hasExportIacConfig

### clearExportIacConfig

### setExportIacConfig

Optional. Configuration for exporting IaC.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the application. Please see DesignCenterClient::applicationName() for help formatting this field. |

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