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

Represents a dependency on a Terraform provider.

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

## Namespace

Google \\ Cloud \\ DesignCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Optional. Name of the provider. |
| `↳ provider_namespace` | `string` Optional. Namespace of the provider (e.g., "hashicorp"). |
| `↳ source` | `string` Optional. Source path of the provider. |
| `↳ version` | `string` Optional. Version constraints for the provider. |

### getName

Optional. Name of the provider.

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

### setName

Optional. Name of the provider.

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

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

### getProviderNamespace

Optional. Namespace of the provider (e.g., "hashicorp").

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

### setProviderNamespace

Optional. Namespace of the provider (e.g., "hashicorp").

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

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

### getSource

Optional. Source path of the provider.

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

### setSource

Optional. Source path of the provider.

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

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

### getVersion

Optional. Version constraints for the provider.

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

### setVersion

Optional. Version constraints for the provider.

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

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