# Google Cloud Config V1 Client - Class ResourceDriftTerraformInfo (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 ResourceDriftTerraformInfo.

Terraform info of a ResourceChange.

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

## Namespace

Google \\ Cloud \\ Config \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ address` | `string` Output only. The address of the drifted resource. |
| `↳ type` | `string` Output only. The type of the drifted resource. |
| `↳ resource_name` | `string` Output only. TF resource name. |
| `↳ provider` | `string` Output only. The provider of the drifted resource. |

### getAddress

Output only. The address of the drifted resource.

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

### setAddress

Output only. The address of the drifted resource.

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

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

### getType

Output only. The type of the drifted resource.

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

### setType

Output only. The type of the drifted resource.

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

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

### getResourceName

Output only. TF resource name.

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

### setResourceName

Output only. TF resource name.

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

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

### getProvider

Output only. The provider of the drifted resource.

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

### setProvider

Output only. The provider of the drifted resource.

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

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