Reference documentation and code samples for the Web Security Scanner V1beta API class Google::Cloud::WebSecurityScanner::V1beta::CreateScanConfigRequest.
Request for the CreateScanConfig method.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#parent
defparent()->::String
Returns
(::String) — Required. The parent resource name where the scan is created, which should be a
project resource name in the format 'projects/{projectId}'.
#parent=
defparent=(value)->::String
Parameter
value (::String) — Required. The parent resource name where the scan is created, which should be a
project resource name in the format 'projects/{projectId}'.
Returns
(::String) — Required. The parent resource name where the scan is created, which should be a
project resource name in the format 'projects/{projectId}'.
[[["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::CreateScanConfigRequest (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-CreateScanConfigRequest)\n- [0.11.1](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.11.1/Google-Cloud-WebSecurityScanner-V1beta-CreateScanConfigRequest)\n- [0.10.0](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.10.0/Google-Cloud-WebSecurityScanner-V1beta-CreateScanConfigRequest)\n- [0.9.1](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.9.1/Google-Cloud-WebSecurityScanner-V1beta-CreateScanConfigRequest)\n- [0.8.2](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.8.2/Google-Cloud-WebSecurityScanner-V1beta-CreateScanConfigRequest)\n- [0.7.0](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.7.0/Google-Cloud-WebSecurityScanner-V1beta-CreateScanConfigRequest)\n- [0.6.1](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.6.1/Google-Cloud-WebSecurityScanner-V1beta-CreateScanConfigRequest)\n- [0.5.0](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.5.0/Google-Cloud-WebSecurityScanner-V1beta-CreateScanConfigRequest)\n- [0.4.0](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.4.0/Google-Cloud-WebSecurityScanner-V1beta-CreateScanConfigRequest)\n- [0.3.5](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.3.5/Google-Cloud-WebSecurityScanner-V1beta-CreateScanConfigRequest) \nReference documentation and code samples for the Web Security Scanner V1beta API class Google::Cloud::WebSecurityScanner::V1beta::CreateScanConfigRequest.\n\nRequest for the `CreateScanConfig` method. \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### #parent\n\n def parent() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The parent resource name where the scan is created, which should be a project resource name in the format 'projects/{projectId}'.\n\n### #parent=\n\n def parent=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The parent resource name where the scan is created, which should be a project resource name in the format 'projects/{projectId}'. \n**Returns**\n\n- (::String) --- Required. The parent resource name where the scan is created, which should be a project resource name in the format 'projects/{projectId}'.\n\n### #scan_config\n\n def scan_config() -\u003e ::Google::Cloud::WebSecurityScanner::V1beta::ScanConfig\n\n**Returns**\n\n- ([::Google::Cloud::WebSecurityScanner::V1beta::ScanConfig](./Google-Cloud-WebSecurityScanner-V1beta-ScanConfig)) --- Required. The ScanConfig to be created.\n\n### #scan_config=\n\n def scan_config=(value) -\u003e ::Google::Cloud::WebSecurityScanner::V1beta::ScanConfig\n\n**Parameter**\n\n- **value** ([::Google::Cloud::WebSecurityScanner::V1beta::ScanConfig](./Google-Cloud-WebSecurityScanner-V1beta-ScanConfig)) --- Required. The ScanConfig to be created. \n**Returns**\n\n- ([::Google::Cloud::WebSecurityScanner::V1beta::ScanConfig](./Google-Cloud-WebSecurityScanner-V1beta-ScanConfig)) --- Required. The ScanConfig to be created."]]