# Web Security Scanner V1 API - Class Google::Cloud::WebSecurityScanner::V1::ScanConfig::Authentication (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.

Scan authentication configuration.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #custom_account

    def custom_account() -> ::Google::Cloud::WebSecurityScanner::V1::ScanConfig::Authentication::CustomAccount

**Returns**

- ([::Google::Cloud::WebSecurityScanner::V1::ScanConfig::Authentication::CustomAccount](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-ScanConfig-Authentication-CustomAccount)) --- Authentication using a custom account.


  Note: The following fields are mutually exclusive: `custom_account`, `google_account`, `iap_credential`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #custom_account=

    def custom_account=(value) -> ::Google::Cloud::WebSecurityScanner::V1::ScanConfig::Authentication::CustomAccount

**Parameter**

- **value** ([::Google::Cloud::WebSecurityScanner::V1::ScanConfig::Authentication::CustomAccount](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-ScanConfig-Authentication-CustomAccount)) --- Authentication using a custom account.


  Note: The following fields are mutually exclusive: `custom_account`, `google_account`, `iap_credential`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::WebSecurityScanner::V1::ScanConfig::Authentication::CustomAccount](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-ScanConfig-Authentication-CustomAccount)) --- Authentication using a custom account.


  Note: The following fields are mutually exclusive: `custom_account`, `google_account`, `iap_credential`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #google_account

    def google_account() -> ::Google::Cloud::WebSecurityScanner::V1::ScanConfig::Authentication::GoogleAccount

**Returns**

- ([::Google::Cloud::WebSecurityScanner::V1::ScanConfig::Authentication::GoogleAccount](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-ScanConfig-Authentication-GoogleAccount)) --- Authentication using a Google account.


  Note: The following fields are mutually exclusive: `google_account`, `custom_account`, `iap_credential`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #google_account=

    def google_account=(value) -> ::Google::Cloud::WebSecurityScanner::V1::ScanConfig::Authentication::GoogleAccount

**Parameter**

- **value** ([::Google::Cloud::WebSecurityScanner::V1::ScanConfig::Authentication::GoogleAccount](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-ScanConfig-Authentication-GoogleAccount)) --- Authentication using a Google account.


  Note: The following fields are mutually exclusive: `google_account`, `custom_account`, `iap_credential`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::WebSecurityScanner::V1::ScanConfig::Authentication::GoogleAccount](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-ScanConfig-Authentication-GoogleAccount)) --- Authentication using a Google account.


  Note: The following fields are mutually exclusive: `google_account`, `custom_account`, `iap_credential`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #iap_credential

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

**Returns**

- ([::Google::Cloud::WebSecurityScanner::V1::ScanConfig::Authentication::IapCredential](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-ScanConfig-Authentication-IapCredential)) --- Authentication using Identity-Aware-Proxy (IAP).


  Note: The following fields are mutually exclusive: `iap_credential`, `google_account`, `custom_account`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #iap_credential=

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

**Parameter**

- **value** ([::Google::Cloud::WebSecurityScanner::V1::ScanConfig::Authentication::IapCredential](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-ScanConfig-Authentication-IapCredential)) --- Authentication using Identity-Aware-Proxy (IAP).


  Note: The following fields are mutually exclusive: `iap_credential`, `google_account`, `custom_account`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::WebSecurityScanner::V1::ScanConfig::Authentication::IapCredential](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-ScanConfig-Authentication-IapCredential)) --- Authentication using Identity-Aware-Proxy (IAP).


  Note: The following fields are mutually exclusive: `iap_credential`, `google_account`, `custom_account`. If a field in that set is populated, all other fields in the set will automatically be cleared.