# Web Security Scanner V1 API - Class Google::Cloud::WebSecurityScanner::V1::ScanConfig::Authentication::IapCredential (v1.6.0)

1.6.0 (latest) 1.5.1 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.10.0 0.9.2 0.8.0 0.7.1 0.6.0 0.5.0 0.4.1 0.3.5 Reference documentation and code samples for the Web Security Scanner V1 API class Google::Cloud::WebSecurityScanner::V1::ScanConfig::Authentication::IapCredential.

Describes authentication configuration for Identity-Aware-Proxy (IAP).

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #iap_test_service_account_info

    def iap_test_service_account_info() -> ::Google::Cloud::WebSecurityScanner::V1::ScanConfig::Authentication::IapCredential::IapTestServiceAccountInfo

**Returns**

- ([::Google::Cloud::WebSecurityScanner::V1::ScanConfig::Authentication::IapCredential::IapTestServiceAccountInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-ScanConfig-Authentication-IapCredential-IapTestServiceAccountInfo)) --- Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.

### #iap_test_service_account_info=

    def iap_test_service_account_info=(value) -> ::Google::Cloud::WebSecurityScanner::V1::ScanConfig::Authentication::IapCredential::IapTestServiceAccountInfo

**Parameter**

- **value** ([::Google::Cloud::WebSecurityScanner::V1::ScanConfig::Authentication::IapCredential::IapTestServiceAccountInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-ScanConfig-Authentication-IapCredential-IapTestServiceAccountInfo)) --- Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.
**Returns**

- ([::Google::Cloud::WebSecurityScanner::V1::ScanConfig::Authentication::IapCredential::IapTestServiceAccountInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-ScanConfig-Authentication-IapCredential-IapTestServiceAccountInfo)) --- Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.