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

Request message for GenerateApplicationTemplateIaC method.

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

## 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 template. |
| `↳ iac_format` | `int` Optional. The IaC format to generate. |
| `↳ gcs_uri` | `string` Optional. DEPRECATED: Use the 'artifact_location' field instead. The Cloud Storage URI to write the generated IaC to. |
| `↳ 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. |

### getName

Required. The name of the application template.

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

### setName

Required. The name of the application template.

| **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.GenerateApplicationTemplateIaCRequest.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.GenerateApplicationTemplateIaCRequest.IACFormat). |

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

### getGcsUri

Optional. DEPRECATED: Use the 'artifact_location' field instead.

The Cloud Storage URI to write the generated IaC to.

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

### setGcsUri

Optional. DEPRECATED: Use the 'artifact_location' field instead.

The Cloud Storage URI to write the generated IaC to.

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

| **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` |   |

### static::build

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

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