Reference documentation and code samples for the Web Security Scanner V1beta API class Google::Cloud::WebSecurityScanner::V1beta::ScanConfig::Authentication.
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.
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.
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.
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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Web Security Scanner V1beta API - Class Google::Cloud::WebSecurityScanner::V1beta::ScanConfig::Authentication (v0.12.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.12.0 (latest)](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/latest/Google-Cloud-WebSecurityScanner-V1beta-ScanConfig-Authentication)\n- [0.11.1](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.11.1/Google-Cloud-WebSecurityScanner-V1beta-ScanConfig-Authentication)\n- [0.10.0](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.10.0/Google-Cloud-WebSecurityScanner-V1beta-ScanConfig-Authentication)\n- [0.9.1](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.9.1/Google-Cloud-WebSecurityScanner-V1beta-ScanConfig-Authentication)\n- [0.8.2](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.8.2/Google-Cloud-WebSecurityScanner-V1beta-ScanConfig-Authentication)\n- [0.7.0](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.7.0/Google-Cloud-WebSecurityScanner-V1beta-ScanConfig-Authentication)\n- [0.6.1](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.6.1/Google-Cloud-WebSecurityScanner-V1beta-ScanConfig-Authentication)\n- [0.5.0](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.5.0/Google-Cloud-WebSecurityScanner-V1beta-ScanConfig-Authentication)\n- [0.4.0](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.4.0/Google-Cloud-WebSecurityScanner-V1beta-ScanConfig-Authentication)\n- [0.3.5](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.3.5/Google-Cloud-WebSecurityScanner-V1beta-ScanConfig-Authentication) \nReference documentation and code samples for the Web Security Scanner V1beta API class Google::Cloud::WebSecurityScanner::V1beta::ScanConfig::Authentication.\n\nScan authentication configuration. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #custom_account\n\n def custom_account() -\u003e ::Google::Cloud::WebSecurityScanner::V1beta::ScanConfig::Authentication::CustomAccount\n\n**Returns**\n\n- ([::Google::Cloud::WebSecurityScanner::V1beta::ScanConfig::Authentication::CustomAccount](./Google-Cloud-WebSecurityScanner-V1beta-ScanConfig-Authentication-CustomAccount)) --- Authentication using a custom account.\n\n\n 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.\n\n### #custom_account=\n\n def custom_account=(value) -\u003e ::Google::Cloud::WebSecurityScanner::V1beta::ScanConfig::Authentication::CustomAccount\n\n**Parameter**\n\n- **value** ([::Google::Cloud::WebSecurityScanner::V1beta::ScanConfig::Authentication::CustomAccount](./Google-Cloud-WebSecurityScanner-V1beta-ScanConfig-Authentication-CustomAccount)) --- Authentication using a custom account.\n\n\nNote: 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. \n**Returns**\n\n- ([::Google::Cloud::WebSecurityScanner::V1beta::ScanConfig::Authentication::CustomAccount](./Google-Cloud-WebSecurityScanner-V1beta-ScanConfig-Authentication-CustomAccount)) --- Authentication using a custom account.\n\n\n 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.\n\n### #google_account\n\n def google_account() -\u003e ::Google::Cloud::WebSecurityScanner::V1beta::ScanConfig::Authentication::GoogleAccount\n\n**Returns**\n\n- ([::Google::Cloud::WebSecurityScanner::V1beta::ScanConfig::Authentication::GoogleAccount](./Google-Cloud-WebSecurityScanner-V1beta-ScanConfig-Authentication-GoogleAccount)) --- Authentication using a Google account.\n\n\n 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.\n\n### #google_account=\n\n def google_account=(value) -\u003e ::Google::Cloud::WebSecurityScanner::V1beta::ScanConfig::Authentication::GoogleAccount\n\n**Parameter**\n\n- **value** ([::Google::Cloud::WebSecurityScanner::V1beta::ScanConfig::Authentication::GoogleAccount](./Google-Cloud-WebSecurityScanner-V1beta-ScanConfig-Authentication-GoogleAccount)) --- Authentication using a Google account.\n\n\nNote: 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. \n**Returns**\n\n- ([::Google::Cloud::WebSecurityScanner::V1beta::ScanConfig::Authentication::GoogleAccount](./Google-Cloud-WebSecurityScanner-V1beta-ScanConfig-Authentication-GoogleAccount)) --- Authentication using a Google account.\n\n\n 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."]]