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

Terraform input and output metadata.

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

## Namespace

Google \\ Cloud \\ DesignCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ terraform_input` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.TerraformInput>` Output only. Terraform inputs. |
| `↳ terraform_output` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.TerraformOutput>` Output only. Terraform outputs. |
| `↳ apis` | `string[]` Output only. APIs that must be enabled to deploy the template, in the form of "compute.googleapis.com". |
| `↳ roles` | `string[]` Output only. IAM roles required by the service account deploying the template, in the form of "roles/compute.admin". |
| `↳ deployment_duration` | `Google\Protobuf\Duration` Optional. The time estimate for deploying the blueprint. |
| `↳ icon_uri` | `string` Output only. The icon URI for the blueprint. |
| `↳ connections` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.TerraformInputConnections>` Output only. Union of all the Terraform input connections. |
| `↳ ui_metadata` | `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.TerraformBlueprintUiMetadata` Output only. UI metadata for the blueprint. |
| `↳ provider_versions` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.ProviderVersion>` Output only. Provider versions required to deploy the blueprint. |

### getTerraformInput

Output only. Terraform inputs.

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

### setTerraformInput

Output only. Terraform inputs.

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

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

### getTerraformOutput

Output only. Terraform outputs.

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

### setTerraformOutput

Output only. Terraform outputs.

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

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

### getApis

Output only. APIs that must be enabled to deploy the template, in the form
of "compute.googleapis.com".

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<string>` |   |

### setApis

Output only. APIs that must be enabled to deploy the template, in the form
of "compute.googleapis.com".

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

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

### getRoles

Output only. IAM roles required by the service account deploying the
template, in the form of "roles/compute.admin".

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<string>` |   |

### setRoles

Output only. IAM roles required by the service account deploying the
template, in the form of "roles/compute.admin".

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

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

### getDeploymentDuration

Optional. The time estimate for deploying the blueprint.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Duration|null` |   |

### hasDeploymentDuration

### clearDeploymentDuration

### setDeploymentDuration

Optional. The time estimate for deploying the blueprint.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Duration` |

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

### getIconUri

Output only. The icon URI for the blueprint.

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

### setIconUri

Output only. The icon URI for the blueprint.

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

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

### getConnections

Output only. Union of all the Terraform input connections.

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

### setConnections

Output only. Union of all the Terraform input connections.

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

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

### getUiMetadata

Output only. UI metadata for the blueprint.

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

### hasUiMetadata

### clearUiMetadata

### setUiMetadata

Output only. UI metadata for the blueprint.

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

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

### getProviderVersions

Output only. Provider versions required to deploy the blueprint.

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

### setProviderVersions

Output only. Provider versions required to deploy the blueprint.

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

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