0.16.0 (latest) 0.15.1 0.14.1 0.13.1 0.12.0 0.11.1 0.10.0 0.9.1 0.8.2 0.7.0 0.6.1 0.5.0 0.4.0 0.3.5 Reference documentation and code samples for the Web Security Scanner V1beta API class Google::Cloud::WebSecurityScanner::V1beta::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::V1beta::ScanConfig::Authentication::CustomAccount

**Returns**

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


  Note: The following fields are mutually exclusive: `custom_account`, `google_account`. 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::V1beta::ScanConfig::Authentication::CustomAccount

**Parameter**

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


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

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


  Note: The following fields are mutually exclusive: `custom_account`, `google_account`. 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::V1beta::ScanConfig::Authentication::GoogleAccount

**Returns**

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


  Note: The following fields are mutually exclusive: `google_account`, `custom_account`. 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::V1beta::ScanConfig::Authentication::GoogleAccount

**Parameter**

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


  Note: The following fields are mutually exclusive: `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::V1beta::ScanConfig::Authentication::GoogleAccount](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/latest/Google-Cloud-WebSecurityScanner-V1beta-ScanConfig-Authentication-GoogleAccount)) --- Authentication using a Google account.


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