# Google Anthos Multi Cloud V1 Client - Class WorkloadIdentityConfig (1.4.1)

1.4.1 (latest) 1.4.0 1.3.1 1.2.2 1.1.2 1.0.0 0.6.1 0.5.4 0.4.4 0.3.0 0.2.3 0.1.4 Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class WorkloadIdentityConfig.

Workload Identity settings.

Generated from protobuf message `google.cloud.gkemulticloud.v1.WorkloadIdentityConfig`

## Namespace

Google \\ Cloud \\ GkeMultiCloud \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ issuer_uri` | `string` The OIDC issuer URL for this cluster. |
| `↳ workload_pool` | `string` The Workload Identity Pool associated to the cluster. |
| `↳ identity_provider` | `string` The ID of the OIDC Identity Provider (IdP) associated to the Workload Identity Pool. |

### getIssuerUri

The OIDC issuer URL for this cluster.

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

### setIssuerUri

The OIDC issuer URL for this cluster.

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

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

### getWorkloadPool

The Workload Identity Pool associated to the cluster.

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

### setWorkloadPool

The Workload Identity Pool associated to the cluster.

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

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

### getIdentityProvider

The ID of the OIDC Identity Provider (IdP) associated to the Workload
Identity Pool.

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

### setIdentityProvider

The ID of the OIDC Identity Provider (IdP) associated to the Workload
Identity Pool.

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

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