# Google Cloud Web Security Scanner V1 Client - Class IapTestServiceAccountInfo (1.2.0)

1.2.0 (latest) 1.1.2 1.0.5 0.8.5 0.7.18 Reference documentation and code samples for the Google Cloud Web Security Scanner V1 Client class IapTestServiceAccountInfo.

Describes authentication configuration when Web-Security-Scanner
service account is added in Identity-Aware-Proxy (IAP) access policies.

Generated from protobuf message `google.cloud.websecurityscanner.v1.ScanConfig.Authentication.IapCredential.IapTestServiceAccountInfo`

## Namespace

Google \\ Cloud \\ WebSecurityScanner \\ V1 \\ ScanConfig \\ Authentication \\ IapCredential

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ target_audience_client_id` | `string` Required. Describes OAuth2 client id of resources protected by Identity-Aware-Proxy (IAP). |

### getTargetAudienceClientId

Required. Describes OAuth2 client id of resources protected by
Identity-Aware-Proxy (IAP).

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

### setTargetAudienceClientId

Required. Describes OAuth2 client id of resources protected by
Identity-Aware-Proxy (IAP).

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

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