# Google Cloud Config V1 Client - Class TerraformBlueprint (1.8.0)

1.8.0 (latest) 1.7.2 1.6.1 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.5.2 0.2.0 0.1.3 Reference documentation and code samples for the Google Cloud Config V1 Client class TerraformBlueprint.

TerraformBlueprint describes the source of a Terraform root module which
describes the resources and configs to be deployed.

Generated from protobuf message `google.cloud.config.v1.TerraformBlueprint`

## Namespace

Google \\ Cloud \\ Config \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ gcs_source` | `string` URI of an object in Google Cloud Storage. Format: `gs://{bucket}/{object}` URI may also specify an object version for zipped objects. Format: `gs://{bucket}/{object}#{version}` |
| `↳ git_source` | `https://docs.cloud.google.com/php/docs/reference/cloud-config/latest/V1.GitSource` URI of a public Git repo. |
| `↳ input_values` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` Optional. Input variable values for the Terraform blueprint. |
| `↳ external_values` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` Optional. Map of input variable names in this blueprint to configurations for importing values from external sources. |

### getGcsSource

URI of an object in Google Cloud Storage.

Format: `gs://{bucket}/{object}`
URI may also specify an object version for zipped objects.
Format: `gs://{bucket}/{object}#{version}`

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

### hasGcsSource

### setGcsSource

URI of an object in Google Cloud Storage.

Format: `gs://{bucket}/{object}`
URI may also specify an object version for zipped objects.
Format: `gs://{bucket}/{object}#{version}`

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

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

### getGitSource

URI of a public Git repo.

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

### hasGitSource

### setGitSource

URI of a public Git repo.

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

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

### getInputValues

Optional. Input variable values for the Terraform blueprint.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |   |

### setInputValues

Optional. Input variable values for the Terraform blueprint.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |

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

### getExternalValues

Optional. Map of input variable names in this blueprint to configurations
for importing values from external sources.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |   |

### setExternalValues

Optional. Map of input variable names in this blueprint to configurations
for importing values from external sources.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |

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

### getSource

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