# Google Cloud Backup Dr V1 Client - Class WorkforceIdentityBasedOAuth2ClientID (0.13.0)

0.13.0 (latest) 0.12.1 0.11.1 0.10.0 0.9.0 0.8.1 0.7.0 0.6.2 0.5.1 0.4.2 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class WorkforceIdentityBasedOAuth2ClientID.

OAuth Client ID depending on the Workforce Identity i.e. either 1p or 3p,

Generated from protobuf message `google.cloud.backupdr.v1.WorkforceIdentityBasedOAuth2ClientID`

## Namespace

Google \\ Cloud \\ BackupDR \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ first_party_oauth2_client_id` | `string` Output only. First party OAuth Client ID for Google Identities. |
| `↳ third_party_oauth2_client_id` | `string` Output only. Third party OAuth Client ID for External Identity Providers. |

### getFirstPartyOauth2ClientId

Output only. First party OAuth Client ID for Google Identities.

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

### setFirstPartyOauth2ClientId

Output only. First party OAuth Client ID for Google Identities.

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

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

### getThirdPartyOauth2ClientId

Output only. Third party OAuth Client ID for External Identity Providers.

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

### setThirdPartyOauth2ClientId

Output only. Third party OAuth Client ID for External Identity Providers.

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

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